|
Jedit 4.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.bsu.cs.algorithm.Queue
public class Queue
An implementation of a Queue of integers.
Constructor Summary | |
---|---|
Queue()
Constructs an empty Queue. |
Method Summary | |
---|---|
void |
add(int newInt)
Adds an integer to the end of the Queue. |
int |
remove()
Removes an integer from the beginning of the Queue and returns it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Queue()
Method Detail |
---|
public void add(int newInt)
public int remove()
|
Jedit 4.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |