| Package | Description | 
|---|---|
| java.awt.datatransfer | Provides interfaces and classes for transferring data
between and within applications. | 
| java.lang | Provides classes that are fundamental to the design of the Java
 programming language. | 
| java.rmi.server | Provides classes and interfaces for supporting the server
side of RMI. | 
| java.security | Provides the classes and interfaces for the security framework. | 
| 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.crypto | Provides the classes and interfaces for cryptographic operations. | 
| javax.swing | Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms. | 
| javax.swing.text | Provides classes and interfaces that deal with editable
and noneditable text components. | 
| javax.swing.tree | Provides classes and interfaces for dealing with
 javax.swing.JTree. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | DataFlavor. clone()Returns a clone of this  DataFlavor. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Object | Object. clone()Creates and returns a copy of this object. | 
| protected Object | Enum. clone()Throws CloneNotSupportedException. | 
| protected Object | Thread. clone()Throws CloneNotSupportedException as a Thread can not be meaningfully
 cloned. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ServerCloneExceptionA  ServerCloneExceptionis thrown if a remote exception occurs
 during the cloning of aUnicastRemoteObject. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | UnicastRemoteObject. clone()Returns a clone of the remote object that is distinct from
 the original. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | MessageDigestSpi. clone()Returns a clone if the implementation is cloneable. | 
| Object | MessageDigest. clone()Returns a clone if the implementation is cloneable. | 
| Object | Signature. clone()Returns a clone if the implementation is cloneable. | 
| Object | SignatureSpi. clone()Returns a clone if the implementation is cloneable. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Object | AbstractMap. clone()Returns a shallow copy of this AbstractMap instance: the keys
 and values themselves are not cloned. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | MacSpi. clone()Returns a clone if the implementation is cloneable. | 
| Object | Mac. clone()Returns a clone if the provider implementation is cloneable. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | DefaultListSelectionModel. clone()Returns a clone of this selection model with the same selection. | 
| protected Object | AbstractAction. clone()Clones the abstract action. | 
| protected Object | JFormattedTextField.AbstractFormatter. clone()Clones the  AbstractFormatter. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | DefaultFormatter. clone()Creates a copy of the DefaultFormatter. | 
| Object | InternationalFormatter. clone()Creates a copy of the DefaultFormatter. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | DefaultTreeSelectionModel. clone()Returns a clone of this object with the same selection. | 
 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, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.