fr.paris5.shaman.spirit.logicsheet
Class TreeProcessingStack
java.lang.Object
|
+--fr.paris5.shaman.spirit.logicsheet.TreeProcessingStack
- public final class TreeProcessingStack
- extends java.lang.Object
Stack for de-recursifying a tree processing.
- Version:
- $Id: TreeProcessingStack.java,v 1.1 2002/06/25 08:33:10 caillette Exp $
- Author:
- Laurent Caillette
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
stack
private final java.util.Stack stack
NO_FLAGS
public static final int NO_FLAGS
HAS_CHILDREN
public static final int HAS_CHILDREN
TreeProcessingStack
public TreeProcessingStack()
isEmpty
public boolean isEmpty()
getTop
public java.lang.Object getTop()
isTopProcessed
public boolean isTopProcessed()
setTopProcessed
public void setTopProcessed()
getFlagsForTop
public int getFlagsForTop()
pop
public void pop()
push
public void push(java.lang.Object item)
push
public void push(java.lang.Object item,
int flags)
hasChildrenFlag
public static final boolean hasChildrenFlag(int flags)
Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.