boolean in an object.
More...
#include <java_lang_Boolean.h>
Inheritance diagram for java::lang::Boolean:


Public Types | |
| enum | { xmogDefaultFlags = xmog_base::GLOBAL, xmogMajorVersion = 3, xmogMinorVersion = 2, xmogPatchVersion = 9, xmogBuildNumber = 2047 } |
|
typedef ::xmog_java_array_template< ::java::lang::Boolean > | array1D |
|
typedef ::xmog_java_array_template< ::xmog_java_array_template< ::java::lang::Boolean > > | array2D |
Public Member Functions | |
| Boolean (const ::java::lang::String &s,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) | |
Allocates a Boolean object representing the value true if the string argument is not null and is equal, ignoring case, to the string "true". | |
| Boolean (bool value,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) | |
Allocates a Boolean object representing the value argument. | |
| bool | booleanValue (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Returns the value of this Boolean object as a boolean primitive. | |
| bool | equals (const ::java::lang::Object &obj,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Returns true if and only if the argument is not null and is a Boolean object that represents the same boolean value as this object. | |
| jint | hashCode (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Returns a hash code for this Boolean object. | |
| ::java::lang::String | toString (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Returns a String object representing this Boolean's value. | |
Static Public Member Functions | |
| static bool | getBoolean (const ::java::lang::String &name,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Returns true if and only if the system property named by the argument exists and is equal to the string "true". | |
| ::java::lang::String | toString (bool b,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Returns a String object representing the specified boolean. | |
| ::java::lang::Boolean | valueOf (const ::java::lang::String &s,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Returns a Boolean with a value represented by the specified String. | |
| ::java::lang::Boolean | valueOf (bool b,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Returns a Boolean instance representing the specified boolean value. | |
Static Public Attributes | |
| ::java::lang::Boolean | _FALSE |
The Boolean object corresponding to the primitive value false. | |
| ::java::lang::Boolean | _TRUE |
The Boolean object corresponding to the primitive value true. | |
| ::java::lang::Class | TYPE |
| The Class object representing the primitive type boolean. | |
boolean in an object.
An object of type Boolean contains a single field whose type is boolean.
In addition, this class provides many methods for converting a boolean to a String and a String to a boolean, as well as other constants and methods useful when dealing with a boolean.
|
||||||||||||||||
|
Allocates a Note: It is rarely appropriate to use this constructor. Unless a new instance is required, the static factory is generally a better choice. It is likely to yield significantly better space and time performance.
|
|
||||||||||||||||
|
Allocates a
Otherwise, allocate a
|
|
||||||||||||
|
Returns the value of this
|
|
||||||||||||||||
|
Returns
Reimplemented from java::lang::Object. |
|
||||||||||||||||
|
Returns
(Beginning with version 1.0.2 of the Java<font size="-2">TM</font> platform, the test of this string is case insensitive.) A system property is accessible through
If there is no property with the specified name, or if the specified name is empty or null, then
|
|
||||||||||||
|
Returns a hash code for this
Reimplemented from java::lang::Object. |
|
||||||||||||||||
|
Returns a
If the specified boolean is
|
|
||||||||||||
|
Returns a
If this object represents the value
Reimplemented from java::lang::Object. |
|
||||||||||||||||
|
Returns a
The
Example:
|
|
||||||||||||||||
|
Returns a
If the specified
|
1.4.1