|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.adfnmc.java.lang.BooleanHelper
public class BooleanHelper
Method Summary | |
---|---|
static boolean |
parseBoolean(java.lang.String s)
Parses the string as a boolean . |
static java.lang.String |
toString(boolean value)
Converts the specified boolean to its string representation. |
static java.lang.Boolean |
valueOf(boolean b)
Answers Boolean.TRUE if the argument is equal to "true" using case insensitive comparison, and Boolean.FALSE representing false otherwise. |
static java.lang.Boolean |
valueOf(java.lang.String string)
Answers a Boolean representing true if the argument is equal to "true" using case insensitive comparison, and a Boolean representing false otherwise. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.Boolean valueOf(java.lang.String string)
string
- The name of the desired boolean.
public static java.lang.Boolean valueOf(boolean b)
b
- the boolean value.
public static boolean parseBoolean(java.lang.String s)
boolean
. If the string is not null
and is equal to
"true"
, regardless case, then true
is returned, otherwise false
.
s
- The string to parse.
public static java.lang.String toString(boolean value)
"true"
,
otherwise answer "false"
.
value
- the boolean
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |