com.etymon.pjx
Class PdfNumber
java.lang.Object
com.etymon.pjx.PdfObject
com.etymon.pjx.PdfNumber
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- PdfFloat, PdfInteger, PdfLong
public abstract class PdfNumber
- extends PdfObject
The abstract superclass of classes PdfInteger
,
PdfFloat
, and PdfLong
.
Method Summary |
abstract float |
getFloat()
Returns the float value of this number. |
abstract int |
getInt()
Returns the int value of this number. |
abstract long |
getLong()
Returns the long value of this number. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
PdfNumber
public PdfNumber()
getInt
public abstract int getInt()
- Returns the int value of this number.
- Returns:
- the int value.
getLong
public abstract long getLong()
- Returns the long value of this number.
- Returns:
- the long value.
getFloat
public abstract float getFloat()
- Returns the float value of this number.
- Returns:
- the float value.