Uses of Class java.util.ArrayList (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Class
java.util.ArrayList

- Packages that use ArrayList
  Package | Description
  --- | ---
  java.awt.dnd | Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI.
  java.beans.beancontext | Provides classes and interfaces relating to bean context.
  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.management | Provides the core classes for the Java Management Extensions.
  javax.management.relation | Provides the definition of the Relation Service.

- - ### Uses of ArrayList in java.awt.dnd

    Fields in java.awt.dnd declared as ArrayList
    Modifier and Type | Field and Description
    --- | ---
    `protected ArrayList<InputEvent>` | DragGestureRecognizer.`events` The list of events (in order) that the `DragGestureRecognizer` "recognized" as a "gesture" that triggers a drag.

  - ### Uses of ArrayList in java.beans.beancontext

    Fields in java.beans.beancontext declared as ArrayList
    Modifier and Type | Field and Description
    --- | ---
    `protected ArrayList` | BeanContextSupport.`bcmListeners` all accesses to the `protected ArrayList bcmListeners` field shall be synchronized on that object.
    `protected ArrayList` | BeanContextServicesSupport.`bcsListeners` List of `BeanContextServicesListener` objects.

  - ### Uses of ArrayList in java.util

    Methods in java.util that return ArrayList
    Modifier and Type | Method and Description
    --- | ---
    `static <T> ArrayList<T>` | Collections.`list(Enumeration<T> e)` Returns an array list containing the elements returned by the specified enumeration in the order they are returned by the enumeration.

  - ### Uses of ArrayList in javax.management

    Subclasses of ArrayList in javax.management
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AttributeList` Represents a list of values for attributes of an MBean.

    Methods in javax.management that return ArrayList
    Modifier and Type | Method and Description
    --- | ---
    `static ArrayList<MBeanServer>` | MBeanServerFactory.`findMBeanServer(String agentId)` Return a list of registered MBeanServer objects.

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

    Subclasses of ArrayList in javax.management.relation
    Modifier and Type | Class and 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.

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.