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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic NumericTypeComparator(TypeHelper typeHelper)
NumericTypeComparator.typeHelper - The helper that gives access to the most common typespublic int compare(IType type1, IType type2)
compare in interface Comparator<IType>Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.