|
JCommon 1.0.17-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.ui.about.SystemPropertiesTableModel.SystemPropertyComparator
protected static class SystemPropertiesTableModel.SystemPropertyComparator
A class for comparing SystemProperty objects.
Constructor Summary | |
---|---|
SystemPropertiesTableModel.SystemPropertyComparator(boolean ascending)
Standard constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemPropertiesTableModel.SystemPropertyComparator(boolean ascending)
ascending
- a flag that controls the sort order (ascending or
descending).Method Detail |
---|
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.
public int hashCode()
hashCode
in class Object
|
JCommon 1.0.17-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |