Package com.google.common.collect
Class AbstractBiMap.Inverse<K,V>
java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingMap<K,V>
com.google.common.collect.AbstractBiMap<K,V>
com.google.common.collect.AbstractBiMap.Inverse<K,V>
- All Implemented Interfaces:
BiMap<K,
,V> Serializable
,Map<K,
V>
- Enclosing class:
AbstractBiMap<K,
V>
The inverse of any other
AbstractBiMap
subclass.-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.collect.AbstractBiMap
AbstractBiMap.BiMapEntry, AbstractBiMap.Inverse<K,
V> Nested classes/interfaces inherited from class com.google.common.collect.ForwardingMap
ForwardingMap.StandardEntrySet, ForwardingMap.StandardKeySet, ForwardingMap.StandardValues
-
Field Summary
FieldsFields inherited from class com.google.common.collect.AbstractBiMap
inverse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) K
Returns its input, or throws an exception if this is not a valid key.(package private) V
checkValue
(V value) Returns its input, or throws an exception if this is not a valid value.private void
readObject
(ObjectInputStream stream) (package private) Object
private void
writeObject
(ObjectOutputStream stream) Methods inherited from class com.google.common.collect.AbstractBiMap
clear, containsValue, delegate, entrySet, entrySetIterator, forcePut, inverse, keySet, makeInverse, put, putAll, remove, replaceAll, setDelegates, setInverse, values
Methods inherited from class com.google.common.collect.ForwardingMap
containsKey, equals, get, hashCode, isEmpty, size, standardClear, standardContainsKey, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToString
Methods inherited from class com.google.common.collect.ForwardingObject
toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove, replace, replace, size
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
Inverse
-
-
Method Details
-
checkKey
Description copied from class:AbstractBiMap
Returns its input, or throws an exception if this is not a valid key.- Overrides:
checkKey
in classAbstractBiMap<K,
V>
-
checkValue
Description copied from class:AbstractBiMap
Returns its input, or throws an exception if this is not a valid value.- Overrides:
checkValue
in classAbstractBiMap<K,
V>
-
writeObject
- Throws:
IOException
-
readObject
- Throws:
IOException
ClassNotFoundException
-
readResolve
Object readResolve()
-