org.eclipse.net4j.util.collection
Class BidiMapper<T1,T2>

java.lang.Object
  extended by org.eclipse.net4j.util.collection.BidiMapper<T1,T2>

public class BidiMapper<T1,T2>
extends Object

Since:
2.0

Constructor Summary
BidiMapper()
           
 
Method Summary
 void clear()
           
 T2 lookup1(T1 v1)
           
 T1 lookup2(T2 v2)
           
 void map(T1 v1, T2 v2)
           
 boolean remove1(T1 v1)
           
 boolean remove2(T2 v2)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BidiMapper

public BidiMapper()
Method Detail

map

public void map(T1 v1,
                T2 v2)

size

public int size()

clear

public void clear()

lookup1

public T2 lookup1(T1 v1)

lookup2

public T1 lookup2(T2 v2)

remove1

public boolean remove1(T1 v1)

remove2

public boolean remove2(T2 v2)


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.