org.freehep.postscript.stacks
Class OperandStack
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector<E>
java.util.Stack<Object>
org.freehep.postscript.stacks.PostScriptStack
org.freehep.postscript.stacks.OperandStack
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<Object>, Collection<Object>, List<Object>, RandomAccess
public class OperandStack
- extends PostScriptStack
OperandStack for PostScript Processor
- Author:
- Mark Donszelmann
- See Also:
- Serialized Form
Method Summary |
boolean |
checkType(Class<?> type)
|
boolean |
checkType(Class<?>[] types)
|
boolean |
checkType(Class<?> type1,
Class<?> type2)
|
boolean |
checkType(Class<?> type1,
Class<?> type2,
Class<?> type3)
|
boolean |
checkType(Class<?> type1,
Class<?> type2,
Class<?> type3,
Class<?> type4)
|
boolean |
checkType(Class<?> type1,
Class<?> type2,
Class<?> type3,
Class<?> type4,
Class<?> type5)
|
boolean |
clearToMark()
|
void |
copy(int n)
|
DictionaryStack |
dictStack()
|
void |
dup()
|
void |
exch()
|
ExecutableStack |
execStack()
|
DSC |
getDSC()
|
void |
grestore()
|
void |
gsave()
|
PSGState |
gstate()
|
GStateStack |
gstateStack()
|
void |
index(int n)
|
boolean |
isSecure()
|
boolean |
packingMode()
|
PSArray |
popArray()
|
PSBoolean |
popBoolean()
|
PSComposite |
popComposite()
|
PSDataSource |
popDataSource()
|
PSDataTarget |
popDataTarget()
|
PSDictionary |
popDictionary()
|
PSFile |
popFile()
|
PSFontID |
popFontID()
|
PSGState |
popGState()
|
PSInteger |
popInteger()
|
PSName |
popName()
|
PSNumber |
popNumber()
|
PSPackedArray |
popPackedArray()
|
PSReal |
popReal()
|
PSSave |
popSave()
|
PSString |
popString()
|
void |
printStack()
|
void |
push(boolean b)
|
void |
push(double d)
|
void |
push(int i)
|
void |
roll(int n,
int j)
|
void |
setPackingMode(boolean state)
|
String |
toString()
|
Methods inherited from class org.freehep.postscript.stacks.PostScriptStack |
copyInto, countToMark, mark, peekObject, peekObject, pop, popMark, popObject, push, push, reset |
Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, trimToSize |
OperandStack
public OperandStack(Processor p,
PSGState gs,
boolean secure)
gstate
public PSGState gstate()
gsave
public void gsave()
grestore
public void grestore()
isSecure
public boolean isSecure()
setPackingMode
public void setPackingMode(boolean state)
packingMode
public boolean packingMode()
dictStack
public DictionaryStack dictStack()
execStack
public ExecutableStack execStack()
gstateStack
public GStateStack gstateStack()
getDSC
public DSC getDSC()
push
public void push(int i)
push
public void push(double d)
push
public void push(boolean b)
popComposite
public PSComposite popComposite()
popNumber
public PSNumber popNumber()
popInteger
public PSInteger popInteger()
popReal
public PSReal popReal()
popBoolean
public PSBoolean popBoolean()
popName
public PSName popName()
popFontID
public PSFontID popFontID()
popGState
public PSGState popGState()
popArray
public PSArray popArray()
popPackedArray
public PSPackedArray popPackedArray()
popString
public PSString popString()
popDictionary
public PSDictionary popDictionary()
popFile
public PSFile popFile()
popSave
public PSSave popSave()
popDataSource
public PSDataSource popDataSource()
popDataTarget
public PSDataTarget popDataTarget()
exch
public void exch()
dup
public void dup()
copy
public void copy(int n)
index
public void index(int n)
roll
public void roll(int n,
int j)
clearToMark
public boolean clearToMark()
checkType
public boolean checkType(Class<?> type)
checkType
public boolean checkType(Class<?> type1,
Class<?> type2)
checkType
public boolean checkType(Class<?> type1,
Class<?> type2,
Class<?> type3)
checkType
public boolean checkType(Class<?> type1,
Class<?> type2,
Class<?> type3,
Class<?> type4)
checkType
public boolean checkType(Class<?> type1,
Class<?> type2,
Class<?> type3,
Class<?> type4,
Class<?> type5)
checkType
public boolean checkType(Class<?>[] types)
printStack
public void printStack()
- Overrides:
printStack
in class PostScriptStack
toString
public String toString()
- Overrides:
toString
in class Vector<Object>
Copyright © 2001-2009 FreeHEP. All Rights Reserved.