private final class RegularImmutableTable.CellSet extends ImmutableSet<Table.Cell<R,C,V>>
ImmutableSet.Builder<E>ImmutableCollection.ArrayBasedBuilder<E>MAX_TABLE_SIZE| Modifier | Constructor and Description |
|---|---|
private |
CellSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(java.lang.Object object) |
(package private) ImmutableList<Table.Cell<R,C,V>> |
createAsList() |
(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. |
UnmodifiableIterator<Table.Cell<R,C,V>> |
iterator()
Returns an unmodifiable iterator across the elements in this collection.
|
int |
size() |
builder, chooseTableSize, copyOf, copyOf, copyOf, copyOf, equals, hashCode, isHashCodeFast, of, of, of, of, of, of, of, writeReplaceadd, addAll, asList, clear, copyIntoArray, remove, removeAll, retainAll, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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>>public UnmodifiableIterator<Table.Cell<R,C,V>> iterator()
ImmutableCollectioniterator in interface java.lang.Iterable<Table.Cell<R,C,V>>iterator in interface java.util.Collection<Table.Cell<R,C,V>>iterator in interface java.util.Set<Table.Cell<R,C,V>>iterator in class ImmutableSet<Table.Cell<R,C,V>>ImmutableList<Table.Cell<R,C,V>> createAsList()
createAsList in class ImmutableCollection<Table.Cell<R,C,V>>public boolean contains(@Nullable
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()
ImmutableCollectiontrue 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>>