Package com.google.common.collect
Class RegularImmutableBiMap.Inverse.InverseEntrySet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- com.google.common.collect.ImmutableCollection<E>
-
- com.google.common.collect.ImmutableSet<java.util.Map.Entry<K,V>>
-
- com.google.common.collect.ImmutableMapEntrySet<V,K>
-
- com.google.common.collect.RegularImmutableBiMap.Inverse.InverseEntrySet
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Iterable<java.util.Map.Entry<V,K>>,java.util.Collection<java.util.Map.Entry<V,K>>,java.util.Set<java.util.Map.Entry<V,K>>
- Enclosing class:
- RegularImmutableBiMap.Inverse
final class RegularImmutableBiMap.Inverse.InverseEntrySet extends ImmutableMapEntrySet<V,K>
-
-
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.Indexed<E>
-
-
Field Summary
-
Fields inherited from class com.google.common.collect.ImmutableSet
HASH_FLOODING_FPP, MAX_RUN_MULTIPLIER, MAX_TABLE_SIZE, SPLITERATOR_CHARACTERISTICS
-
-
Constructor Summary
Constructors Constructor Description InverseEntrySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) ImmutableList<java.util.Map.Entry<V,K>>createAsList()voidforEach(java.util.function.Consumer<? super java.util.Map.Entry<V,K>> action)inthashCode()(package private) booleanisHashCodeFast()Returnstrueif thehashCode()method runs quickly.UnmodifiableIterator<java.util.Map.Entry<V,K>>iterator()Returns an unmodifiable iterator across the elements in this collection.(package private) ImmutableMap<V,K>map()-
Methods inherited from class com.google.common.collect.ImmutableMapEntrySet
contains, isPartialView, size, writeReplace
-
Methods inherited from class com.google.common.collect.ImmutableSet
asList, builder, builderWithExpectedSize, chooseTableSize, copyOf, copyOf, copyOf, copyOf, equals, hashFloodingDetected, of, of, of, of, of, of, of, rebuildHashTable, toImmutableSet
-
Methods inherited from class com.google.common.collect.ImmutableCollection
add, addAll, clear, copyIntoArray, internalArray, internalArrayEnd, internalArrayStart, remove, removeAll, removeIf, retainAll, spliterator, toArray, toArray
-
-
-
-
Method Detail
-
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
public UnmodifiableIterator<java.util.Map.Entry<V,K>> iterator()
Description copied from class:ImmutableCollectionReturns an unmodifiable iterator across the elements in this collection.- Specified by:
iteratorin interfacejava.util.Collection<java.util.Map.Entry<V,K>>- Specified by:
iteratorin interfacejava.lang.Iterable<java.util.Map.Entry<V,K>>- Specified by:
iteratorin interfacejava.util.Set<java.util.Map.Entry<V,K>>- Specified by:
iteratorin classImmutableSet<java.util.Map.Entry<V,K>>
-
createAsList
ImmutableList<java.util.Map.Entry<V,K>> createAsList()
- Overrides:
createAsListin classImmutableSet<java.util.Map.Entry<V,K>>
-
-