protected static class SystemPropertiesTableModel.SystemPropertyComparator extends Object implements Comparator
| Constructor and Description |
|---|
SystemPropertyComparator(boolean ascending)
Standard constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object o1,
Object o2)
Compares two objects.
|
boolean |
equals(Object o)
Returns
true if this object is equal to the specified
object, and false otherwise. |
int |
hashCode()
Returns a hash code value for the object.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic SystemPropertyComparator(boolean ascending)
ascending - a flag that controls the sort order (ascending or
descending).public int compare(Object o1, Object o2)
compare in interface Comparatoro1 - the first object.o2 - the second object.public boolean equals(Object o)
true if this object is equal to the specified
object, and false otherwise.equals in interface Comparatorequals in class Objecto - the other object.Copyright © 2001–2014 JFree.org. All rights reserved.