Class NCBool
- java.lang.Object
-
- com.adobe.versioncue.nativecomm.msg.NCType
-
- com.adobe.versioncue.nativecomm.msg.NCBool
-
- All Implemented Interfaces:
INCExternalizable
public final class NCBool extends NCType
-
-
Field Summary
Fields Modifier and Type Field Description static NCBool
FALSE
Singleton FALSE instancestatic NCBool
TRUE
Singleton TRUE instance-
Fields inherited from class com.adobe.versioncue.nativecomm.msg.NCType
TYPE_BOOLEAN, TYPE_BYTEBUFFER, TYPE_DATE, TYPE_DOUBLE, TYPE_INTEGER, TYPE_LIST, TYPE_LONG, TYPE_MAP, TYPE_NULL, TYPE_STRING
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
booleanValue()
Returns the boolean value of this objectboolean
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 thisNCType
object.int
hashCode()
Force subclasses to implement.java.lang.String
toString()
Force subclasses to implement.-
Methods inherited from class com.adobe.versioncue.nativecomm.msg.NCType
externalize
-
-
-
-
Method Detail
-
getBoolean
public static NCBool getBoolean(boolean value)
Returns a NCBool instance of the specified value.- Parameters:
value
- boolean value to represent- Returns:
- the NCBool instance
-
booleanValue
public boolean booleanValue()
Returns the boolean value of this object- Returns:
- boolean value of this object
-
hashCode
public int hashCode()
Description copied from class:NCType
Force subclasses to implement.
-
equals
public boolean equals(java.lang.Object other)
Description copied from class:NCType
Force subclasses to implement.
-
toString
public java.lang.String toString()
Description copied from class:NCType
Force subclasses to implement.
-
getType
public int getType()
Description copied from class:NCType
Returns the type of thisNCType
object.- Specified by:
getType
in classNCType
- Returns:
- the type of this
NCType
- See Also:
NCType.getType()
-
-