protected static class SystemPropertiesTableModel.SystemPropertyComparator extends Object implements Comparator
Constructor and Description |
---|
SystemPropertiesTableModel.SystemPropertyComparator(boolean ascending)
Standard constructor.
|
public SystemPropertiesTableModel.SystemPropertyComparator(boolean ascending)
ascending
- a flag that controls the sort order (ascending or
descending).public int compare(Object o1, Object o2)
compare
in interface Comparator
o1
- 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 Comparator
equals
in class Object
o
- the other object.