Package gaiasky.util

Class TwoWayMap<K,V>

java.lang.Object
gaiasky.util.TwoWayMap<K,V>
Type Parameters:
K - Type of first object.
V - Type of second object.

public class TwoWayMap<K,V> extends Object
A map that allows forward and backward referencing. It is implemented by wrapping two hash maps and keeping them up to date.