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