public class BoundedList extends List
Constructor and Description |
---|
BoundedList() |
BoundedList(int size) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.Object obj)
Adds an element at the tail.
|
void |
addAtHead(java.lang.Object obj)
Adds an object to the head, removes an element from the tail if capacity has been exceeded
|
addAll, clone, contains, copy, dump, elements, getContents, main, peek, peekAtHead, readExternal, remove, removeAll, removeElement, removeFromHead, size, toString, writeExternal
Copyright ? 1998-2006 Bela Ban. All Rights Reserved.