@Generated(date="2017-07-11T19:16:33+0200",
value="KTypeStandardComparator.java")
public final class ObjectStandardComparator<KType>
extends java.lang.Object
implements ObjectComparator<KType>
ObjectComparator for Objects, providing the same behavior as either natural ordering
for primitives, or Comparable for objects.| Constructor and Description |
|---|
ObjectStandardComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(KType e1,
KType e2)
Defines the relative ordering of e1 and e2:
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
public int compare(KType e1, KType e2)
ObjectComparatorcompare in interface ObjectComparator<KType>compare in interface java.util.Comparator<KType>public boolean equals(java.lang.Object o)
equals in interface java.util.Comparator<KType>equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2017. All rights reserved.