public class IndexedList<T> extends AbstractList<T>
modCount
Constructor and Description |
---|
IndexedList(Indexed<T> base) |
Modifier and Type | Method and Description |
---|---|
static <T> IndexedList<T> |
from(Indexed<T> indexed) |
T |
get(int index) |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public static <T> IndexedList<T> from(Indexed<T> indexed)
public T get(int index)
public int size()
size
in interface Collection<T>
size
in interface List<T>
size
in class AbstractCollection<T>
Copyright © 2011–2017. All rights reserved.