JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util
Class JCTreeSet

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractSet
              |
              +--java.util.TreeSet
                    |
                    +--com.klg.jclass.util.JCTreeSet
All Implemented Interfaces:
Cloneable, Collection, Serializable, Set, SortedSet

public class JCTreeSet
extends TreeSet

TreeSet.

See Also:
Serialized Form

Constructor Summary
JCTreeSet()
          Constructs a new, empty TreeSet, sorted according to the elements' natural order.
JCTreeSet(Collection c)
          Constructs a new TreeSet containing the elements in the specified Collection, sorted according to the elements' natural order.
JCTreeSet(Comparator c)
          Constructs a new, empty TreeSet, sorted according to the given comparator.
JCTreeSet(Object[] items)
          Constructs a new Treeset containing the elements in the specified array, sorted according to the elements' natural order.
JCTreeSet(SortedSet s)
          Constructs a new TreeSet containing the same elements as the given SortedSet, sorted according to the same ordering.
 
Methods inherited from class java.util.TreeSet
add, addAll, clear, clone, comparator, contains, first, headSet, isEmpty, iterator, last, remove, size, subSet, tailSet
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
 

Constructor Detail

JCTreeSet

public JCTreeSet()
Constructs a new, empty TreeSet, sorted according to the elements' natural order.


JCTreeSet

public JCTreeSet(Collection c)
Constructs a new TreeSet containing the elements in the specified Collection, sorted according to the elements' natural order.

Parameters:
c -

JCTreeSet

public JCTreeSet(Comparator c)
Constructs a new, empty TreeSet, sorted according to the given comparator.

Parameters:
c -

JCTreeSet

public JCTreeSet(SortedSet s)
Constructs a new TreeSet containing the same elements as the given SortedSet, sorted according to the same ordering.

Parameters:
s -

JCTreeSet

public JCTreeSet(Object[] items)
Constructs a new Treeset containing the elements in the specified array, sorted according to the elements' natural order.

Parameters:
items -

Copyright © 2004 Quest Software Inc..
All rights reserved.