Set Interface


  HashSet

    HashSet class
    Add element to hash set
    Clear a hash set
    Clone a hash set
    If a hash set contain a certain element
    Is this set containing a certain element
    Get an iterator from a hash set
    Remove an element from hash set
    Get the size of a hash set

 TreeSet

    TreeSet class
    Create TreeSet objects
    Add elements to a TreeSet
    Get the least and greatest element in this TreeSet
    Clear a TreeSet
    Clone a TreeSet
    Get the comparator used by this TreeSet
    If this TreeSet contains a certain element
    Get the descending iterator and descending set
    The first and last element in this TreeSet
    Get the head set and tail set
    Is this TreeSet empty
    Get an iterator over the elements in this set in ascending order
    Get and remove first and last element in this tree
    Remove element from TreeSet
    Get the size of this TreeSet
    Get a subset from this TreeSet

 LinkedHashSet

    LinkedHashSet class
    Check if an element exists in LinkedHashSet using contains method
    Copy all elements of LinkedHashSet to an Object Array