private static final class ImmutableSetMultimap.EntrySet<K,V> extends ImmutableSet<java.util.Map.Entry<K,V>>
ImmutableSet.Builder<E>, ImmutableSet.CachingAsList<E>, ImmutableSet.Indexed<E>| Modifier and Type | Field and Description |
|---|---|
private ImmutableSetMultimap<K,V> |
multimap |
MAX_TABLE_SIZE, SPLITERATOR_CHARACTERISTICS| Constructor and Description |
|---|
EntrySet(ImmutableSetMultimap<K,V> multimap) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(java.lang.Object object) |
(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<java.util.Map.Entry<K,V>> |
iterator()
Returns an unmodifiable iterator across the elements in this collection.
|
int |
size() |
builder, builderWithExpectedSize, chooseTableSize, copyOf, copyOf, copyOf, copyOf, equals, hashCode, isHashCodeFast, of, of, of, of, of, of, of, toImmutableSet, writeReplaceadd, addAll, asList, clear, copyIntoArray, internalArray, internalArrayEnd, internalArrayStart, remove, removeAll, removeIf, retainAll, spliterator, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitprivate final transient ImmutableSetMultimap<K,V> multimap
EntrySet(ImmutableSetMultimap<K,V> multimap)
public boolean contains(@CheckForNull
java.lang.Object object)
public int size()
public UnmodifiableIterator<java.util.Map.Entry<K,V>> iterator()
ImmutableCollectioniterator in interface java.lang.Iterable<java.util.Map.Entry<K,V>>iterator in interface java.util.Collection<java.util.Map.Entry<K,V>>iterator in interface java.util.Set<java.util.Map.Entry<K,V>>iterator in class ImmutableSet<java.util.Map.Entry<K,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<java.util.Map.Entry<K,V>>