Package com.google.common.collect
Class ImmutableSetMultimap.EntrySet<K,V>
java.lang.Object
java.util.AbstractCollection<E>
com.google.common.collect.ImmutableCollection<E>
com.google.common.collect.ImmutableSet<Map.Entry<K,V>>
com.google.common.collect.ImmutableSetMultimap.EntrySet<K,V>
- All Implemented Interfaces:
Serializable,Iterable<Map.Entry<K,,V>> Collection<Map.Entry<K,,V>> Set<Map.Entry<K,V>>
- Enclosing class:
- ImmutableSetMultimap<K,
V>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.collect.ImmutableSet
ImmutableSet.Builder<E>, ImmutableSet.CachingAsList<E>, ImmutableSet.Indexed<E> -
Field Summary
FieldsFields inherited from class com.google.common.collect.ImmutableSet
MAX_TABLE_SIZE, SPLITERATOR_CHARACTERISTICS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean(package private) booleanReturnstrueif this immutable collection's implementation contains references to user-created objects that aren't accessible via this collection's methods.iterator()Returns an unmodifiable iterator across the elements in this collection.intsize()Methods inherited from class com.google.common.collect.ImmutableSet
builder, builderWithExpectedSize, chooseTableSize, copyOf, copyOf, copyOf, copyOf, equals, hashCode, isHashCodeFast, of, of, of, of, of, of, of, toImmutableSet, writeReplaceMethods inherited from class com.google.common.collect.ImmutableCollection
add, addAll, asList, clear, copyIntoArray, internalArray, internalArrayEnd, internalArrayStart, remove, removeAll, removeIf, retainAll, spliterator, toArray, toArrayMethods inherited from class java.util.AbstractCollection
containsAll, isEmpty, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Field Details
-
multimap
-
-
Constructor Details
-
EntrySet
EntrySet(ImmutableSetMultimap<K, V> multimap)
-
-
Method Details
-
contains
-
size
public int size() -
iterator
Description copied from class:ImmutableCollectionReturns an unmodifiable iterator across the elements in this collection. -
isPartialView
boolean isPartialView()Description copied from class:ImmutableCollectionReturnstrueif 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 whethercopyOfimplementations should make an explicit copy to avoid memory leaks.- Specified by:
isPartialViewin classImmutableCollection<Map.Entry<K,V>>
-