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
0154d87a
Commit
0154d87a
authored
Jan 20, 2018
by
Rohit Prasad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add setter method to set quantity value
parent
6fbbc447
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/Order.java
src/Order.java
+2
-0
No files found.
src/Order.java
View file @
0154d87a
...
@@ -31,6 +31,8 @@ public abstract class Order {
...
@@ -31,6 +31,8 @@ public abstract class Order {
Customer
getCustomer
()
{
return
c
;
}
Customer
getCustomer
()
{
return
c
;
}
Stock
getStock
()
{
return
stock
;
}
Stock
getStock
()
{
return
stock
;
}
void
setQty
(
int
qty
)
{
this
.
qty
=
qty
;
}
@Override
@Override
public
boolean
equals
(
Object
o
)
{
public
boolean
equals
(
Object
o
)
{
...
...
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