Uses of Interface java.util.RandomAccess (Java SE 26 & JDK 26)
Description: use: module: java.base, package: java.util, interface: RandomAccess

# Uses of Interface
java.util.RandomAccess

Packages that use RandomAccess
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.
java.util.concurrent
Utility classes commonly useful in concurrent programming.
javax.management
Provides the core classes for the Java Management Extensions.
javax.management.relation
Provides the definition of the Relation Service.

- ## Uses of RandomAccess in java.util

  Classes in java.util that implement RandomAccess
  Modifier and Type
  Class
  Description
  `class`
  `ArrayList<E>`
  Resizable-array implementation of the `List` interface.
  `class`
  `Stack<E>`
  The `Stack` class represents a last-in-first-out (LIFO) stack of objects.
  `class`
  `Vector<E>`
  The `Vector` class implements a growable array of objects.

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

  Classes in java.util.concurrent that implement RandomAccess
  Modifier and Type
  Class
  Description
  `class`
  `CopyOnWriteArrayList<E>`
  A thread-safe variant of `ArrayList` in which all mutative operations (`add`, `set`, and so on) are implemented by making a fresh copy of the underlying array.

- ## Uses of RandomAccess in javax.management

  Classes in javax.management that implement RandomAccess
  Modifier and Type
  Class
  Description
  `class`
  `AttributeList`
  Represents a list of values for attributes of an MBean.

- ## Uses of RandomAccess in javax.management.relation

  Classes in javax.management.relation that implement RandomAccess
  Modifier and Type
  Class
  Description
  `class`
  `RoleList`
  A RoleList represents a list of roles (Role objects).
  `class`
  `RoleUnresolvedList`
  A RoleUnresolvedList represents a list of RoleUnresolved objects, representing roles not retrieved from a relation due to a problem encountered when trying to access (read or write) the roles.