Class: TreeSet

TreeSet

new javascript.util.TreeSet()

TreeSet.js, line 24
See:

Extends

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).

privatearray_Array

contains

Returns true if this set contains the specified element. More formally, returns true if and only if this set contains an element e such that (o==null ? e==null : o.equals(e)).

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.