| Module: | libutil | Package: | org.milescript.util | Parent: | Object | Generated by MilescriptCompiler (Copyright 2008, Point5u LLC.) |
org.milescript.util.Collection<U>
Methods
|
add boolean add(U object) Ensures that this collection contains the specified element (optional operation).
Parameters
|
||||||||||
|
addAll boolean addAll(Collection<U> c) Adds all of the elements in the specified collection to this collection (optional operation).
Parameters
|
||||||||||
|
clear boolean clear() Removes all of the elements from this collection (optional operation).
|
||||
|
contains boolean contains(U object) Returns true if this collection contains the specified element.
Parameters
|
||||||||||
|
containsAll boolean containsAll(Collection<U> c) Returns true if this collection contains all of the elements in the specified collection.
Parameters
|
||||||||||
|
equals boolean equals(Collection<U> c) Compares the specified Collection with this collection for equality.
Parameters
|
||||||||||
|
isEmpty boolean isEmpty() Returns true if this collection contains no elements.
|
||||
|
remove boolean remove(U object) Removes a single instance of the specified element from this collection, if it is present (optional operation).
Parameters
|
||||||||||
|
removeAll boolean removeAll(Collection<U> c) Removes all this collection's elements that are also contained in the specified collection (optional operation).
Parameters
|
||||||||||
|
retainAll boolean retainAll(Collection<U> c) Retains only the elements in this collection that are contained in the specified collection (optional operation).
Parameters
|
||||||||||
|
size int size() Returns the number of elements in this collection.
|
||||
|
toArray Array<U> toArray() Returns an array containing all of the elements in this collection.
|
||||