- All Implemented Interfaces:
public class NamedHandleObjectComparator
Comparator for instances of
NamedHandleObject for display to
an end user. The comparison is based on the name of the instances.
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
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public final int compare(Object left,
Compares to instances of NamedHandleObject based on their names. This is
useful is they are display to an end user.
- Specified by:
compare in interface
left - The first obect to compare; may be
right - The second object to compare; may be
right is not
0 if they are both
left is not
null. Otherwise, the
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.