# Uses of Class
java.util.HashSet

Packages that use HashSet
Package
Description
java.util
Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.
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
  Description
  `class`
  `LinkedHashSet<E>`
  Hash table and linked list implementation of the `Set` interface, with predictable iteration order.
  Methods in java.util that return HashSet
  Modifier and Type
  Method
  Description
  `static <T> HashSet<T>`
  HashSet.`newHashSet(int numElements)`
  Creates a new, empty HashSet suitable for the expected number of elements.

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

  Subclasses of HashSet in javax.print.attribute.standard
  Modifier and Type
  Class
  Description
  `final 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.