|
PCJ API Version 1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents comparators of int values. The comparator interface is used for defining new orderings for int values.
Comparator
Method Summary | |
int |
compare(int v1,
int v2)
Compares two int values for order. |
Method Detail |
public int compare(int v1, int v2)
v1
- the first int value in the comparison.v2
- the second int value in the comparison.
|
PCJ API Version 1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |