org.jfree.util
Class BooleanUtils

java.lang.Object
  extended byorg.jfree.util.BooleanUtils

public abstract class BooleanUtils
extends java.lang.Object

Utility methods for working with Boolean objects.

Author:
David Gilbert

Constructor Summary
BooleanUtils()
           
 
Method Summary
static java.lang.Boolean valueOf(boolean b)
          Returns the object equivalent of the boolean primitive.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanUtils

public BooleanUtils()
Method Detail

valueOf

public static java.lang.Boolean valueOf(boolean b)
Returns the object equivalent of the boolean primitive.

A similar method is provided by the Boolean class in JDK 1.4, but you can use this one to remain compatible with earlier JDKs.

Parameters:
b - the boolean value.
Returns:
Boolean.TRUE or Boolean.FALSE.