org.freehep.postscript
Class PSNumber
java.lang.Object
|
+--org.freehep.postscript.PSObject
|
+--org.freehep.postscript.PSSimple
|
+--org.freehep.postscript.PSNumber
- All Implemented Interfaces:
- Cloneable, Comparable
- Direct Known Subclasses:
- PSInteger, PSReal
- public abstract class PSNumber
- extends PSSimple
- implements Comparable
Objects for PostScript Processor, as defined in 3.3 Data Types and Objects
- Version:
- $Id: PSNumber.java,v 1.1 2001/06/04 07:23:54 duns Exp $
- Author:
- Mark Donszelmann
Fields inherited from class org.freehep.postscript.PSObject |
name |
Methods inherited from class org.freehep.postscript.PSSimple |
copy |
Methods inherited from class org.freehep.postscript.PSObject |
checkAndExecute, clone, cvs, equals, error, getType, hashCode, isExecutable, isLiteral, setExecutable, setLiteral, setName, toPrint, toString |
PSNumber
public PSNumber(String name)
getFloat
public float getFloat()
execute
public boolean execute(OperandStack os)
- Specified by:
execute
in class PSObject
getDouble
public abstract double getDouble()
getInt
public abstract int getInt()
Copyright © 2000-2003 FreeHEP, All Rights Reserved.