|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcrn.IESpecificComparisonManager
Provides a way of specific IEs comparison.
Field Summary | |
private java.util.Hashtable |
specificComparators
A hashtable mapping the IE names to the specific comparators. |
Constructor Summary | |
IESpecificComparisonManager()
|
Method Summary | |
void |
AddSpecificComparator(java.lang.String ieName,
IEComparator ieComparator)
Adds a specific comparator for the given IE type. |
float |
CompareIEs(IE ie1,
IE ie2)
Compares the given IEs. |
boolean |
HasSpecificComparator(java.lang.String ieName)
Checks if there is a specific comparator for the given IE type. |
void |
RemoveSpecificComparator(java.lang.String ieName)
Removes a specific comparator for the given IE type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.Hashtable specificComparators
Constructor Detail |
public IESpecificComparisonManager()
Method Detail |
public boolean HasSpecificComparator(java.lang.String ieName)
ieName
- The name of the IE type to look for.
public void AddSpecificComparator(java.lang.String ieName, IEComparator ieComparator)
ieName
- The name of the IE for which to add the specific comparator.ieComparator
- The comparator for the given IE type.public void RemoveSpecificComparator(java.lang.String ieName)
ieName
- The name of the IE for which to remove the specific comparator.public float CompareIEs(IE ie1, IE ie2)
ie1
- The first of the IEs to be compared.ie2
- The second of the IEs to be compared.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |