src/main/java/org/jboss/util/Primitives.java
/**
    * Get a Boolean from a boolean, equivalent to the java 1.4 method Boolean.valueOf(boolean)
    *
    * @param value the boolean
    * @return the Boolean equivalent
    */
Get a Boolean from a boolean, equivalent to the java 1.4 method Boolean.valueOf(boolean)
@param value the boolean
@return the Boolean equivalent
Get a Boolean from a boolean equivalent to the java 1 . 4 method Boolean . valueOf ( boolean ) @param value the boolean @return the Boolean equivalent
public static Boolean valueOf(boolean value)
   {
      if (value)
         return Boolean.TRUE;
      else
         return Boolean.FALSE;
   }
public static Boolean valueOf ( boolean value ) { if ( value ) return Boolean . TRUE ; else return Boolean . FALSE ; }
Get a Boolean from a boolean, equivalent to the java 1.4 method Boolean.valueOf(boolean)
 @param value the boolean
 @return the Boolean equivalent
Get a Boolean from a boolean equivalent to the java 1 . 4 method Boolean . valueOf ( boolean ) @param value the boolean @return the Boolean equivalent