Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## phelps.lang
Class Booleans

    java.lang.Object
      phelps.lang.Booleans

public class Booleans
extends java.lang.Object

Extensions to `Boolean`.

Version:
  $Revision: 1.1 $ $Date: 2003/02/02 11:54:49 $

Method Summary
`static boolean` | `parseBoolean(java.lang.Object value, boolean defaultval)` Tries to parse value as an `boolean` -- `true` iff (case insensitive) "true", "yes", "on" (not "no"!)

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### parseBoolean

    public static boolean parseBoolean(java.lang.Object value,
                                       boolean defaultval)

  Tries to parse value as an `boolean` -- `true` iff (case insensitive) "true", "yes", "on" (not "no"!), "1", `Boolean.TRUE` -- but if String is `null` or can't be parsed as an `int` returns defaultval .

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD