org.jgroups.util
public class BoundedList extends List
Version: $Id: BoundedList.java,v 1.2 2004/07/26 15:23:26 belaban Exp $
Constructor Summary | |
---|---|
BoundedList() | |
BoundedList(int size) |
Method Summary | |
---|---|
void | add(Object obj)
Adds an element at the tail. |
void | addAtHead(Object obj)
Adds an object to the head, removes an element from the tail if capacity has been exceeded |
Parameters: obj The object to be added
Parameters: obj The object to be added