Uses of Class java.util.HashSet (Java Platform SE 8 )
Date: 2026-03-16

## Uses of Class
java.util.HashSet

- Packages that use HashSet
  Package | Description
  --- | ---
  java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
  javax.print.attribute.standard | Package javax.print.attribute.standard contains classes for specific printing attributes.

- - ### Uses of HashSet in java.util

    Subclasses of HashSet in java.util
    Modifier and Type | Class and Description
    --- | ---
    `class` | `LinkedHashSet<E>` Hash table and linked list implementation of the `Set` interface, with predictable iteration order.

  - ### Uses of HashSet in javax.print.attribute.standard

    Subclasses of HashSet in javax.print.attribute.standard
    Modifier and Type | Class and Description
    --- | ---
    `class` | `JobStateReasons` Class JobStateReasons is a printing attribute class, a set of enumeration values, that provides additional information about the job's current state, i.e., information that augments the value of the job's `JobState` attribute.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.