public final class NumericTypeComparator extends Object implements Comparator<IType>
Comparator
is used to sort ITypes
based on the numerical priority.Constructor and Description |
---|
NumericTypeComparator(TypeHelper typeHelper)
Creates a new
NumericTypeComparator . |
Modifier and Type | Method and Description |
---|---|
int |
compare(IType type1,
IType type2) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public NumericTypeComparator(TypeHelper typeHelper)
NumericTypeComparator
.typeHelper
- The helper that gives access to the most common types
public int compare(IType type1, IType type2)
compare
in interface Comparator<IType>
EclipseLink 2.5.2, "build v20140319-9ad6abd" API Reference