Generated by JsDoc Toolkit 2.3.2 on Sun Jun 13 2010 17:28:19 GMT+0200 (CEST)
HTML template: Codeview

Class calitha.collections.TreeSet


Extends calitha.collections.AbstractSet, calitha.collections.INavigableSet.

Defined in: TreeSet.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
A NavigableSet implementation based on a TreeMap.
Methods borrowed from class calitha.collections.INavigableSet:
ceiling, descendingIterator, descendingSet, floor, higher, iterator, lower, pollFirst, pollLast
Methods borrowed from class calitha.collections.ISortedSet:
comparator, first, headSet, last, subSet, tailSet
Methods borrowed from class calitha.collections.ICollection:
add, addAll, clear, contains, containsAll, equals, forEach, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray
Class Detail
calitha.collections.TreeSet(arg, arg)
A NavigableSet implementation based on a TreeMap.

This class is similar to the Java TreeSet class

This set needs a comparator object or function, or all elements must be IComparable. Take a look at the comparator functions in the calitha.collections namespace.

Parameters:
{(calitha.collections.INavigableMap|calitha.collections.IComparator|Function)?} arg
optional argument which can be a
arg