Method Summary |
|
public void | add(Object o) Add an object to the end of the list. |
public void | append(Object o) Append an object to the end of the list. |
protected Object | deleteHead() Delete the object at the head of the list. |
public Object | elementAt(int i) Get the ith element in the list.
Parameters: i - the index (from 0) of the requested element. |
public Enumeration | elements() |
public int | height() |
public boolean | includes(Object o) Answers whether or not an object is contained in the list
Parameters: o - the object to test for inclusion. |
protected void | insertHead(Object o) Insert an object at the head of the list. |
public int | length() Return the length of the list. |
public Object | pop() Pop the top element of the stack off. |
public void | push(Object o) Push an object onto the stack. |
public Object | top() |