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) KReturns its input, or throws an exception if this is not a valid key.(package private) VcheckValue(V value) Returns its input, or throws an exception if this is not a valid value.private voidreadObject(ObjectInputStream stream) (package private) Objectprivate voidwriteObject(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, valuesMethods inherited from class com.google.common.collect.ForwardingMap
containsKey, equals, get, hashCode, isEmpty, size, standardClear, standardContainsKey, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToStringMethods inherited from class com.google.common.collect.ForwardingObject
toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:AbstractBiMapReturns its input, or throws an exception if this is not a valid key.- Overrides:
checkKeyin classAbstractBiMap<K,V>
-
checkValue
Description copied from class:AbstractBiMapReturns its input, or throws an exception if this is not a valid value.- Overrides:
checkValuein classAbstractBiMap<K,V>
-
writeObject
- Throws:
IOException
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
readResolve
Object readResolve()
-