KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > etymon > pjx > PdfNumber


1 /*
2   Copyright (C) Etymon Systems, Inc. <http://www.etymon.com/>
3 */

4
5 package com.etymon.pjx;
6
7 import java.io.*;
8
9 /**
10    The abstract superclass of classes <code>PdfInteger</code>,
11    <code>PdfFloat</code>, and <code>PdfLong</code>.
12    @author Nassib Nassar
13 */

14 public abstract class PdfNumber
15     extends PdfObject {
16
17     /**
18        Returns the int value of this number.
19        @return the int value.
20      */

21     public abstract int getInt();
22
23     /**
24        Returns the long value of this number.
25        @return the long value.
26      */

27     public abstract long getLong();
28
29     /**
30        Returns the float value of this number.
31        @return the float value.
32      */

33     public abstract float getFloat();
34
35 }
36
Popular Tags