public static final Boolean parseBoolean(String value)
   {
      return (value == null || value.charAt(0) != '1' ? Boolean.FALSE : Boolean.TRUE);
   }
public static final Boolean parseBoolean ( String value ) { return ( value == null || value . charAt ( 0 ) != '1' ? Boolean . FALSE : Boolean . TRUE ) ; }
Parse a boolean.

@param value boolean
@return Boolean value