public abstract class COSNumber extends COSBase
| Constructor and Description |
|---|
COSNumber() |
| Modifier and Type | Method and Description |
|---|---|
abstract double |
doubleValue() |
abstract float |
floatValue() |
static COSNumber |
get(String number)
This factory method will get the appropriate number object.
|
abstract int |
intValue() |
abstract long |
longValue() |
accept, getCOSObject, hasId, id, idIfAbsentpublic abstract float floatValue()
public abstract double doubleValue()
public abstract int intValue()
public abstract long longValue()
public static COSNumber get(String number) throws IOException
number - The string representation of the number.IOException - If the string is not a number.Copyright © 2019 sejda. All rights reserved.