|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.isti.util.TwoObjectMatcher
public class TwoObjectMatcher
Class TwoObjectMatcher manages a set of object pairs and provides a fast comparison match vs. a given pair.
Constructor Summary | |
---|---|
TwoObjectMatcher()
|
Method Summary | |
---|---|
void |
add(java.lang.Object obj1,
java.lang.Object obj2)
Adds the given pair of objects to this matcher. |
void |
clear()
Removes all entries from this matcher. |
boolean |
contains(java.lang.Object obj1,
java.lang.Object obj2)
Checks if the given pair objects is held by this matcher. |
boolean |
isEmpty()
Determines if this matcher is empty. |
boolean |
remove(java.lang.Object obj1,
java.lang.Object obj2)
Removes the given pair of objects from this matcher. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TwoObjectMatcher()
Method Detail |
---|
public void add(java.lang.Object obj1, java.lang.Object obj2)
obj1
- the first object to use.obj2
- the second object to use.public boolean remove(java.lang.Object obj1, java.lang.Object obj2)
obj1
- the first object of the pair to be removed.obj2
- the second object of the pair to be removed.
public void clear()
public boolean contains(java.lang.Object obj1, java.lang.Object obj2)
obj1
- the first object to use.obj2
- the second object to use.
public boolean isEmpty()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |