| bak.pcj.ByteComparator
ByteComparator | public interface ByteComparator (Code) | | This interface represents comparators of byte values. The
comparator interface is used for defining new orderings for
byte values.
See Also: java.util.Comparator author: Søren Bak version: 1.0 2002/29/12 since: 1.0 |
Method Summary | |
int | compare(byte v1, byte v2) Compares two byte values for order.
Parameters: v1 - the first byte value in the comparison. Parameters: v2 - the second byte value in the comparison. |
compare | int compare(byte v1, byte v2)(Code) | | Compares two byte values for order.
Parameters: v1 - the first byte value in the comparison. Parameters: v2 - the second byte 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. |
|
|