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