public class ComparableComparator extends Object implements Comparator<Comparable>, Serializable
Modifier and Type | Field and Description |
---|---|
static Comparator |
INSTANCE |
Constructor and Description |
---|
ComparableComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Comparable one,
Comparable another) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public static final Comparator INSTANCE
public int compare(Comparable one, Comparable another)
compare
in interface Comparator<Comparable>
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.