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
95355cce
Commit
95355cce
authored
Jan 20, 2018
by
Rohit Prasad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize time and type in constructor
parent
36d65426
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/Trade.java
src/Trade.java
+3
-1
No files found.
src/Trade.java
View file @
95355cce
...
@@ -5,10 +5,12 @@ public abstract class Trade {
...
@@ -5,10 +5,12 @@ public abstract class Trade {
String
type
;
String
type
;
Customer
c
;
Customer
c
;
Trade
(
int
qty
,
float
price
,
Customer
c
)
{
Trade
(
int
time
,
String
type
,
Customer
c
,
int
qty
,
float
price
)
{
this
.
qty
=
qty
;
this
.
qty
=
qty
;
this
.
price
=
price
;
this
.
price
=
price
;
this
.
c
=
c
;
this
.
c
=
c
;
this
.
time
=
time
;
this
.
type
=
type
;
}
}
int
getQty
()
{
return
qty
;
}
int
getQty
()
{
return
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