Mega Code Archive

 
Categories / Java Book / 003 Essential Classes
 

0173 Compare two boolean values

int compareTo(Boolean b) Compares this Boolean instance with another. boolean equals(Object obj) Returns true if the argument is not null and is a Boolean object that represents the same boolean value as this object. Get boolean system property static boolean getBoolean(String name) Gets system property.