|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jds.collection.RingBufferQueue
Queue - collection with FIFO behavior; for use with book Classic Data Structures in Java by Timothy A Budd, published by Addison-Wesley, 2001.
Collection
, Serialized FormMethod Summary | |
void |
addLast(java.lang.Object val)
add a new value to end of the collection |
java.util.Enumeration |
elements()
Yields enumerator for collection |
java.lang.Object |
getFirst()
access the first value in collection |
boolean |
isEmpty()
Determines whether the collection is empty |
void |
removeFirst()
remove first value in collection |
int |
size()
Determines number of elements in collection |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public boolean isEmpty()
public int size()
public java.util.Enumeration elements()
Enumeration
that will yield the elements of the collectionEnumeration
public void addLast(java.lang.Object val)
value
- element to be inserted into collectionpublic java.lang.Object getFirst()
public void removeFirst()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |