|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object infomat.vectorspace.IObjectGroup.IObjectComparator
private class IObjectGroup.IObjectComparator
A private class that is used to order the IObjects. The order depends on the value in the "objectOrderValueMap" parameter of the IObjectGroup. If the two IObject:s are equal in "objectOrder" they are sorted lexiographically.
Field Summary | |
---|---|
private IObjectGroup |
cog
|
Constructor Summary | |
---|---|
IObjectGroup.IObjectComparator(IObjectGroup cog)
|
Method Summary | |
---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compares two IObject:s and returns 1, 0 or -1 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Field Detail |
---|
private IObjectGroup cog
Constructor Detail |
---|
public IObjectGroup.IObjectComparator(IObjectGroup cog)
Method Detail |
---|
public int compare(java.lang.Object o1, java.lang.Object o2)
compare
in interface java.util.Comparator
o1
- a IObjecto2
- a IObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |