Package: java.lang

## Class Boolean

- - ### Methods Summary

    Methods
    Return type | Name and parameters
    --- | ---
    `Boolean` | `and(Boolean right)` Logical conjunction of two boolean operators.
    `boolean` | `asBoolean()` Coerce a Boolean instance to a boolean value.
    `Boolean` | `implies(Boolean right)` Logical implication of two boolean operators
    `Boolean` | `or(Boolean right)` Logical disjunction of two boolean operators
    `Boolean` | `toBoolean()` Identity conversion which returns Boolean.TRUE for a true Boolean and Boolean.FALSE for a false Boolean.
    `Boolean` | `xor(Boolean right)` Exclusive disjunction of two boolean operators

  - #### Methods inherited from class java.lang.Object

    `addShutdownHook`, `any`, `any`, `asBoolean`, `asType`, `collect`, `collect`, `collect`, `contains`, `count`, `dump`, `each`, `eachWithIndex`, `equals`, `every`, `every`, `find`, `find`, `findAll`, `findAll`, `findIndexOf`, `findIndexOf`, `findIndexValues`, `findIndexValues`, `findLastIndexOf`, `findLastIndexOf`, `findResult`, `findResult`, `flatten`, `getAt`, `getMetaClass`, `getMetaPropertyValues`, `getProperties`, `grep`, `grep`, `groupBy`, `groupBy`, `hasProperty`, `identity`, `inject`, `inject`, `inspect`, `invokeMethod`, `is`, `isCase`, `iterator`, `join`, `metaClass`, `print`, `print`, `printf`, `printf`, `println`, `println`, `println`, `putAt`, `respondsTo`, `respondsTo`, `setMetaClass`, `size`, `split`, `sprintf`, `sprintf`, `sum`, `sum`, `tap`, `toArrayString`, `toSpreadMap`, `toString`, `use`, `use`, `use`, `with`, `with`, `withTraits`

  - #### Methods inherited from interface java.lang.Comparable

    `numberAwareCompareTo`

- - ### Methods Detail

    - #### public Boolean and(Boolean right)

      Logical conjunction of two boolean operators.

      Parameters:
        `right` - right operator
      Returns:
        result of logical conjunction
      Since:
        1.0

    - #### public boolean asBoolean()

      Coerce a Boolean instance to a boolean value.

      Returns:
        the boolean value
      Since:
        1.7.0

    - #### public Boolean implies(Boolean right)

      Logical implication of two boolean operators

      Parameters:
        `right` - right operator
      Returns:
        result of logical implication
      Since:
        1.8.3

    - #### public Boolean or(Boolean right)

      Logical disjunction of two boolean operators

      Parameters:
        `right` - right operator
      Returns:
        result of logical disjunction
      Since:
        1.0

    - #### public Boolean toBoolean()

      Identity conversion which returns Boolean.TRUE for a true Boolean and Boolean.FALSE for a false Boolean.

      Returns:
        the original Boolean
      Since:
        1.7.6

    - #### public Boolean xor(Boolean right)

      Exclusive disjunction of two boolean operators

      Parameters:
        `right` - right operator
      Returns:
        result of exclusive disjunction
      Since:
        1.0