Method ADT.Stack()->_search()
- Method
_search
intsearch(ADT.Stack from,mixeditem)- 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.