org.freehep.postscript
Class PostScriptStack
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.Vector
java.util.Stack
org.freehep.postscript.PostScriptStack
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable, Collection, List, RandomAccess
- Direct Known Subclasses:
- DictionaryStack, ExecutableStack, GStateStack, OperandStack
public class PostScriptStack
- extends Stack
PostScript Abstract Stack for PostScript Processor
- Version:
- $Id: PostScriptStack.java 8951 2006-09-12 21:44:14Z duns $
- Author:
- Mark Donszelmann
- See Also:
- Serialized Form
Field Summary |
protected int |
marker
|
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, toString, trimToSize |
marker
protected int marker
PostScriptStack
public PostScriptStack()
push
public Object push(Object o)
- Overrides:
push
in class Stack
push
public Object push(String s)
peekObject
public PSObject peekObject()
peekObject
public PSObject peekObject(int i)
pop
public Object pop()
- Overrides:
pop
in class Stack
popObject
public PSObject popObject()
countToMark
public int countToMark()
popMark
public PSMark popMark()
mark
public void mark()
reset
public void reset()
copyInto
public void copyInto(PSArray a)
printStack
public void printStack()
Copyright © 2000-2006 FreeHEP. All Rights Reserved.