Method ADT.Stack()->_search()
- Method _search
int search(ADT.Stack from, mixed item)
- Description
Return the stack-depth to item.
This function makes it possible to use eg search() and has_value() on the stack.
int search(ADT.Stack from, mixed item)
Return the stack-depth to item.
This function makes it possible to use eg search() and has_value() on the stack.