public class COSFloat extends COSNumber
| Constructor and Description |
|---|
COSFloat(float aFloat) |
COSFloat(String aFloat) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(COSVisitor visitor)
Visitor pattern for the COS model objects
|
double |
doubleValue() |
boolean |
equals(Object o) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
String |
toString() |
getCOSObject, hasId, id, idIfAbsentpublic COSFloat(float aFloat)
aFloat - The primitive float object that this object wraps.public COSFloat(String aFloat) throws IOException
aFloat - The primitive float object that this object wraps.IOException - If aFloat is not a float.public float floatValue()
floatValue in class COSNumberpublic double doubleValue()
doubleValue in class COSNumberpublic long longValue()
public int intValue()
public void accept(COSVisitor visitor) throws IOException
COSBaseaccept in class COSBaseIOExceptionCopyright © 2020 sejda. All rights reserved.