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