Stack.search

Stack.search

Class Overview | Class Members | This Package | All Packages

Syntax
public synchronized int search( Object o )
Parameters
o
the desired object.
Returns
the distance from the top of the stack where the object is] located; the return value -1 indicates that the object is not on the stack.
Description
Returns where an object is on this stack.