util
Class PerformanceMeter.BoundList<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<T>
util.PerformanceMeter.BoundList<T>
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<T>, Collection<T>, List<T>, RandomAccess
- Enclosing class:
- PerformanceMeter
protected static class PerformanceMeter.BoundList<T>
- extends ArrayList<T>
Bound lists do not grow above a certain size, they lose elemtns at their
head, but retain the very first entry.
- See Also:
- Serialized Form
|
Method Summary |
boolean |
add(T what)
|
| Methods inherited from class java.util.ArrayList |
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
DEFSIZE
private static final int DEFSIZE
- See Also:
- Constant Field Values
bound
private int bound
PerformanceMeter.BoundList
public PerformanceMeter.BoundList()
PerformanceMeter.BoundList
public PerformanceMeter.BoundList(int maxsize)
add
public boolean add(T what)
- Specified by:
add in interface Collection<T>- Specified by:
add in interface List<T>- Overrides:
add in class ArrayList<T>