Class StandardComparator<A> (3.9.6)

public class StandardComparator<A> implements Comparator<A>

Inheritance

java.lang.Object > StandardComparator<A>

Implements

Comparator<A>

Type Parameter

NameDescription
A

Static Methods

<T>getComparator(Class<T> clazz)

public static StandardComparator<T> <T>getComparator(Class<T> clazz)
Parameter
NameDescription
clazzClass<T>
Returns
TypeDescription
StandardComparator<T>

Methods

compare(A o1, A o2)

public int compare(A o1, A o2)
Parameters
NameDescription
o1A
o2A
Returns
TypeDescription
int