leon.info.infointerface
Interface LyComparatorInterface
- All Known Implementing Classes:
- LyClassInfoComparator, LyMetricsChartBehavior
public interface LyComparatorInterface
Interface used to compare two objects with a sort criterion.
Field Summary |
static java.lang.String |
__VERSION
|
__VERSION
static final java.lang.String __VERSION
- See Also:
- Constant Field Values
compare
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.
- 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