|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
org.eclipse.persistence.jpa.internal.jpql.NumericTypeComparator
final class NumericTypeComparator
This Comparator is used to sort ITypes based on the numerical priority.
| Field Summary | |
|---|---|
private TypeHelper |
typeHelperThe helper that gives access to the most common types. |
| 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 |
| Field Detail |
|---|
private final TypeHelper typeHelper
types.| 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>
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||