public class BoundedList<E>
extends java.util.AbstractList<E>
| Constructor and Description |
|---|
BoundedList(java.util.List<E> list,
E leftBoundary,
E rightBoundary) |
| Modifier and Type | Method and Description |
|---|---|
E |
get(int index)
Returns the object at the given index, provided the index is between 0
(inclusive) and size() (exclusive).
|
int |
size() |
java.util.List<E> |
subList(int fromIndex,
int toIndex) |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, setaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic E get(int index)
public int size()