|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.jku.ssw.Queue
public abstract class Queue
A queue of characters. Queues typically, but do not necessarily, order elements in a FIFO (first-in-first-out) manner.
Constructor Summary | |
---|---|
Queue()
|
Method Summary | |
---|---|
abstract char |
get()
Retrieves and removes the head of this queue, Exception if this queue is empty. |
abstract Iterator |
iterator()
Returns an iterator of the values in this queue. |
abstract void |
put(char value)
Inserts the value into this queue. |
abstract int |
size()
Returns the number of values in this queue. |
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 abstract void put(char value) throws java.lang.Exception
java.lang.Exception
public abstract char get() throws java.lang.Exception
java.lang.Exception
public abstract int size()
public abstract Iterator iterator()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |