| Name | Signature and Synopsis |
|---|---|
add | void add ( Object collection, Object element)Inserts the specified element at the specified position in this collection. |
addAll | boolean addAll ( Object collection, Object collection2 )Inserts all of the elements in the specified collection into this collection at the specified position. |
clear | void clear ( Object collection )Removes all of the elements from this collection. |
contains | boolean contains ( Object collection, Object element )Returns true if this collection contains the specified element. |
containsAll | boolean containsAll ( Object collection, Object collection2 )Returns true if this collection contains all of the elements of the specified collection. |
iterator | Object iterator ( Object collection )Returns an iterator over the elements in this collection in proper sequence. |
remove | boolean remove ( Object collection, Object element )Removes the first occurrence of the specified element from this collection, if it is present. |
removeAll | boolean removeAll ( Object collection, Object collection2 )Removes from this collection all of its elements that are contained in the specified collection. |
retainAll | boolean retainAll ( Object collection, Object collection2 )Retains only the elements in this collection that are contained in the specified collection. |
size | int size ( Object collection )Returns the number of elements in this collection. |
toArray | Object[] toArray ( Object collection, Object ... a ) |