org.freehep.postscript.types
Class PSReal
java.lang.Object
  
org.freehep.postscript.types.PSObject
      
org.freehep.postscript.types.PSSimple
          
org.freehep.postscript.types.PSNumber
              
org.freehep.postscript.types.PSReal
- All Implemented Interfaces: 
 - Cloneable, Comparable<Object>
 
public class PSReal
- extends PSNumber
 
Objects for PostScript Processor, as defined in 3.3 Data Types and Objects
- Version:
 
  - $Id: src/main/java/org/freehep/postscript/PSReal.java 17245790f2a9
          2006/09/12 21:44:14 duns $
 
- Author:
 
  - Mark Donszelmann
 
 
| Fields inherited from class org.freehep.postscript.types.PSSimple | 
log | 
 
| Fields inherited from class org.freehep.postscript.types.PSObject | 
name | 
 
| 
Constructor Summary | 
PSReal(double v)
 
            | 
 
 
 
| Methods inherited from class org.freehep.postscript.types.PSSimple | 
copy | 
 
 
 
PSReal
public PSReal(double v)
getType
public String getType()
- Specified by:
 getType in class PSObject
 
 
getValue
public double getValue()
 
getDouble
public double getDouble()
- Specified by:
 getDouble in class PSNumber
 
 
getInt
public int getInt()
           throws RangeException
- Specified by:
 getInt in class PSNumber
 
- Throws:
 RangeException
 
compareTo
public int compareTo(Object o)
 
hashCode
public int hashCode()
- Specified by:
 hashCode in class PSObject
 
 
equals
public boolean equals(Object o)
- Specified by:
 equals in class PSObject
 
 
clone
public Object clone()
             throws CloneNotSupportedException
- Specified by:
 clone in class PSObject
 
- Throws:
 CloneNotSupportedException
 
cvs
public String cvs()
- Specified by:
 cvs in class PSObject
 
 
toString
public String toString()
- Overrides:
 toString in class PSObject
 
 
Copyright © 2001-2009 FreeHEP. All Rights Reserved.