Artemis.Stack: Types Source  

Artemis.Stack

A linked list stack implementation for the Object type.

Types Summary

TStack A Stack implementation.

Types

Type TStack
DescriptionA Stack implementation.
Methods Summary
getTop Give the current top object.
isEmpty Check whether stack is empty.
pop Pop an object from the stack.
push Push an object to the stack.
Method getTop:Object()
ReturnsThe current top object.
DescriptionGive the current top object.
Method isEmpty:Int()
Returns1 if stack is empty - otherwise 0.
DescriptionCheck whether stack is empty.
Method pop:Object()
ReturnsThe current top object.
DescriptionPop an object from the stack.
Method push(value:Object)
DescriptionPush an object to the stack.