org.freehep.postscript
Class PostScriptStack

java.lang.Object
  extended by java.util.AbstractCollection
      extended by java.util.AbstractList
          extended by java.util.Vector
              extended by java.util.Stack
                  extended by 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
           
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
PostScriptStack()
           
 
Method Summary
 void copyInto(PSArray a)
           
 int countToMark()
           
 void mark()
           
 PSObject peekObject()
           
 PSObject peekObject(int i)
           
 Object pop()
           
 PSMark popMark()
           
 PSObject popObject()
           
 void printStack()
           
 Object push(Object o)
           
 Object push(String s)
           
 void reset()
           
 
Methods inherited from class java.util.Stack
empty, peek, search
 
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
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Field Detail

marker

protected int marker
Constructor Detail

PostScriptStack

public PostScriptStack()
Method Detail

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.