Boolean.compareTo

Compares this {@code Boolean} instance with another.

@param b the {@code Boolean} instance to be compared @return zero if this object represents the same bool value as the argument; a positive value if this object represents true and the argument represents false; and a negative value if this object represents false and the argument represents true @throws NullPointerException if the argument is {@code null} @see Comparable

class Boolean
int
compareTo

Meta