org.freehep.postscript
Class PSPackedArray
java.lang.Object
org.freehep.postscript.PSObject
org.freehep.postscript.PSComposite
org.freehep.postscript.PSPackedArray
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- PSArray
public class PSPackedArray
- extends PSComposite
Objects for PostScript Processor, as defined in 3.3 Data Types and Objects
- Version:
- $Id: PSPackedArray.java 8951 2006-09-12 21:44:14Z duns $
- Author:
- Mark Donszelmann
Fields inherited from class org.freehep.postscript.PSObject |
name |
array
protected PSObject[] array
start
protected int start
length
protected int length
PSPackedArray
protected PSPackedArray(String name,
PSObject[] a,
int index,
int count)
PSPackedArray
protected PSPackedArray(int n)
PSPackedArray
public PSPackedArray(PSObject[] a)
PSPackedArray
public PSPackedArray(float[] f)
PSPackedArray
public PSPackedArray(double[] d)
PSPackedArray
public PSPackedArray(String[] s)
execute
public boolean execute(OperandStack os)
- Specified by:
execute
in class PSObject
getType
public String getType()
- Specified by:
getType
in class PSObject
get
public PSObject get(int i)
getInteger
public int getInteger(int i)
getName
public PSName getName(int i)
getDictionary
public PSDictionary getDictionary(int i)
bind
public void bind(int i,
PSOperator op)
size
public int size()
subPackedArray
public PSPackedArray subPackedArray(int index,
int count)
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
copy
public PSObject copy()
- Specified by:
copy
in class PSObject
toFloats
public float[] toFloats()
toDoubles
public double[] toDoubles()
toObjects
public PSObject[] toObjects()
cvs
public String cvs()
- Specified by:
cvs
in class PSObject
toString
public String toString()
- Overrides:
toString
in class PSObject
toPrint
public String toPrint()
- Overrides:
toPrint
in class PSObject
Copyright © 2000-2006 FreeHEP. All Rights Reserved.