|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.imagero.gui.swing.tree.util.DMNodeComparator
com.imagero.gui.swing.tree.util.FileNodeComparator
| Field Summary |
| Fields inherited from class com.imagero.gui.swing.tree.util.DMNodeComparator |
directoriesFirst, UNDEFINED |
| Constructor Summary | |
FileNodeComparator()
|
|
| Method Summary | |
int |
compare(HTreeNode node1,
HTreeNode node2)
|
boolean |
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this Comparator. |
| Methods inherited from class com.imagero.gui.swing.tree.util.DMNodeComparator |
checkDirectory, checkNull, compare, isDirectoriesFirst, setDirectoriesFirst |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileNodeComparator()
| Method Detail |
public int compare(HTreeNode node1,
HTreeNode node2)
compare in interface TreeNodeComparatorcompare in class DMNodeComparatornode1 - first nodenode2 - second node
public boolean equals(java.lang.Object o)
java.util.Comparatorcomp1.equals(comp2) implies that sgn(comp1.compare(o1,
o2))==sgn(comp2.compare(o1, o2)) for every object reference
o1 and o2.Note that it is always safe not to override Object.equals(Object). However, overriding this method may, in some cases, improve performance by allowing programs to determine that two distinct Comparators impose the same order.
equals in interface java.util.Comparatorequals in class DMNodeComparator
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||