Methods Summary |
---|
public boolean | isEmpty()
|
public java.lang.Object | peek()Provides a look at the next object on the stack without removing it.
|
public java.lang.Object | pop()Removes the next object on the stack and returns it.
|
public java.lang.Object | push(java.lang.Object ob)Places an object on the stack.
|
public int | search(java.lang.Object ob)Provides the location of the specified object on the stack. The number
1 means the first object, 2 the second, and so on.
|
public int | size()
|