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
Graph
0a5d53d06c5a071b9553091ea6ef38c943ff8c34
Switch branch/tag
You can move around the graph by using the arrow keys.
Begin with the selected commit
Created with Raphaël 2.2.0
22
Jan
21
20
19
Update document with modified README.md content
master
master
Fix bug for EOF when input is provided as file
Add info about compiling and java version
Add input format
Add document for design and algorithm
Add information about JUnit tests
Update readme with design and algorithm details
Execution code for the program
Implement findMatchedOrders which will handle buy and sell orders
Sample input for testing
Add tests to validate orders
Add tests to check find orders logic
Add method to find sell orders for a buy order
Add toString() method
Add tests for buySellOrderMatch() method
Modify findBuyOrders() to take care of the case when buy order has more stock than the sell order
Implement constructor to create object from its own instance
Implement hashCode method
Add constructor to create object with argument of class Order
Implement method to find all buy orders for a sell order
Add setter method to set quantity value
Use LinkedList instead of ArrayList
Make class variables private
Implement OrderMatching class
Change test class name
Change class name
Add tests for equality check
Implement equals method
Add Stock class tests
Add stock attribute
Implement Stock class
Add tests for SellTrade class
Add tests for BuyTrade class
Add classpath for JUnit
Add getter method to get customer id
Implement SellTrade class
Implement BuyTrade
Initialize time and type in constructor
Add Customer attribute to Trade class
Implement Customer class