E - type of the elementspublic abstract class AbstractImmutableList<E> extends java.lang.Object implements ImmutableList<E>
| Constructor and Description |
|---|
AbstractImmutableList() |
| Modifier and Type | Method and Description |
|---|---|
E |
get(long index)
Returns the element at the specified position in this list.
|
java.util.Iterator<E> |
iterator() |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitget, sizepublic java.util.Iterator<E> iterator()
iterator in interface java.lang.Iterable<E>public java.lang.String toString()
toString in class java.lang.Objectpublic E get(long index)
ImmutableListget in interface ImmutableList<E>index - index of the element to return. Allows access of elements at
indices fitting in a long.