Class calitha.collections.TreeSet
Extends
calitha.collections.AbstractSet, calitha.collections.INavigableSet.
Defined in: TreeSet.js.
Constructor Attributes | Constructor Name and Description |
---|---|
calitha.collections.TreeSet(arg, arg)
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