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
-
Method Summary
Methods inherited from class java.util.AbstractList
add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
Methods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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:
size
in interfaceCollection<A>
- Specified by:
size
in interfaceList<A>
- Specified by:
size
in classAbstractCollection<A>
-
length
public int length() -
clear
public void clear()- Specified by:
clear
in interfaceCollection<A>
- Specified by:
clear
in interfaceList<A>
- Overrides:
clear
in classAbstractList<A>
-
add
- Specified by:
add
in interfaceCollection<A>
- Specified by:
add
in interfaceList<A>
- Overrides:
add
in classAbstractList<A>
-
addAll
- Specified by:
addAll
in interfaceCollection<A>
- Specified by:
addAll
in interfaceList<A>
- Overrides:
addAll
in classAbstractCollection<A>
-