abstract static class ImmutableSet.Indexed<E> extends ImmutableSet<E>
ImmutableSet.Builder<E>, ImmutableSet.Indexed<E>ImmutableCollection.ArrayBasedBuilder<E>MAX_TABLE_SIZE| Constructor and Description |
|---|
Indexed() |
| Modifier and Type | Method and Description |
|---|---|
(package private) ImmutableList<E> |
createAsList() |
(package private) abstract E |
get(int index) |
UnmodifiableIterator<E> |
iterator()
Returns an unmodifiable iterator across the elements in this collection.
|
asList, builder, chooseTableSize, copyOf, copyOf, copyOf, copyOf, equals, hashCode, isHashCodeFast, of, of, of, of, of, of, of, writeReplaceadd, addAll, clear, contains, copyIntoArray, isPartialView, remove, removeAll, retainAll, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitabstract E get(int index)
public UnmodifiableIterator<E> iterator()
ImmutableCollectionImmutableList<E> createAsList()
createAsList in class ImmutableSet<E>