class documentation
Implement a stack where elements can be pushed on and you can move back and forth. But no pop. Should mimic home / back / forward in a browser.
Method | __call__ |
return the current element, or None |
Method | __init__ |
Undocumented |
Method | back |
move the position back and return the current element |
Method | bubble |
raise o to the top of the stack and return o. o must b in the stack |
Method | clear |
empty the stack |
Method | empty |
Undocumented |
Method | forward |
move the position forward and return the current element |
Method | home |
push the first element onto the top of the stack |
Method | push |
push object onto stack at current position - all elements occurring later than the current position are discarded |
Method | remove |
remove element o from the stack |
Instance Variable | _default |
Undocumented |
Instance Variable | _elements |
Undocumented |
Instance Variable | _pos |
Undocumented |