All Packages Class Hierarchy This Package Previous Next Index
Interface org.ginf.helpers.Comparer
- public interface Comparer
A comparer performs a comparison of
two objects.
-
compare(Object, Object, Object)
- Handle is used e.g.
compare
public abstract int compare(Object handle,
Object o1,
Object o2)
- Handle is used e.g. to distinguish different types of sorting
or just passed as an additional parameter.
<0: o1 < o2
0: o1 = o2
>0: o1 > o2
All Packages Class Hierarchy This Package Previous Next Index