Java java.lang boolean

Java examples for java.lang:boolean

Description

Click the following links for the tutorial for java.lang and boolean.

  1. Convert String to Boolean value
  2. Turns a string into a boolean value and returns a default value if unsuccessful.
  3. String boolean value (ex:True or False) to convert to Boolean
  4. Coerces all the forms of Boolean String may return to proper Booleans.
  5. Converts a list of boolean values into its corresponding bit string.
  6. Performs a logical exclusive OR on the array of Boolean values and returns true if and only if the Boolean array is not null and 1 and only 1 Boolean wrapper object evaluates to true, as determined by the BooleanUtils.valueof method.
  7. boolean value exclusive Or
  8. Converts a boolean array into a BitSet


  9. Boolean factory that avoids creating new Boolean objects all the time. This method was added to JDK1.4 but is available here for earlier JDKs. BooleanUtils.toBooleanObject(false) = Boolean.FALSE BooleanUtils.toBooleanObject(true) = Boolean.TRUE
  10. Converts a Boolean to a boolean handling null by returning false. BooleanUtils.toBoolean(Boolean.TRUE) = true BooleanUtils.toBoolean(Boolean.FALSE) = false BooleanUtils.toBoolean(null) = false
  11. Converts a boolean to an int using the convention that zero is false.
  12. Converts a boolean to an Integer specifying the conversion values.
  13. Converts a Boolean to a String returning one of the input Strings.
  14. Converts a Boolean to a String returning 'on', 'off', or null.
  15. Converts a Boolean to a String returning 'true', 'false', or null.
  16. Converts a Boolean to a String returning 'yes', 'no', or null.


  17. Converts a Boolean to a boolean handling null by returning false.
  18. Converts a Boolean to a boolean handling null.
  19. Converts a boolean[] to a String of 0's and 1's.
  20. Gets the integer represented by a bit string (as a String of 0's and 1's).
  21. Gets the bit string represented by an integer.
  22. Converts a String of 0's and 1's to a boolean[].
  23. returns true if the string parameter is any of the following values: "no", "false", "off", "0".
  24. returns true if the string parameter is any of the following values: "yes", "true", "on", "1".
  25. Performs a XNOR boolean operation between the two boolean objects passed as parameter.
  26. Performs a XOR boolean operation between the two boolean objects passed as parameter.
  27. Formats a boolean into common words.
  28. Returns true if all elements are true otherwise false.
  29. Returns true if at least one of elements are true otherwise false.
  30. Converts an Object to a boolean.
  31. Returns true if odd number of elements are true otherwise false.
  32. Performs a logical AND on all the Boolean values and returns true if an only if all Boolean values evaluate to true, as determined by the BooleanUtils.valueOf method on the Boolean wrapper object.
  33. Negates the specified evaluation of the Boolean value, which is determined by the BooleanUtils.valueOf method.
  34. Performs a logical OR on all the Boolean values and returns true if just one Boolean value evaluates to true, as determined by the BooleanUtils.valueOf method on the Boolean wrapper object.
  35. Converts the specified primitive boolean value into a Boolean wrapper object.
  36. Returns a String representation of the specified Boolean value.