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(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.
|
String |
toString()
Force subclasses to implement.
|
externalizepublic 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()
NCTypehashCode in class NCTypeObject.hashCode()public boolean equals(Object other)
NCTypeequals in class NCTypeObject.equals(java.lang.Object)public String toString()
NCTypetoString in class NCTypeObject.toString()public int getType()
NCTypeNCType object.getType in class NCTypeNCTypeNCType.getType()Copyright © 2010 - 2020 Adobe. All Rights Reserved