|
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 short values. The comparator interface is used for defining new orderings for short values.
Comparator
Method Summary | |
int |
compare(short v1,
short v2)
Compares two short values for order. |
Method Detail |
public int compare(short v1, short v2)
v1
- the first short value in the comparison.v2
- the second short 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 |