|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectubc.cs.JLog.Foundation.jGoalStack
ubc.cs.JLog.Foundation.jDebugGoalStack
public class jDebugGoalStack
jDebugGoalStack
is the default goal stack implementation.
It is efficient, but provides ways to view the stack contents. It is separated
from jGoalStack
for reasons of potentially divergent design goals.
The design goal of this class is visability of the stack for purposes of
debugging.
Field Summary |
---|
Fields inherited from class ubc.cs.JLog.Foundation.jGoalStack |
---|
head |
Constructor Summary | |
---|---|
jDebugGoalStack()
|
Method Summary | |
---|---|
java.util.Vector |
getStackCopy()
Provides a vectorized duplicate of the goal stack. |
java.util.Vector |
getTopGoals(jGoal bottom)
|
jGoal |
peekTopGoal()
|
Methods inherited from class ubc.cs.JLog.Foundation.jGoalStack |
---|
cut, empty, peek, peekn, pop, push |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ubc.cs.JLog.Foundation.iGoalStack |
---|
cut, empty, peek, peekn, pop, push |
Constructor Detail |
---|
public jDebugGoalStack()
Method Detail |
---|
public java.util.Vector getTopGoals(jGoal bottom)
public jGoal peekTopGoal()
public java.util.Vector getStackCopy()
iDebugGoalStack
getStackCopy
in interface iDebugGoalStack
Vector
of jGoal
s where the zero index
element in the vector is the stack bottom, and the element with
the largest index is the stack top.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |