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>
-
Nested classes/interfaces inherited from class com.google.common.collect.ImmutableCollection
ImmutableCollection.ArrayBasedBuilder<E>
-
-
Field Summary
-
Fields inherited from class com.google.common.collect.ImmutableSet
MAX_TABLE_SIZE
-
-
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()
int
hashCode()
(package private) boolean
isHashCodeFast()
Returnstrue
if 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, chooseTableSize, copyOf, copyOf, copyOf, copyOf, equals, of, of, of, of, of, of, of
-
Methods inherited from class com.google.common.collect.ImmutableCollection
add, addAll, clear, copyIntoArray, remove, removeAll, retainAll, toArray, toArray
-
-
-
-
Method Detail
-
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
public UnmodifiableIterator<java.util.Map.Entry<V,K>> iterator()
Description copied from class:ImmutableCollection
Returns an unmodifiable iterator across the elements in this collection.- Specified by:
iterator
in interfacejava.util.Collection<java.util.Map.Entry<V,K>>
- Specified by:
iterator
in interfacejava.lang.Iterable<java.util.Map.Entry<V,K>>
- Specified by:
iterator
in interfacejava.util.Set<java.util.Map.Entry<V,K>>
- Specified by:
iterator
in classImmutableSet<java.util.Map.Entry<V,K>>
-
createAsList
ImmutableList<java.util.Map.Entry<V,K>> createAsList()
- Overrides:
createAsList
in classImmutableSet<java.util.Map.Entry<V,K>>
-
-