private final class RegularImmutableTable.CellSet extends IndexedImmutableSet<Table.Cell<R,C,V>>
ImmutableSet.Builder<E>, ImmutableSet.CachingAsList<E>, ImmutableSet.Indexed<E>
MAX_TABLE_SIZE, SPLITERATOR_CHARACTERISTICS
Modifier | Constructor and Description |
---|---|
private |
CellSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.Object object) |
(package private) Table.Cell<R,C,V> |
get(int index) |
(package private) boolean |
isPartialView()
Returns
true if this immutable collection's implementation contains references to
user-created objects that aren't accessible via this collection's methods. |
int |
size() |
copyIntoArray, createAsList, forEach, iterator, spliterator
asList
builder, builderWithExpectedSize, chooseTableSize, copyOf, copyOf, copyOf, copyOf, equals, hashCode, isHashCodeFast, of, of, of, of, of, of, of, toImmutableSet, writeReplace
add, addAll, clear, internalArray, internalArrayEnd, internalArrayStart, remove, removeAll, removeIf, retainAll, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public int size()
size
in interface java.util.Collection<Table.Cell<R,C,V>>
size
in interface java.util.Set<Table.Cell<R,C,V>>
size
in class java.util.AbstractCollection<Table.Cell<R,C,V>>
Table.Cell<R,C,V> get(int index)
get
in class IndexedImmutableSet<Table.Cell<R,C,V>>
public boolean contains(@CheckForNull java.lang.Object object)
contains
in interface java.util.Collection<Table.Cell<R,C,V>>
contains
in interface java.util.Set<Table.Cell<R,C,V>>
contains
in class ImmutableCollection<Table.Cell<R,C,V>>
boolean isPartialView()
ImmutableCollection
true
if this immutable collection's implementation contains references to
user-created objects that aren't accessible via this collection's methods. This is generally
used to determine whether copyOf
implementations should make an explicit copy to avoid
memory leaks.isPartialView
in class ImmutableCollection<Table.Cell<R,C,V>>