class HeftGraphNodeComparator extends Object implements Comparator
| Constructor and Description |
|---|
HeftGraphNodeComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object o1,
Object o2)
Implementation of the
Comparable interface. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(Object o1, Object o2)
Comparable interface.
Compares this object with the specified object for order. Returns a
negative integer, zero, or a positive integer as this object is
less than, equal to, or greater than the specified object. The
definitions are compared by their type, and by their short ids.compare in interface Comparatoro1 - is the object to be comparedo2 - is the object to be compared with o1.ClassCastException - if the specified object's type
prevents it from being compared to this Object.