LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.data.misc
Class LyClassInfoComparator

java.lang.Object
  extended by 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
 
Constructor Summary
LyClassInfoComparator()
           
 
Method Summary
 int compare(LySortCriterion criterion, LyObject object1, LyObject object2)
          Method to compare two objects according a given sort criterion.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Constructor Detail

LyClassInfoComparator

public LyClassInfoComparator()
Method Detail

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 object
object2 - 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.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com