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>> void
int
hashCode()
(package private) boolean
Returnstrue
if thehashCode()
method runs quickly.iterator()
Returns an unmodifiable iterator across the elements in this collection.(package private) ImmutableMap
<V, K> map()
(package private) Object
Methods inherited from class com.google.common.collect.ImmutableMapEntrySet
contains, isPartialView, size
Methods inherited from class com.google.common.collect.ImmutableSet.CachingAsList
asList
Methods inherited from class com.google.common.collect.ImmutableSet
builder, builderWithExpectedSize, chooseTableSize, copyOf, copyOf, copyOf, copyOf, equals, of, of, of, of, of, of, of, toImmutableSet
Methods inherited from class com.google.common.collect.ImmutableCollection
add, addAll, clear, copyIntoArray, internalArray, internalArrayEnd, internalArrayStart, remove, removeAll, removeIf, retainAll, spliterator, toArray, toArray
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
InverseEntrySet
InverseEntrySet()
-
-
Method Details
-
map
ImmutableMap<V,K> map()- Specified by:
map
in classImmutableMapEntrySet<V,
K>
-
isHashCodeFast
boolean isHashCodeFast()Description copied from class:ImmutableSet
Returnstrue
if thehashCode()
method runs quickly.- Overrides:
isHashCodeFast
in classImmutableMapEntrySet<V,
K>
-
hashCode
public int hashCode() -
iterator
Description copied from class:ImmutableCollection
Returns an unmodifiable iterator across the elements in this collection. -
forEach
-
createAsList
ImmutableList<Map.Entry<V,K>> createAsList()- Overrides:
createAsList
in classImmutableSet.CachingAsList<Map.Entry<V,
K>>
-
writeReplace
Object writeReplace()- Overrides:
writeReplace
in classImmutableMapEntrySet<V,
K>
-