org.wymiwyg.commons.util.collections
Interface BidiMap<K,V>

All Superinterfaces:
Map<K,V>
All Known Implementing Classes:
BidiMapImpl

public interface BidiMap<K,V>
extends Map<K,V>

Author:
reto

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 K getKey(V value)
           
 BidiMap<V,K> inverse()
          returns an inverted version of this map, the inverted map reference to the same entries, subsequent changes to either of the map affect both.
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

getKey

K getKey(V value)

inverse

BidiMap<V,K> inverse()
returns an inverted version of this map, the inverted map reference to the same entries, subsequent changes to either of the map affect both.

Returns:
an


Copyright © 2011. All Rights Reserved.