# Cloneable

public interface **Cloneable**

|---|---|---|
| Known Indirect Subclasses [ArrayDeque](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/ArrayDeque.html)\<E\>, [ArrayList](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/ArrayList.html)\<E\>, [AttributedCharacterIterator](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/AttributedCharacterIterator.html), [Attributes](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/jar/Attributes.html), [BitSet](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/BitSet.html), [BreakIterator](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/BreakIterator.html), [CRLSelector](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CRLSelector.html), [Calendar](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Calendar.html), [CertPathBuilderResult](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertPathBuilderResult.html), [CertPathParameters](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertPathParameters.html), [CertPathValidatorResult](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertPathValidatorResult.html), [CertSelector](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertSelector.html), [CertStoreParameters](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertStoreParameters.html), [CharacterIterator](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/CharacterIterator.html), [ChoiceFormat](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/ChoiceFormat.html), and [50 others.](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Cloneable#) |---|---| | [ArrayDeque](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/ArrayDeque.html)\<E\> | Resizable-array implementation of the `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Deque.html` interface. | | [ArrayList](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/ArrayList.html)\<E\> | Resizable-array implementation of the List interface. | | [AttributedCharacterIterator](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/AttributedCharacterIterator.html) | An `AttributedCharacterIterator` allows iteration through both text and related attribute information. | | [Attributes](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/jar/Attributes.html) | The Attributes class maps Manifest attribute names to associated string values. | | [BitSet](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/BitSet.html) | This class implements a vector of bits that grows as needed. | | [BreakIterator](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/BreakIterator.html) | The `BreakIterator` class implements methods for finding the location of boundaries in text. | | [CRLSelector](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CRLSelector.html) | A selector that defines a set of criteria for selecting `CRL`s. | | [Calendar](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Calendar.html) | The `Calendar` class is an abstract class that provides methods for converting between a specific instant in time and a set of `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Calendar.html#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. | | [CertPathBuilderResult](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertPathBuilderResult.html) | A specification of the result of a certification path builder algorithm. | | [CertPathParameters](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertPathParameters.html) | A specification of certification path algorithm parameters. | | [CertPathValidatorResult](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertPathValidatorResult.html) | A specification of the result of a certification path validator algorithm. | | [CertSelector](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertSelector.html) | A selector that defines a set of criteria for selecting `Certificate`s. | | [CertStoreParameters](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CertStoreParameters.html) | A specification of `CertStore` parameters. | | [CharacterIterator](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/CharacterIterator.html) | This interface defines a protocol for bidirectional iteration over text. | | [ChoiceFormat](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/ChoiceFormat.html) | A `ChoiceFormat` allows you to attach a format to a range of numbers. | | [Collator](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/Collator.html) | The `Collator` class performs locale-sensitive `String` comparison. | | [CollectionCertStoreParameters](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/CollectionCertStoreParameters.html) | Parameters used as input for the Collection `CertStore` algorithm. | | [ConcurrentSkipListMap](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/concurrent/ConcurrentSkipListMap.html)\<K, V\> | A scalable concurrent `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/concurrent/ConcurrentNavigableMap.html` implementation. | | [ConcurrentSkipListSet](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/concurrent/ConcurrentSkipListSet.html)\<E\> | A scalable concurrent `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/NavigableSet.html` implementation based on a `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/concurrent/ConcurrentSkipListMap.html`. | | [CopyOnWriteArrayList](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/concurrent/CopyOnWriteArrayList.html)\<E\> | A thread-safe variant of `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/ArrayList.html` in which all mutative operations (`add`, `set`, and so on) are implemented by making a fresh copy of the underlying array. | | [Date](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Date.html) | The class `Date` represents a specific instant in time, with millisecond precision. | | [DateFormat](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DateFormat.html) | `DateFormat` is an abstract class for date/time formatting subclasses which formats and parses dates or time in a language-independent manner. | | [DateFormatSymbols](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DateFormatSymbols.html) | `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. | | [DecimalFormatSymbols](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/DecimalFormatSymbols.html) | This class represents the set of symbols (such as the decimal separator, the grouping separator, and so on) needed by `DecimalFormat` to format numbers. | | [EnumMap](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/EnumMap.html)\<K extends [Enum](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Enum.html)\<K\>, V\> | A specialized `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Map.html` implementation for use with enum type keys. | | [EnumSet](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/EnumSet.html)\<E extends [Enum](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Enum.html)\<E\>\> | A specialized `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Set.html` implementation for use with enum types. | | [Format](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/Format.html) | `Format` is an abstract base class for formatting locale-sensitive information such as dates, messages, and numbers. | | [GregorianCalendar](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/GregorianCalendar.html) | `GregorianCalendar` is a concrete subclass of `Calendar` and provides the standard calendar system used by most of the world. | | [HashMap](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/HashMap.html)\<K, V\> | Hash table based implementation of the Map interface. | | [HashSet](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/HashSet.html)\<E\> | This class implements the Set interface, backed by a hash table (actually a HashMap instance). | | [Hashtable](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Hashtable.html)\<K, V\> | This class implements a hash table, which maps keys to values. | | [HttpCookie](https://developers.google.com/j2objc/javadoc/jre/reference/java/net/HttpCookie.html) | An HttpCookie object represents an HTTP cookie, which carries state information between server and user agent. | | [IdentityHashMap](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/IdentityHashMap.html)\<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). | | [JarEntry](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/jar/JarEntry.html) | This class is used to represent a JAR file entry. | | [LDAPCertStoreParameters](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/LDAPCertStoreParameters.html) | Parameters used as input for the LDAP `CertStore` algorithm. | | [LinkedHashMap](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/LinkedHashMap.html)\<K, V\> | Hash table and linked list implementation of the Map interface, with predictable iteration order. | | [LinkedHashSet](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/LinkedHashSet.html)\<E\> | Hash table and linked list implementation of the Set interface, with predictable iteration order. | | [LinkedList](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/LinkedList.html)\<E\> | Doubly-linked list implementation of the `List` and `Deque` interfaces. | | [Locale](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Locale.html) | A `Locale` object represents a specific geographical, political, or cultural region. | | [Mac](https://developers.google.com/j2objc/javadoc/jre/reference/javax/crypto/Mac.html) | This class provides the functionality of a "Message Authentication Code" (MAC) algorithm. | | [Manifest](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/jar/Manifest.html) | The Manifest class is used to maintain Manifest entry names and their associated Attributes. | | [MessageFormat](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/MessageFormat.html) | `MessageFormat` provides a means to produce concatenated messages in a language-neutral way. | | [NumberFormat](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/NumberFormat.html) | `NumberFormat` is the abstract base class for all number formats. | | [PKIXBuilderParameters](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/PKIXBuilderParameters.html) | Parameters used as input for the PKIX `CertPathBuilder` algorithm. | | [PKIXCertPathBuilderResult](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/PKIXCertPathBuilderResult.html) | This class represents the successful result of the PKIX certification path builder algorithm. | | [PKIXCertPathChecker](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/PKIXCertPathChecker.html) | An abstract class that performs one or more checks on an `X509Certificate`. | | [PKIXCertPathValidatorResult](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/PKIXCertPathValidatorResult.html) | This class represents the successful result of the PKIX certification path validation algorithm. | | [PKIXParameters](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/PKIXParameters.html) | Parameters used as input for the PKIX `CertPathValidator` algorithm. | | [PKIXRevocationChecker](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/PKIXRevocationChecker.html) | A `PKIXCertPathChecker` for checking the revocation status of certificates with the PKIX algorithm. | | [Properties](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Properties.html) | The `Properties` class represents a persistent set of properties. | | [Provider](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Provider.html) | This class represents a "provider" for the Java Security API, where a provider implements some or all parts of Java Security. | | [SimpleDateFormat](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/SimpleDateFormat.html) | `SimpleDateFormat` is a concrete class for formatting and parsing dates in a locale-sensitive manner. | | [SimpleTimeZone](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/SimpleTimeZone.html) | `SimpleTimeZone` is a concrete subclass of `TimeZone` that represents a time zone for use with a Gregorian calendar. | | [Stack](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Stack.html)\<E\> | The `Stack` class represents a last-in-first-out (LIFO) stack of objects. | | [StringCharacterIterator](https://developers.google.com/j2objc/javadoc/jre/reference/java/text/StringCharacterIterator.html) | `StringCharacterIterator` implements the `CharacterIterator` protocol for a `String`. | | [Time](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/Time.html) | A thin wrapper around the `java.util.Date` class that allows the JDBC API to identify this as an SQL `TIME` value. | | [TimeZone](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/TimeZone.html) | `TimeZone` represents a time zone offset, and also figures out daylight savings. | | [Timestamp](https://developers.google.com/j2objc/javadoc/jre/reference/java/sql/Timestamp.html) | A thin wrapper around `java.util.Date` that allows the JDBC API to identify this as an SQL `TIMESTAMP` value. | | [TreeMap](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/TreeMap.html)\<K, V\> | A Red-Black tree based `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/NavigableMap.html` implementation. | | [TreeSet](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/TreeSet.html)\<E\> | A `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/NavigableSet.html` implementation based on a `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/TreeMap.html`. | | [Vector](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/Vector.html)\<E\> | The `Vector` class implements a growable array of objects. | | [X509CRLSelector](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/X509CRLSelector.html) | A `CRLSelector` that selects `X509CRLs` that match all specified criteria. | | [X509CertSelector](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/cert/X509CertSelector.html) | A `CertSelector` that selects `X509Certificates` that match all specified criteria. | | [XMLGregorianCalendar](https://developers.google.com/j2objc/javadoc/jre/reference/javax/xml/datatype/XMLGregorianCalendar.html) | Representation for W3C XML Schema 1.0 date/time datatypes. | | [ZipEntry](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/zip/ZipEntry.html) | This class is used to represent a ZIP file entry. | |||

This (empty) interface must be implemented by all classes that wish to
support cloning. The implementation of `clone()` in `Object`
checks if the object being cloned implements this interface and throws
`CloneNotSupportedException` if it does not.

##### See Also

- `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/Object.html#clone()`
- `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/CloneNotSupportedException.html`