Package eu.bandm.sig.adlib
Class BoundedList<A>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<A>
eu.bandm.sig.adlib.BoundedList<A>
- All Implemented Interfaces:
ArrayLike<A>,Iterable<A>,Collection<A>,List<A>
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractList
add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
BoundedList
public BoundedList(int bound)
-
-
Method Details
-
get
-
size
public int size()- Specified by:
sizein interfaceCollection<A>- Specified by:
sizein interfaceList<A>- Specified by:
sizein classAbstractCollection<A>
-
length
public int length() -
clear
public void clear()- Specified by:
clearin interfaceCollection<A>- Specified by:
clearin interfaceList<A>- Overrides:
clearin classAbstractList<A>
-
add
- Specified by:
addin interfaceCollection<A>- Specified by:
addin interfaceList<A>- Overrides:
addin classAbstractList<A>
-
addAll
- Specified by:
addAllin interfaceCollection<A>- Specified by:
addAllin interfaceList<A>- Overrides:
addAllin classAbstractCollection<A>
-