1. /*
  2. * @(#)Cloneable.java 1.9 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.lang;
  8. /**
  9. * A class implements the <code>Cloneable</code> interface to
  10. * indicate to the {@link java.lang.Object#clone()} method that it
  11. * is legal for that method to make a
  12. * field-for-field copy of instances of that class.
  13. * <p>
  14. * Attempts to clone instances that do not implement the
  15. * <code>Cloneable</code> interface result in the exception
  16. * <code>CloneNotSupportedException</code> being thrown.
  17. * <p>
  18. * The interface <tt>Cloneable</tt> declares no methods.
  19. *
  20. * @author unascribed
  21. * @version 1.9, 11/29/01
  22. * @see java.lang.CloneNotSupportedException
  23. * @since JDK1.0
  24. */
  25. public interface Cloneable {
  26. }