org.freehep.postscript
Class PSArray

java.lang.Object
  extended by org.freehep.postscript.PSObject
      extended by org.freehep.postscript.PSComposite
          extended by org.freehep.postscript.PSPackedArray
              extended by org.freehep.postscript.PSArray
All Implemented Interfaces:
Cloneable

public class PSArray
extends PSPackedArray

Objects for PostScript Processor, as defined in 3.3 Data Types and Objects

Version:
$Id: PSArray.java 8951 2006-09-12 21:44:14Z duns $
Author:
Mark Donszelmann

Field Summary
 
Fields inherited from class org.freehep.postscript.PSPackedArray
array, length, start
 
Fields inherited from class org.freehep.postscript.PSComposite
access, EXECUTE_ONLY, NONE, READ_ONLY, UNLIMITED
 
Fields inherited from class org.freehep.postscript.PSObject
name
 
Constructor Summary
PSArray(double[] d)
           
PSArray(float[] f)
           
PSArray(int n)
           
PSArray(PSObject[] a)
           
PSArray(String[] s)
           
 
Method Summary
 Object clone()
           
 String cvs()
           
 boolean equals(Object o)
           
 String getType()
           
 void set(double[] d)
           
 void set(int i, double d)
           
 void set(int i, int d)
           
 void set(int i, PSObject o)
           
 void set(int i, String s)
           
 PSArray subArray(int index, int count)
           
 String toString()
           
 
Methods inherited from class org.freehep.postscript.PSPackedArray
bind, copy, execute, get, getDictionary, getInteger, getName, hashCode, size, subPackedArray, toDoubles, toFloats, toObjects, toPrint
 
Methods inherited from class org.freehep.postscript.PSComposite
accessExecute, accessRead, accessWrite, changeAccess
 
Methods inherited from class org.freehep.postscript.PSObject
checkAndExecute, error, isExecutable, isLiteral, setExecutable, setLiteral, setName
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PSArray

public PSArray(int n)

PSArray

public PSArray(PSObject[] a)

PSArray

public PSArray(float[] f)

PSArray

public PSArray(double[] d)

PSArray

public PSArray(String[] s)
Method Detail

getType

public String getType()
Overrides:
getType in class PSPackedArray

set

public void set(int i,
                PSObject o)

set

public void set(int i,
                String s)

set

public void set(int i,
                double d)

set

public void set(int i,
                int d)

set

public void set(double[] d)

subArray

public PSArray subArray(int index,
                        int count)

equals

public boolean equals(Object o)
Overrides:
equals in class PSPackedArray

clone

public Object clone()
Overrides:
clone in class PSPackedArray

cvs

public String cvs()
Overrides:
cvs in class PSPackedArray

toString

public String toString()
Overrides:
toString in class PSPackedArray


Copyright © 2000-2006 FreeHEP. All Rights Reserved.