wt.projmgmt.msproject
Class Utils.SortByID
java.lang.Object
wt.projmgmt.msproject.Utils.SortByID
- All Implemented Interfaces:
- Comparator
- Enclosing class:
- Utils
- public static class Utils.SortByID
- extends Object
- implements Comparator
A Comparator
that orders
ProjectNode
s according to their
IDs. This Comparator
assumes that both its
arguments are instances of ProjectNode
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils.SortByID
public Utils.SortByID()
compare
public int compare(Object o1,
Object o2)
- Specified by:
compare
in interface Comparator
- Throws:
ClassCastException
- if either of the arguments are not
ProjectNodes