Set Interface
[ Home ] [ Up ] [ Set Interface ] [ HashSet Class ] [ SortedSet Interface ] [ TreeSet Class ] [ TreeSet with Comparator ]

 

 

The Set interface enforces the rule that the collection not contain duplicates:
Collection
    List
    Set
        SortedSet
Comparable (in java.lang package)
Comparator
Enumeration
Iterator
    ListIterator
Map
    SortedMap

Note that Set is a sub-interface of Collection.  

 

This page was last modified on 02 October, 2007