org.freehep.postscript.types
Class PSNumber
java.lang.Object
  
org.freehep.postscript.types.PSObject
      
org.freehep.postscript.types.PSSimple
          
org.freehep.postscript.types.PSNumber
- All Implemented Interfaces: 
 - Cloneable, Comparable<Object>
 
- Direct Known Subclasses: 
 - PSInteger, PSReal
 
public abstract class PSNumber
- extends PSSimple
- implements Comparable<Object>
  
Objects for PostScript Processor, as defined in 3.3 Data Types and Objects
- Author:
 
  - Mark Donszelmann
 
 
| Fields inherited from class org.freehep.postscript.types.PSSimple | 
log | 
 
| Fields inherited from class org.freehep.postscript.types.PSObject | 
name | 
 
 
 
| Methods inherited from class org.freehep.postscript.types.PSSimple | 
copy | 
 
| Methods inherited from class org.freehep.postscript.types.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()
                    throws RangeException
 
- Throws:
 RangeException
 
Copyright © 2001-2009 FreeHEP. All Rights Reserved.