static class AbstractBiMap.Inverse<K,V> extends AbstractBiMap<K,V>
AbstractBiMap subclass.AbstractBiMap.BiMapEntry, AbstractBiMap.Inverse<K,V>ForwardingMap.StandardEntrySet, ForwardingMap.StandardKeySet, ForwardingMap.StandardValues| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
inverse| Constructor and Description |
|---|
Inverse(java.util.Map<K,V> backward,
AbstractBiMap<V,K> forward) |
| Modifier and Type | Method and Description |
|---|---|
(package private) K |
checkKey(K key)
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(java.io.ObjectInputStream stream) |
(package private) java.lang.Object |
readResolve() |
private void |
writeObject(java.io.ObjectOutputStream stream) |
clear, containsValue, delegate, entrySet, entrySetIterator, forcePut, inverse, keySet, makeInverse, put, putAll, remove, replaceAll, setDelegates, setInverse, valuescontainsKey, equals, get, hashCode, isEmpty, size, standardClear, standardContainsKey, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToStringtoStringprivate static final long serialVersionUID
Inverse(java.util.Map<K,V> backward, AbstractBiMap<V,K> forward)
K checkKey(K key)
AbstractBiMapcheckKey in class AbstractBiMap<K,V>V checkValue(V value)
AbstractBiMapcheckValue in class AbstractBiMap<K,V>private void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
java.io.IOExceptionprivate void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionjava.lang.Object readResolve()