Interface java.lang.Cloneable
- Subinterfaces:
- AclEntry, AttributeSet, CharacterIterator
- Implementing Classes:
- HashMap, Calendar, TreeSet, TimeZone, Vector, LinkedList, BitSet, Hashtable, Locale, Date, HashSet, ArrayList, TreeMap, ZipEntry, Manifest, Attributes, MimeTypeParameterList, MimeType, Dimension2D, GridBagConstraints, Point2D, Insets, RectangularShape, ImageFilter, BufferedImageFilter, JPEGQTable, JPEGHuffmanTable, ParameterBlock, RenderContext, DataFlavor, TextLayout, GlyphSet, AffineTransform, Line2D, CubicCurve2D, Area, GeneralPath, QuadCurve2D, PageFormat, AbstractAction, DefaultListSelectionModel, DefaultTreeSelectionModel, DefaultMutableTreeNode, EditorKit, TreeSelectionEvent, DecimalFormatSymbols, Format, DateFormatSymbols, Collator, BreakIterator, Cookie
- public interface Cloneable
A class implements the Cloneable
interface to
indicate to the clone
method in class
Object
that it is legal for that method to make a
field-for-field copy of instances of that class.
Attempts to clone instances that do not implement the
Cloneable
interface result in the exception
CloneNotSupportedException
being thrown.
- Since:
- JDK1.0
- See Also:
- CloneNotSupportedException
Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.