Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CS682-HW1-OrderMatching
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rohit Prasad
CS682-HW1-OrderMatching
Commits
eee8b750
You need to sign in or sign up before continuing.
Commit
eee8b750
authored
Jan 20, 2018
by
Rohit Prasad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make class variables private
parent
d4890a22
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/Order.java
src/Order.java
+6
-6
No files found.
src/Order.java
View file @
eee8b750
...
@@ -4,12 +4,12 @@
...
@@ -4,12 +4,12 @@
* for it.
* for it.
*/
*/
public
abstract
class
Order
{
public
abstract
class
Order
{
int
qty
;
private
int
qty
;
float
price
;
private
float
price
;
int
time
;
private
int
time
;
String
type
;
private
String
type
;
Customer
c
;
private
Customer
c
;
Stock
stock
;
private
Stock
stock
;
Order
(
int
time
,
String
type
,
Customer
c
,
Stock
stock
,
int
qty
,
float
price
)
{
Order
(
int
time
,
String
type
,
Customer
c
,
Stock
stock
,
int
qty
,
float
price
)
{
this
.
qty
=
qty
;
this
.
qty
=
qty
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment