FreeHEP API
Version current

org.freehep.postscript
Class ArithmeticOperator

java.lang.Object
  extended byorg.freehep.postscript.PSObject
      extended byorg.freehep.postscript.PSSimple
          extended byorg.freehep.postscript.PSOperator
              extended byorg.freehep.postscript.ArithmeticOperator
All Implemented Interfaces:
Cloneable

public class ArithmeticOperator
extends PSOperator

Arithmetic Operators for PostScript Processor

Version:
$Id: ArithmeticOperator.java,v 1.4 2004/01/12 20:19:12 duns Exp $
Author:
Mark Donszelmann
Source Code:
ArithmeticOperator.java

Field Summary
static Class[] operators
           
protected  PSRandom random
           
 
Fields inherited from class org.freehep.postscript.PSOperator
operandTypes
 
Fields inherited from class org.freehep.postscript.PSObject
name
 
Constructor Summary
ArithmeticOperator()
           
 
Method Summary
 boolean execute(OperandStack os)
           
 
Methods inherited from class org.freehep.postscript.PSOperator
checkAndExecute, clone, copy, cvs, equals, getName, getType, hashCode, toString
 
Methods inherited from class org.freehep.postscript.PSObject
error, isExecutable, isLiteral, setExecutable, setLiteral, setName, toPrint
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

random

protected PSRandom random

operators

public static Class[] operators
Constructor Detail

ArithmeticOperator

public ArithmeticOperator()
Method Detail

execute

public boolean execute(OperandStack os)
Specified by:
execute in class PSObject

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.