WS.Common.Stack

Functions

NameSignature and Synopsis
clearvoid clear(Object stackObject)
Clear the contents of the stack.
createObject create(String stackID)
Creates a new Stack structure or returns one if exists.
isEmptyboolean isEmpty(Object stackObject)
Check whether this stack is empty or not.
peekObject peek(Object stackObject)
Returns the top element in the stack
pushObject push(Object stackObject, Object value)
Pushes an element to the top of the stack.
toArrayObject toArray(Object stackObject, String arrayClassType, String classloaderClass)
Returns an array containing all of the elements in this Stack.
toArrayListObject toArrayList(Object stackObject)
Returns an ArrayList containing all of the elements in this Stack.