MetaDone
|
Public Member Functions | |
void | add (A a, B b) |
Set< A > | getA (B b) |
Set< B > | getB (A a) |
void | remove (A a, B b) |
void | clear () |
Set< Pair< A, B > > | getSet () |
boolean | contains (A a, B b) |
Private Attributes | |
final HashSet< Pair< A, B > > | set = new HashSet<Pair<A, B>>() |
void metadone.util.BiDir< A, B >.add | ( | A | a, |
B | b | ||
) |
Add the pair (a,b) to the set.
a | |
b |
void metadone.util.BiDir< A, B >.clear | ( | ) |
Clears the content of the store.
boolean metadone.util.BiDir< A, B >.contains | ( | A | a, |
B | b | ||
) |
a | |
b |
Set<A> metadone.util.BiDir< A, B >.getA | ( | B | b | ) |
b |
References metadone.util.Pair< A, B >.getFirst().
Set<B> metadone.util.BiDir< A, B >.getB | ( | A | a | ) |
a |
References metadone.util.Pair< A, B >.getSecond().
Set<Pair<A, B> > metadone.util.BiDir< A, B >.getSet | ( | ) |
void metadone.util.BiDir< A, B >.remove | ( | A | a, |
B | b | ||
) |
Removes the pair (a,b) from the store.
a | |
b |
final HashSet<Pair<A, B> > metadone.util.BiDir< A, B >.set = new HashSet<Pair<A, B>>() [private] |