public final class NCBool extends NCType
Modifier and Type | Field and Description |
---|---|
static NCBool |
FALSE
Singleton FALSE instance
|
static NCBool |
TRUE
Singleton TRUE instance
|
TYPE_BOOLEAN, TYPE_BYTEBUFFER, TYPE_DATE, TYPE_DOUBLE, TYPE_INTEGER, TYPE_LIST, TYPE_LONG, TYPE_MAP, TYPE_NULL, TYPE_STRING
Modifier and Type | Method and Description |
---|---|
boolean |
booleanValue()
Returns the boolean value of this object
|
boolean |
equals(java.lang.Object other)
Force subclasses to implement.
|
static NCBool |
getBoolean(boolean value)
Returns a NCBool instance of the specified value.
|
int |
getType()
Returns the type of this
NCType object. |
int |
hashCode()
Force subclasses to implement.
|
java.lang.String |
toString()
Force subclasses to implement.
|
externalize
public static final NCBool TRUE
public static final NCBool FALSE
public static NCBool getBoolean(boolean value)
value
- boolean value to representpublic boolean booleanValue()
public int hashCode()
NCType
public boolean equals(java.lang.Object other)
NCType
public java.lang.String toString()
NCType
public int getType()
NCType
NCType
object.getType
in class NCType
NCType
NCType.getType()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"