| bak.pcj.LongComparator
LongComparator | public interface LongComparator (Code) | | This interface represents comparators of long values. The
comparator interface is used for defining new orderings for
long values.
See Also: java.util.Comparator author: Søren Bak version: 1.0 2002/29/12 since: 1.0 |
Method Summary | |
int | compare(long v1, long v2) Compares two long values for order.
Parameters: v1 - the first long value in the comparison. Parameters: v2 - the second long value in the comparison. |
compare | int compare(long v1, long v2)(Code) | | Compares two long values for order.
Parameters: v1 - the first long value in the comparison. Parameters: v2 - the second long value in the comparison. a negative int value if v1 < v2,0 if v1 is equal to v2,or a positive integer if v1 > v2. |
|
|