|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.persistence.jpa.jpql.tools.NumericTypeComparator
public final class NumericTypeComparator
This Comparator is used to sort ITypes based on the numerical priority.
| Constructor Summary | |
|---|---|
NumericTypeComparator(TypeHelper typeHelper)
Creates a new NumericTypeComparator. |
|
| Method Summary | |
|---|---|
int |
compare(IType type1,
IType type2)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public NumericTypeComparator(TypeHelper typeHelper)
NumericTypeComparator.
typeHelper - The helper that gives access to the most common types| Method Detail |
|---|
public int compare(IType type1,
IType type2)
compare in interface java.util.Comparator<IType>
|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||