public class CosBoolean extends CosScalar
DIRECT, INDIRECT, t_Array, t_Boolean, t_Dictionary, t_KeyAbsent, t_Name, t_Null, t_Numeric, t_ObjectRef, t_Stream, t_String| Modifier and Type | Method and Description |
|---|---|
boolean |
booleanValue()
Returns the value of the boolean.
|
boolean |
equals(CosObject value)
This method returns true if both CosObjects have same boolean value or
they are the same objects.
|
int |
getType()
return the type of this CosObject
|
Object |
getValue()
Returns the value as an instance of Boolean
|
doubleValue, equals, getDocument, getObjEOF, getObjGen, getObjNum, getObjPos, getObjRevision, getStreamManager, hexStringValue, intValue, isCompressed, isDirty, isIndirect, longValue, nameValue, numberValue, stringValue, textValue, toStringpublic int getType()
public boolean booleanValue()
booleanValue in class CosObjectpublic Object getValue()
Copyright © 2010 - 2020 Adobe. All Rights Reserved