public class ReadOnlyList<E>
extends java.util.AbstractList<E>
Constructor and Description |
---|
ReadOnlyList(java.util.Collection<E> initial)
Initializes a new instance of the
ReadOnlyList class. |
Modifier and Type | Method and Description |
---|---|
E |
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
public ReadOnlyList(java.util.Collection<E> initial)
ReadOnlyList
class.public E get(int index)