## Uses of Interface
java.util.Set

- Packages that use Set
  Package | Description
  --- | ---
  java.nio.charset |
  java.text |
  java.util |
  java.util.concurrent | Utility classes commonly useful in concurrent programming.
  java.util.stream | Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.
  org.netbeans.modules.openide.util |
  org.openide.util | Client API part of the Lookup interfaces.
  org.openide.util.lookup.implspi | Interfaces intended to be used within the NetBeans Platform.

- - ### Uses of Set in java.nio.charset

    Methods in java.nio.charset that return Set
    Modifier and Type | Method and Description
    --- | ---
    `Set<String>` | Charset.`aliases()` Returns a set containing this charset's aliases.

  - ### Uses of Set in java.text

    Methods in java.text that return Set
    Modifier and Type | Method and Description
    --- | ---
    `Set<AttributedCharacterIterator.Attribute>` | AttributedCharacterIterator.`getAllAttributeKeys()` Returns the keys of all attributes defined on the iterator's text range.

    Methods in java.text with parameters of type Set
    Modifier and Type | Method and Description
    --- | ---
    `int` | AttributedCharacterIterator.`getRunLimit(Set<? extends AttributedCharacterIterator.Attribute> attributes)` Returns the index of the first character following the run with respect to the given `attributes` containing the current character.
    `int` | AttributedCharacterIterator.`getRunStart(Set<? extends AttributedCharacterIterator.Attribute> attributes)` Returns the index of the first character of the run with respect to the given `attributes` containing the current character.

  - ### Uses of Set in java.util

    Subinterfaces of Set in java.util
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `NavigableSet<E>` A `SortedSet` extended with navigation methods reporting closest matches for given search targets.
    `interface` | `SortedSet<E>` A `Set` that further provides a total ordering on its elements.

    Classes in java.util that implement Set
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractSet<E>` This class provides a skeletal implementation of the `Set` interface to minimize the effort required to implement this interface.
    `class` | `EnumSet<E extends Enum<E>>` A specialized `Set` implementation for use with enum types.
    `class` | `HashSet<E>` This class implements the `Set` interface, backed by a hash table (actually a `HashMap` instance).
    `class` | `LinkedHashSet<E>` Hash table and linked list implementation of the `Set` interface, with predictable iteration order.
    `class` | `TreeSet<E>` A `NavigableSet` implementation based on a `TreeMap`.

    Fields in java.util declared as Set
    Modifier and Type | Field and Description
    --- | ---
    `static Set` | Collections.`EMPTY_SET` The empty set (immutable).

    Methods in java.util that return Set
    Modifier and Type | Method and Description
    --- | ---
    `static <E> Set<E>` | Collections.`checkedSet(Set<E> s, Class<E> type)` Returns a dynamically typesafe view of the specified set.
    `static <T> Set<T>` | Collections.`emptySet()` Returns the empty set (immutable).
    `Set<Map.Entry<K,V>>` | WeakHashMap.`entrySet()` Returns a `Set` view of the mappings contained in this map.
    `Set<Map.Entry<K,V>>` | TreeMap.`entrySet()` Returns a `Set` view of the mappings contained in this map.
    `Set<Map.Entry<K,V>>` | SortedMap.`entrySet()` Returns a `Set` view of the mappings contained in this map.
    `Set<Map.Entry<K,V>>` | Map.`entrySet()` Returns a `Set` view of the mappings contained in this map.
    `Set<Map.Entry<K,V>>` | IdentityHashMap.`entrySet()` Returns a `Set` view of the mappings contained in this map.
    `Set<Map.Entry<K,V>>` | Hashtable.`entrySet()` Returns a `Set` view of the mappings contained in this map.
    `Set<Map.Entry<K,V>>` | HashMap.`entrySet()` Returns a `Set` view of the mappings contained in this map.
    `Set<Map.Entry<K,V>>` | EnumMap.`entrySet()` Returns a `Set` view of the mappings contained in this map.
    `abstract Set<Map.Entry<K,V>>` | AbstractMap.`entrySet()`
    `static Set<Currency>` | Currency.`getAvailableCurrencies()` Gets the set of available currencies.
    `Set<Character>` | Locale.`getExtensionKeys()` Returns the set of extension keys associated with this locale, or the empty set if it has no extensions.
    `Set<String>` | Locale.`getUnicodeLocaleAttributes()` Returns the set of unicode locale attributes associated with this locale, or the empty set if it has no attributes.
    `Set<String>` | Locale.`getUnicodeLocaleKeys()` Returns the set of Unicode locale keys defined by this locale, or the empty set if this locale has none.
    `protected Set<String>` | ResourceBundle.`handleKeySet()` Returns a `Set` of the keys contained only in this `ResourceBundle`.
    `protected Set<String>` | PropertyResourceBundle.`handleKeySet()` Returns a `Set` of the keys contained only in this `ResourceBundle`.
    `Set<K>` | WeakHashMap.`keySet()` Returns a `Set` view of the keys contained in this map.
    `Set<K>` | TreeMap.`keySet()` Returns a `Set` view of the keys contained in this map.
    `Set<K>` | SortedMap.`keySet()` Returns a `Set` view of the keys contained in this map.
    `Set<String>` | ResourceBundle.`keySet()` Returns a `Set` of all keys contained in this `ResourceBundle` and its parent bundles.
    `Set<K>` | Map.`keySet()` Returns a `Set` view of the keys contained in this map.
    `Set<K>` | IdentityHashMap.`keySet()` Returns an identity-based set view of the keys contained in this map.
    `Set<K>` | Hashtable.`keySet()` Returns a `Set` view of the keys contained in this map.
    `Set<K>` | HashMap.`keySet()` Returns a `Set` view of the keys contained in this map.
    `Set<K>` | EnumMap.`keySet()` Returns a `Set` view of the keys contained in this map.
    `Set<K>` | AbstractMap.`keySet()` Returns a `Set` view of the keys contained in this map.
    `static <E> Set<E>` | Collections.`newSetFromMap(Map<E,Boolean> map)` Returns a set backed by the specified map.
    `static <T> Set<T>` | Collections.`singleton(T o)` Returns an immutable set containing only the specified object.
    `Set<String>` | Properties.`stringPropertyNames()` Returns a set of keys in this property list where the key and its corresponding value are strings, including distinct keys in the default property list if a key of the same name has not already been found from the main properties list.
    `static <T> Set<T>` | Collections.`synchronizedSet(Set<T> s)` Returns a synchronized (thread-safe) set backed by the specified set.
    `static <T> Set<T>` | Collections.`unmodifiableSet(Set<? extends T> s)` Returns an unmodifiable view of the specified set.

    Methods in java.util with parameters of type Set
    Modifier and Type | Method and Description
    --- | ---
    `static <E> Set<E>` | Collections.`checkedSet(Set<E> s, Class<E> type)` Returns a dynamically typesafe view of the specified set.
    `static <T> Set<T>` | Collections.`synchronizedSet(Set<T> s)` Returns a synchronized (thread-safe) set backed by the specified set.
    `static <T> Set<T>` | Collections.`unmodifiableSet(Set<? extends T> s)` Returns an unmodifiable view of the specified set.

  - ### Uses of Set in java.util.concurrent

    Classes in java.util.concurrent that implement Set
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ConcurrentSkipListSet<E>` A scalable concurrent `NavigableSet` implementation based on a `ConcurrentSkipListMap`.
    `class` | `CopyOnWriteArraySet<E>` A `Set` that uses an internal `CopyOnWriteArrayList` for all of its operations.

    Methods in java.util.concurrent that return Set
    Modifier and Type | Method and Description
    --- | ---
    `Set<Map.Entry<K,V>>` | ConcurrentSkipListMap.`entrySet()` Returns a `Set` view of the mappings contained in this map.
    `Set<Map.Entry<K,V>>` | ConcurrentHashMap.`entrySet()`
    `Set<K>` | ConcurrentHashMap.`keySet()`

  - ### Uses of Set in java.util.stream

    Methods in java.util.stream that return Set
    Modifier and Type | Method and Description
    --- | ---
    `Set<Collector.Characteristics>` | Collector.`characteristics()` Returns a `Set` of `Collector.Characteristics` indicating the characteristics of this Collector.

    Methods in java.util.stream that return types with arguments of type Set
    Modifier and Type | Method and Description
    --- | ---
    `static <T> Collector<T,?,Set<T>>` | Collectors.`toSet()` Returns a `Collector` that accumulates the input elements into a new `Set`.

  - ### Uses of Set in org.netbeans.modules.openide.util

    Methods in org.netbeans.modules.openide.util that return Set
    Modifier and Type | Method and Description
    --- | ---
    `Set<String>` | ServiceProviderProcessor.`getSupportedAnnotationTypes()`
    `Set<String>` | NamedServiceProcessor.`getSupportedAnnotationTypes()`

    Methods in org.netbeans.modules.openide.util with parameters of type Set
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | ServiceProviderProcessor.`handleProcess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)`
    `protected boolean` | NamedServiceProcessor.`handleProcess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)`

  - ### Uses of Set in org.openide.util

    Methods in org.openide.util that return Set
    Modifier and Type | Method and Description
    --- | ---
    `Set<Class<? extends T>>` | Lookup.Result.`allClasses()` Get all classes represented in the result.

  - ### Uses of Set in org.openide.util.lookup.implspi

    Methods in org.openide.util.lookup.implspi with parameters of type Set
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract boolean` | AbstractServiceProviderProcessor.`handleProcess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)` The regular body of `AbstractServiceProviderProcessor.process(java.util.Set<? extends javax.lang.model.element.TypeElement>, javax.annotation.processing.RoundEnvironment)`.
    `boolean` | AbstractServiceProviderProcessor.`process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)`

Copyright © 2025 API Design. All Rights Reserved.