We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement class JBoolean, porting of the Java class java.lang.Boolean.
JBoolean
java.lang.Boolean
The Boolean class wraps a value of the primitive type boolean in an object. An object of type Boolean contains a single field whose type is boolean.
extends JObject class
JObject
implements JSerializable interface
JSerializable
implements JComparable<Boolean> interface
JComparable<Boolean>
public static field FALSE: JBoolean
FALSE: JBoolean
The Boolean object corresponding to the primitive value false.
TRUE: JBoolean
The Boolean object corresponding to the primitive value true.
TYPE: JClass<JBoolean>
The Class object representing the primitive type boolean.
constructor(value: Jboolean)
Allocates a Boolean object representing the value argument.
constructor(s: JString)
Allocates a Boolean object representing the value true if the string argument is not null and is equal, ignoring case, to the string "true".
compare(x: Jboolean, y: Jboolean): Jint
Compares two boolean values.
getBoolean(name: JString): Jboolean
Returns true if and only if the system property named by the argument exists and is equal to the string "true".
hashCode(value: Jboolean): Jint
Returns a hash code for a boolean value; compatible with Boolean.hashCode().
logicalAnd(a: Jboolean, b: Jboolean): Jboolean
Returns the result of applying the logical AND operator to the specified boolean operands.
logicalOr(a: Jboolean, b: Jboolean): Jboolean
Returns the result of applying the logical OR operator to the specified boolean operands.
logicalXor(a: Jboolean, b: Jboolean): Jboolean
Returns the result of applying the logical XOR operator to the specified boolean operands.
parseBoolean(s: JString): Jboolean
Parses the string argument as a boolean.
toString(b: Jboolean): JString
Returns a String object representing the specified boolean.
valueOf(b: Jboolean): JBoolean
Returns a Boolean instance representing the specified boolean value.
valueOf(s: JString): JBoolean
Returns a Boolean with a value represented by the specified string.
booleanValue(): Jboolean
Returns the value of this Boolean object as a boolean primitive.
compareTo(b: JBoolean): Jint
Compares this Boolean instance with another.
equals(obj: JObject): Jboolean
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.
hashCode(): Jint
Returns a hash code for this Boolean object.
toString(): JString
Returns a String object representing this Boolean's value.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Implement class
JBoolean
, porting of the Java classjava.lang.Boolean
.Expected Behavior
extends
JObject
classimplements
JSerializable
interfaceimplements
JComparable<Boolean>
interfacepublic static field
FALSE: JBoolean
TRUE: JBoolean
TYPE: JClass<JBoolean>
constructor(value: Jboolean)
constructor(s: JString)
compare(x: Jboolean, y: Jboolean): Jint
getBoolean(name: JString): Jboolean
hashCode(value: Jboolean): Jint
logicalAnd(a: Jboolean, b: Jboolean): Jboolean
logicalOr(a: Jboolean, b: Jboolean): Jboolean
logicalXor(a: Jboolean, b: Jboolean): Jboolean
parseBoolean(s: JString): Jboolean
toString(b: Jboolean): JString
valueOf(b: Jboolean): JBoolean
valueOf(s: JString): JBoolean
booleanValue(): Jboolean
compareTo(b: JBoolean): Jint
equals(obj: JObject): Jboolean
hashCode(): Jint
toString(): JString
The text was updated successfully, but these errors were encountered: