Groovy JDK

java.lang
Class Boolean

Method Summary
Boolean and(Boolean right)
Logical conjunction of two boolean operators.
boolean asBoolean()
Coerce an Boolean instance to a boolean value.
Boolean or(Boolean right)
Logical disjunction of two boolean operators
Boolean xor(Boolean right)
Exclusive disjunction of two boolean operators
 
Method Detail

and

public Boolean and(Boolean right)
 
Logical conjunction of two boolean operators.
Parameters:
right - right operator.
Returns:
result of logical conjunction
Since:
1.0

asBoolean

public boolean asBoolean()
 
Coerce an Boolean instance to a boolean value.
Returns:
the boolean value
Since:
1.7.0

or

public Boolean or(Boolean right)
 
Logical disjunction of two boolean operators
Parameters:
right - right operator.
Returns:
result of logical disjunction
Since:
1.0

xor

public Boolean xor(Boolean right)
 
Exclusive disjunction of two boolean operators
Parameters:
right - right operator.
Returns:
result of exclusive disjunction
Since:
1.0

Groovy JDK