Uses of Class java.util.HashMap (Java SE 26 & JDK 26)
Description: use: module: java.base, package: java.util, class: HashMap

# Uses of Class
java.util.HashMap

Packages that use HashMap
Package
Description
java.beans.beancontext
Provides classes and interfaces relating to bean context.
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 HashMap in java.beans.beancontext

  Fields in java.beans.beancontext declared as HashMap
  Modifier and Type
  Field
  Description
  `protected HashMap<Object, BeanContextSupport.BCSChild>`
  BeanContextSupport.`children`
  Deprecated, for removal: This API element is subject to removal in a future version.
  all accesses to the `protected HashMap children` field shall be synchronized on that object.
  `protected HashMap<Object, BeanContextServicesSupport.BCSSServiceProvider>`
  BeanContextServicesSupport.`services`
  Deprecated, for removal: This API element is subject to removal in a future version.
  all accesses to the `protected transient HashMap services` field should be synchronized on that object

- ## Uses of HashMap in java.util

  Subclasses of HashMap in java.util
  Modifier and Type
  Class
  Description
  `class`
  `LinkedHashMap<K,V>`
  Hash table and linked list implementation of the `Map` interface, with well-defined encounter order.
  Methods in java.util that return HashMap
  Modifier and Type
  Method
  Description
  `static <K,V> HashMap<K,V>`
  HashMap.`newHashMap(int numMappings)`
  Creates a new, empty HashMap suitable for the expected number of mappings.

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

  Subclasses of HashMap in javax.print.attribute.standard
  Modifier and Type
  Class
  Description
  `final class`
  `PrinterStateReasons`
  Class `PrinterStateReasons` is a printing attribute class, a set of enumeration values, that provides additional information about the printer's current state, i.e., information that augments the value of the printer's `PrinterState` attribute.