Method Summary |
|
final synchronized void | add(WakeupCondition o) Appends the specified element to the end of this list. |
final int | arraySize() Returns the size of entry use in toArray() number of elements
in this list. |
final synchronized void | clear() Removes all of the elements from this list. |
final synchronized void | clearMirror() |
final protected synchronized Object | clone() Returns a shallow copy of this ArrayList instance. |
final synchronized boolean | contains(WakeupCondition o) Returns true if this list contains the specified element. |
final synchronized Object | get(int index) Returns the element at the specified position in this list.
Parameters: index - index of element to return. |
final Class | getComponentType() |
final synchronized int | indexOf(WakeupCondition o) Searches for the last occurence of the given argument, testing
for equality using the equals method. |
final static void | init(WakeupCondition obj, int len) |
final boolean | isEmpty() Tests if this list has no elements. |
final synchronized void | remove(int index) Removes the element at the specified position in this list. |
final synchronized boolean | remove(WakeupCondition o) Removes the specified element in this list.
Replace the removed element by the last one.
Parameters: o - the element to removed. |
final synchronized Object | removeLastElement() Removes the element at the last position in this list. |
final synchronized void | set(int index, WakeupCondition o) Replaces the element at the specified position in this list with
the specified element.
Parameters: index - index of element to replace. Parameters: o - element to be stored at the specified position. |
final int | size() Returns the number of elements in this list. |
final synchronized Object[] | toArray(boolean copy) Returns an array containing all of the elements in this list.
The size of the array may longer than the actual size. |
final synchronized Object[] | toArray() Returns an array containing all of the elements in this list.
The size of the array may longer than the actual size. |
final synchronized Object[] | toArray(WakeupCondition startElement) Returns an array containing elements starting from startElement
all of the elements in this list. |
public synchronized String | toString() |
final synchronized void | trimToSize() Trims the capacity of this ArrayList instance to be the
list's current size. |