com.planet_ink.coffee_mud.core.collections
Class CrossRefTreeMap<T,K>

java.lang.Object
  extended by com.planet_ink.coffee_mud.core.collections.CrossRefTreeMap<T,K>

public class CrossRefTreeMap<T,K>
extends java.lang.Object


Constructor Summary
CrossRefTreeMap(int maxFirstForEachSecond, int maxSecondForEachFirst)
           
 
Method Summary
 void change(T t, K k)
           
 void clear()
           
 boolean containsFirst(T t)
           
 boolean containsSecond(K k)
           
 java.util.Set<K> getFirst(T t)
           
 java.util.Set<T> getSecond(K k)
           
 void remove(T t, K k)
           
 void removeFirst(T t)
           
 void removeSecond(K k)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrossRefTreeMap

public CrossRefTreeMap(int maxFirstForEachSecond,
                       int maxSecondForEachFirst)
Method Detail

containsFirst

public boolean containsFirst(T t)

containsSecond

public boolean containsSecond(K k)

getFirst

public java.util.Set<K> getFirst(T t)

getSecond

public java.util.Set<T> getSecond(K k)

remove

public void remove(T t,
                   K k)

removeFirst

public void removeFirst(T t)

removeSecond

public void removeSecond(K k)

change

public void change(T t,
                   K k)

clear

public void clear()