Package com.google.common.collect
Class RegularImmutableBiMap.Inverse.InverseEntrySet
java.lang.Object
java.util.AbstractCollection<Map.Entry<V,K>>
com.google.common.collect.ImmutableCollection<Map.Entry<V,K>>
com.google.common.collect.ImmutableSet<Map.Entry<V,K>>
com.google.common.collect.ImmutableSet.CachingAsList<Map.Entry<V,K>>
com.google.common.collect.ImmutableMapEntrySet<V,K>
com.google.common.collect.RegularImmutableBiMap.Inverse.InverseEntrySet
- All Implemented Interfaces:
Serializable,Iterable<Map.Entry<V,,K>> Collection<Map.Entry<V,,K>> Set<Map.Entry<V,K>>
- Enclosing class:
RegularImmutableBiMap.Inverse
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.collect.ImmutableMapEntrySet
ImmutableMapEntrySet.RegularEntrySet<K,V> Nested classes/interfaces inherited from class com.google.common.collect.ImmutableSet
ImmutableSet.Builder<E>, ImmutableSet.CachingAsList<E>, ImmutableSet.Indexed<E> -
Field Summary
Fields inherited from class com.google.common.collect.ImmutableSet
MAX_TABLE_SIZE, SPLITERATOR_CHARACTERISTICS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) ImmutableList<Map.Entry<V, K>> voidinthashCode()(package private) booleanReturnstrueif thehashCode()method runs quickly.iterator()Returns an unmodifiable iterator across the elements in this collection.(package private) ImmutableMap<V, K> map()(package private) ObjectMethods inherited from class com.google.common.collect.ImmutableMapEntrySet
contains, isPartialView, sizeMethods inherited from class com.google.common.collect.ImmutableSet.CachingAsList
asListMethods inherited from class com.google.common.collect.ImmutableSet
builder, builderWithExpectedSize, chooseTableSize, copyOf, copyOf, copyOf, copyOf, equals, of, of, of, of, of, of, of, toImmutableSetMethods inherited from class com.google.common.collect.ImmutableCollection
add, addAll, 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
-
Constructor Details
-
InverseEntrySet
InverseEntrySet()
-
-
Method Details
-
map
ImmutableMap<V,K> map()- Specified by:
mapin classImmutableMapEntrySet<V,K>
-
isHashCodeFast
boolean isHashCodeFast()Description copied from class:ImmutableSetReturnstrueif thehashCode()method runs quickly.- Overrides:
isHashCodeFastin classImmutableMapEntrySet<V,K>
-
hashCode
public int hashCode() -
iterator
Description copied from class:ImmutableCollectionReturns an unmodifiable iterator across the elements in this collection. -
forEach
-
createAsList
ImmutableList<Map.Entry<V,K>> createAsList()- Overrides:
createAsListin classImmutableSet.CachingAsList<Map.Entry<V,K>>
-
writeReplace
Object writeReplace()- Overrides:
writeReplacein classImmutableMapEntrySet<V,K>
-