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, writeReplace
add, addAll, clear, contains, copyIntoArray, isPartialView, remove, removeAll, retainAll, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
abstract E get(int index)
public UnmodifiableIterator<E> iterator()
ImmutableCollection
ImmutableList<E> createAsList()
createAsList
in class ImmutableSet<E>