|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.foray.ps.PsNumber
org.foray.ps.PsReal
public class PsReal
Class representing PostScript object that is a real number.
| Constructor Summary | |
|---|---|
PsReal(BigDecimal value)
Constructor for a BigDecimal value. |
|
| Method Summary | |
|---|---|
PsReal |
clone()
|
static PsReal |
create(PsInterpreter4a interpreter,
byte[] input)
Static method to attempt to create a PSReal instance, if the input qualifies. |
PsReal |
duplicate()
This is a shallow copy. |
PsName |
getTypeName()
Needed for the "type" operator. |
boolean |
isComposite()
The method should be overridden by composite objects. |
boolean |
isExecutable()
Indicates whether this object is executable. |
String |
toString()
|
| Methods inherited from class org.foray.ps.PsNumber |
|---|
add, compareTo, divide, equals, getDoubleValue, getFloatValue, getValue, isAlphabetic, isComparable, isMember, isNumeral, multiply, negate, round, subtract |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PsReal(BigDecimal value)
value - The value to encapsulate.| Method Detail |
|---|
public PsReal clone()
clone in class PsNumber
public static PsReal create(PsInterpreter4a interpreter,
byte[] input)
interpreter - The parent interpreter.input - The byte array containing the content to be converted to
a PSReal instance.
public PsReal duplicate()
PsObject
public boolean isExecutable()
PsObject
public PsName getTypeName()
PsObject
public String toString()
toString in class Objectpublic boolean isComposite()
PsObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||