Skip to content
Snippets Groups Projects
Commit 6b62b6ac authored by Royden Luckey's avatar Royden Luckey
Browse files

Update Javadoc from addWork() to add() for FIFOWorkList and LIFOWorkList

parent 481472d6
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ package cse332.interfaces.worklists;
/**
* A subclass of WorkList that stores its elements in FIFO order.
* All subclasses of this class implicitly agree to the contract to
* be a FIFO queue. That is, addWork() must add to the "end" and
* be a FIFO queue. That is, add() must add to the "end" and
* next() must remove from the "beginning".
*
* @author Adam Blank
......
......@@ -3,7 +3,7 @@ package cse332.interfaces.worklists;
/**
* A subclass of WorkList that stores its elements in LIFO order.
* All subclasses of this class implicitly agree to the contract to
* be a LIFO queue. That is, addWork() must add to the "top" and
* be a LIFO queue. That is, add() must add to the "top" and
* next() must remove from the "top".
*
* @author Adam Blank
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment