public final class CosPdfBoolean extends CosPdfPrimitive
This class represents boolean type.
Constructor and Description |
---|
CosPdfBoolean(boolean value)
Initializes a new instance of the
PdfBoolean class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines that the specified object is equal to the current object.
|
boolean |
getValue()
Gets the value.
|
int |
hashCode()
Get hashcode for current object.
|
CosPdfBoolean |
toCosPdfBoolean()
Tries cast this instance to
CosPdfBoolean . |
String |
toString()
Returns a
String that represents the current CosPdfBoolean . |
toCosPdfName, toCosPdfNumber, toCosPdfString
public CosPdfBoolean(boolean value)
Initializes a new instance of the PdfBoolean
class.
value
- if set to true
[value].public final boolean getValue()
Gets the value.
public CosPdfBoolean toCosPdfBoolean()
Tries cast this instance to CosPdfBoolean
.
toCosPdfBoolean
in interface ICosPdfPrimitive
toCosPdfBoolean
in class CosPdfPrimitive
CosPdfBoolean
else CosPdfBoolean
.public String toString()
Returns a String
that represents the current CosPdfBoolean
.
toString
in interface ICosPdfPrimitive
toString
in class Object
String
that represents the current CosPdfBoolean
.public int hashCode()
Get hashcode for current object.
Copyright © 2023 Aspose. All Rights Reserved.