T- the type of objects that may be compared by this comparator
public class InstanceComparator<T> extends Object implements Comparator<T>
Numbers such that
Longs occur before
Only the specified
instanceOrder classes are considered during comparison.
If two objects are both instances of the ordered type this comparator will return a
0. Consider combining with
if additional sorting is required.
|Constructor and Description|
Create a new
|Modifier and Type||Method and Description|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait