org.freehep.postscript
Class PSInteger
java.lang.Object
|
+--org.freehep.postscript.PSObject
|
+--org.freehep.postscript.PSSimple
|
+--org.freehep.postscript.PSNumber
|
+--org.freehep.postscript.PSInteger
- All Implemented Interfaces:
- Cloneable, Comparable
- public class PSInteger
- extends PSNumber
Objects for PostScript Processor, as defined in 3.3 Data Types and Objects
- Version:
- $Id: PSInteger.java,v 1.2 2001/06/19 09:39:25 duns Exp $
- Author:
- Mark Donszelmann
Fields inherited from class org.freehep.postscript.PSObject |
name |
Methods inherited from class org.freehep.postscript.PSSimple |
copy |
PSInteger
public PSInteger(double v)
PSInteger
public PSInteger(long v)
PSInteger
public PSInteger(int v)
getType
public String getType()
- Specified by:
getType
in class PSObject
getValue
public int getValue()
getDouble
public double getDouble()
- Specified by:
getDouble
in class PSNumber
getInt
public int getInt()
- Specified by:
getInt
in class PSNumber
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()
- Specified by:
clone
in class PSObject
cvs
public String cvs()
- Specified by:
cvs
in class PSObject
toString
public String toString()
- Overrides:
toString
in class PSObject
Copyright © 2000-2003 FreeHEP, All Rights Reserved.