ubc.cs.JLog.Foundation
Class jDebugGoalStack
java.lang.Object
ubc.cs.JLog.Foundation.jGoalStack
ubc.cs.JLog.Foundation.jDebugGoalStack
- All Implemented Interfaces:
- iDebugGoalStack, iGoalStack
public class jDebugGoalStack
- extends jGoalStack
- implements iDebugGoalStack
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.
- Version:
- %I%, %G%
- Author:
- Glendon Holst
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jDebugGoalStack
public jDebugGoalStack()
getTopGoals
public Vector getTopGoals(jGoal bottom)
peekTopGoal
public jGoal peekTopGoal()
getStackCopy
public Vector getStackCopy()
- Description copied from interface:
iDebugGoalStack
- Provides a vectorized duplicate of the goal stack.
- Specified by:
getStackCopy in interface iDebugGoalStack
- Returns:
Vector of jGoals where the zero index
element in the vector is the stack bottom, and the element with
the largest index is the stack top.
Copyright © 2011. All Rights Reserved.