## Uses of Interface
java.util.RandomAccess

- Packages that use RandomAccess
  Package | Description
  --- | ---
  java.util |
  java.util.concurrent | Utility classes commonly useful in concurrent programming.

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

    Classes in java.util that implement RandomAccess
    Modifier and Type | Class and 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 and 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.

Copyright © 2025 API Design. All Rights Reserved.