Method Summary |
|
public synchronized void | addToEnd(Object elem) Add the specified element to the end of the list. |
public synchronized void | addToHead(Object elem) Add the specified element to the head of the list. |
public synchronized Object | enumerate() Starts an enumeration of all the elements in this list. |
public synchronized Object | getFirst() Return the first element in the list. |
public static void | main(String args) |
public synchronized Object | next() Gets the next element in the enumeration. |
public synchronized void | remove(Object elem) Remove the specified element from the list. |