leon.data.misc
Class LyClassInfoComparator
java.lang.Object
leon.data.misc.LyClassInfoComparator
- All Implemented Interfaces:
- LyComparatorInterface
public class LyClassInfoComparator
- extends java.lang.Object
- implements LyComparatorInterface
Class used to compare two objects with their class info.
Field Summary |
static java.lang.String |
__VERSION
File version |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
__VERSION
public static final java.lang.String __VERSION
- File version
- See Also:
- Constant Field Values
LyClassInfoComparator
public LyClassInfoComparator()
compare
public int compare(LySortCriterion criterion,
LyObject object1,
LyObject object2)
- Method to compare two objects according a given sort criterion. The given objects are not
null and are not equals.
- Specified by:
compare
in interface LyComparatorInterface
- Parameters:
criterion
- the sort criterion.object1
- the first objectobject2
- the second object
- Returns:
- O if the two values are equals, a positive value if value of object1 is "greater"
than value of object2, a negative value otherwise.
Website: W4 S.A., contact us: support@w4global.com