## Uses of Interface
java.lang.Cloneable

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

- - ### Uses of Cloneable in java.text

    Subinterfaces of Cloneable in java.text
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `AttributedCharacterIterator` An `AttributedCharacterIterator` allows iteration through both text and related attribute information.
    `interface` | `CharacterIterator` This interface defines a protocol for bidirectional iteration over text.

    Classes in java.text that implement Cloneable
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ChoiceFormat` A `ChoiceFormat` allows you to attach a format to a range of numbers.
    `class` | `DateFormat` `DateFormat` is an abstract class for date/time formatting subclasses which formats and parses dates or time in a language-independent manner.
    `class` | `DateFormatSymbols` `DateFormatSymbols` is a public class for encapsulating localizable date-time formatting data, such as the names of the months, the names of the days of the week, and the time zone data.
    `class` | `DecimalFormat` `DecimalFormat` is a concrete subclass of `NumberFormat` that formats decimal numbers.
    `class` | `DecimalFormatSymbols` This class represents the set of symbols (such as the decimal separator, the grouping separator, and so on) needed by `DecimalFormat` to format numbers.
    `class` | `Format` `Format` is an abstract base class for formatting locale-sensitive information such as dates, messages, and numbers.
    `class` | `MessageFormat` `MessageFormat` provides a means to produce concatenated messages in a language-neutral way.
    `class` | `NumberFormat` `NumberFormat` is the abstract base class for all number formats.
    `class` | `SimpleDateFormat` `SimpleDateFormat` is a concrete class for formatting and parsing dates in a locale-sensitive manner.

  - ### Uses of Cloneable in java.util

    Classes in java.util that implement Cloneable
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ArrayDeque<E>` Resizable-array implementation of the `Deque` interface.
    `class` | `ArrayList<E>` Resizable-array implementation of the `List` interface.
    `class` | `BitSet` This class implements a vector of bits that grows as needed.
    `class` | `Calendar` The `Calendar` class is an abstract class that provides methods for converting between a specific instant in time and a set of `calendar fields` such as `YEAR`, `MONTH`, `DAY_OF_MONTH`, `HOUR`, and so on, and for manipulating the calendar fields, such as getting the date of the next week.
    `class` | `Date` The class `Date` represents a specific instant in time, with millisecond precision.
    `class` | `EnumMap<K extends Enum<K>,V>` A specialized `Map` implementation for use with enum type keys.
    `class` | `EnumSet<E extends Enum<E>>` A specialized `Set` implementation for use with enum types.
    `class` | `HashMap<K,V>` Hash table based implementation of the `Map` interface.
    `class` | `HashSet<E>` This class implements the `Set` interface, backed by a hash table (actually a `HashMap` instance).
    `class` | `Hashtable<K,V>` This class implements a hash table, which maps keys to values.
    `class` | `IdentityHashMap<K,V>` This class implements the `Map` interface with a hash table, using reference-equality in place of object-equality when comparing keys (and values).
    `class` | `LinkedHashMap<K,V>` Hash table and linked list implementation of the `Map` interface, with predictable iteration order.
    `class` | `LinkedHashSet<E>` Hash table and linked list implementation of the `Set` interface, with predictable iteration order.
    `class` | `LinkedList<E>` Doubly-linked list implementation of the `List` and `Deque` interfaces.
    `class` | `Locale` A `Locale` object represents a specific geographical, political, or cultural region.
    `class` | `Properties` The `Properties` class represents a persistent set of properties.
    `class` | `SimpleTimeZone` `SimpleTimeZone` is a concrete subclass of `TimeZone` that represents a time zone for use with a Gregorian calendar.
    `class` | `Stack<E>` The `Stack` class represents a last-in-first-out (LIFO) stack of objects.
    `class` | `TimeZone` `TimeZone` represents a time zone offset, and also figures out daylight savings.
    `class` | `TreeMap<K,V>` A Red-Black tree based `NavigableMap` implementation.
    `class` | `TreeSet<E>` A `NavigableSet` implementation based on a `TreeMap`.
    `class` | `Vector<E>` The `Vector` class implements a growable array of objects.

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

    Classes in java.util.concurrent that implement Cloneable
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ConcurrentSkipListMap<K,V>` A scalable concurrent `ConcurrentNavigableMap` implementation.
    `class` | `ConcurrentSkipListSet<E>` A scalable concurrent `NavigableSet` implementation based on a `ConcurrentSkipListMap`.
    `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.