Class: Collection

Collection

new javascript.util.Collection()

Collection.js, line 17
See:

Members

add

Ensures that this collection contains the specified element (optional operation).

addAll

Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's iterator (optional operation).

isEmpty

Returns true if this collection contains no elements.

iterator

Returns an iterator over the elements in this collection.

remove

Removes a single instance of the specified element from this collection if it is present. (optional)

size

Returns an iterator over the elements in this collection.

toArray

Returns an array containing all of the elements in this collection.