public final class ObjectComparator extends Object implements Comparator<Object>
Modifier and Type | Method and Description |
---|---|
int |
compare(Object o1,
Object o2) |
static Comparable<Object> |
getComparable(Object o) |
static Comparator<Object> |
getComparator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public static Comparator<Object> getComparator()
public static Comparable<Object> getComparable(Object o)
public int compare(Object o1, Object o2)
compare
in interface Comparator<Object>
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.