Example usage for Java org.apache.commons.collections4 BidiMap fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | containsKey(Object key) Returns true if this map contains a mapping for the specified key. |
boolean | containsValue(Object value) Returns true if this map maps one or more keys to the specified value. |
V | get(Object key) Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key. |
K | getKey(Object value) Gets the key that is currently mapped to the specified value. |
boolean | isEmpty() Returns true if this map contains no key-value mappings. |
V | put(K key, V value) Puts the key-value pair into the map, replacing any previous pair. |
V | remove(Object key) Removes the mapping for a key from this map if it is present (optional operation). |
K | removeValue(Object value) Removes the key-value pair that is currently mapped to the specified value (optional operation). |
int | size() Returns the number of key-value mappings in this map. |