Uses of Interface
java.util.Set

Packages that use Set
java.awt   
java.util   
 

Uses of Set in java.awt
 

Methods in java.awt that return Set
 Set RenderingHints.keySet()
          Returns a Set view of the Keys contained in this RenderingHints.
 Set RenderingHints.entrySet()
          Returns a Set view of the mappings contained in this RenderingHints.
 

Uses of Set in java.util
 

Subinterfaces of Set in java.util
 interface SortedSet
          A set that further guarantees that its iterator will traverse the set in ascending element order, sorted according to the natural ordering of its elements (see Comparable), or by a Comparator provided at sorted set creation time.
 

Classes in java.util that implement Set
 class AbstractSet
          This class provides a skeletal implementation of the Set interface to minimize the effort required to implement this interface.
(package private) static class Collections.SynchronizedSet
           
(package private) static class Collections.SynchronizedSortedSet
           
(package private) static class Collections.UnmodifiableMap.UnmodifiableEntrySet
          We need this class in addition to UnmodifiableSet as Map.Entries themselves permit modification of the backing Map via their setValue operation.
(package private) static class Collections.UnmodifiableSet
           
(package private) static class Collections.UnmodifiableSortedSet
           
 class HashSet
          This class implements the Set interface, backed by a hash table (actually a HashMap instance).
private  class Hashtable.EntrySet
           
private  class Hashtable.KeySet
           
private  class TreeMap.SubMap.EntrySetView
           
 class TreeSet
          This class implements the Set interface, backed by a TreeMap instance.
private  class WeakHashMap.EntrySet
           
 

Fields in java.util declared as Set
private  Set AbstractMap.keySet
           
private  Set WeakHashMap.entrySet
           
(package private)  Set WeakHashMap.EntrySet.hashEntrySet
           
private  Set HashMap.keySet
           
private  Set HashMap.entrySet
           
static Set Collections.EMPTY_SET
          The empty set (immutable).
private  Set Collections.UnmodifiableMap.keySet
           
private  Set Collections.UnmodifiableMap.entrySet
           
private  Set Collections.SynchronizedMap.keySet
           
private  Set Collections.SynchronizedMap.entrySet
           
private  Set TreeSet.keySet
           
private  Set Hashtable.keySet
           
private  Set Hashtable.entrySet
           
private  Set TreeMap.keySet
          These fields are initialized to contain an instance of the appropriate view the first time this view is requested.
private  Set TreeMap.entrySet
           
private  Set TreeMap.SubMap.entrySet
           
 

Methods in java.util that return Set
 Set AbstractMap.keySet()
          Returns a Set view of the keys contained in this map.
abstract  Set AbstractMap.entrySet()
          Returns a set view of the mappings contained in this map.
 Set WeakHashMap.entrySet()
          Returns a Set view of the mappings in this map.
 Set HashMap.keySet()
          Returns a set view of the keys contained in this map.
 Set HashMap.entrySet()
          Returns a collection view of the mappings contained in this map.
static Set Collections.unmodifiableSet(Set s)
          Returns an unmodifiable view of the specified set.
static Set Collections.synchronizedSet(Set s)
          Returns a synchronized (thread-safe) set backed by the specified set.
(package private) static Set Collections.synchronizedSet(Set s, Object mutex)
           
static Set Collections.singleton(Object o)
          Returns an immutable set containing only the specified object.
 Set Collections.UnmodifiableMap.keySet()
           
 Set Collections.UnmodifiableMap.entrySet()
           
 Set Collections.SynchronizedMap.keySet()
           
 Set Collections.SynchronizedMap.entrySet()
           
 Set Map.keySet()
          Returns a set view of the keys contained in this map.
 Set Map.entrySet()
          Returns a set view of the mappings contained in this map.
 Set Hashtable.keySet()
          Returns a Set view of the keys contained in this Hashtable.
 Set Hashtable.entrySet()
          Returns a Set view of the entries contained in this Hashtable.
 Set TreeMap.keySet()
          Returns a Set view of the keys contained in this map.
 Set TreeMap.entrySet()
          Returns a set view of the mappings contained in this map.
 Set TreeMap.SubMap.entrySet()
           
 

Methods in java.util with parameters of type Set
static Set Collections.unmodifiableSet(Set s)
          Returns an unmodifiable view of the specified set.
static Set Collections.synchronizedSet(Set s)
          Returns a synchronized (thread-safe) set backed by the specified set.
(package private) static Set Collections.synchronizedSet(Set s, Object mutex)
           
 

Constructors in java.util with parameters of type Set
Collections.UnmodifiableSet.Collections.UnmodifiableSet(Set s)
           
Collections.UnmodifiableMap.UnmodifiableEntrySet.Collections.UnmodifiableMap.UnmodifiableEntrySet(Set s)
           
Collections.SynchronizedSet.Collections.SynchronizedSet(Set s)
           
Collections.SynchronizedSet.Collections.SynchronizedSet(Set s, Object mutex)