org.freehep.postscript.types
Class PSArray
java.lang.Object
org.freehep.postscript.types.PSObject
org.freehep.postscript.types.PSComposite
org.freehep.postscript.types.PSPackedArray
org.freehep.postscript.types.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: src/main/java/org/freehep/postscript/PSArray.java 17245790f2a9
2006/09/12 21:44:14 duns $
- Author:
- Mark Donszelmann
Fields inherited from class org.freehep.postscript.types.PSObject |
log, name |
Methods inherited from class org.freehep.postscript.types.PSPackedArray |
bind, copy, execute, get, getDictionary, getInteger, getName, size, subPackedArray, toDoubles, toFloats, toObjects, toPrint |
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)
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)
hashCode
public int hashCode()
- Overrides:
hashCode
in class PSPackedArray
equals
public boolean equals(Object o)
- Overrides:
equals
in class PSPackedArray
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class PSPackedArray
- Throws:
CloneNotSupportedException
cvs
public String cvs()
- Overrides:
cvs
in class PSPackedArray
toString
public String toString()
- Overrides:
toString
in class PSPackedArray
Copyright © 2001-2009 FreeHEP. All Rights Reserved.