Package Summary Overview Summary

### method:clone() [CHANGED]
- > ### clone public Object clone() Description copied from interfaceclass: ``Attributes`MakesObject` Creates and returns a copy of this object. The precise meaning of "copy" may depend on the class of the attribute setobject. The new set containsgeneral intent is that, for any object `x`, the same attributes asexpression:
  >     x.clone() != x
  > will be true, and that the original set: expression:
  >     x.clone().getClass() == x.getClass()
  > will be `true`, but these are not absolute requirements. While it is typically the attributes arecase that:
  >     x.clone().equals(x)
will be `true`, this is not themselvesan absolute requirement. By convention, the returned object should be obtained by calling `super.clone`. If a class and all of its superclasses (except `Object`) obey this convention, it will be the case that `x.clone().getClass() == x.getClass()` . By convention, the object returned by this method should be independent of this object (which is being cloned). ChangesTo achieve this independence, it may be necessary to modify one or more fields of the copy will not affectobject returned by `super.clone` before returning it. Typically, this means copying any mutable objects that comprise the internal "deep structure" of the originalobject being cloned and vice versareplacing the references to these objects with references to the copies. If a class contains only primitive fields or references to immutable objects, then it is usually the case that no fields in the object returned by `super.clone` need to be modified. Specified by: `clone` in interface `Attributes` Overrides: `clone` in class `Object` Returns: A non-null copya clone of this attribute setinstance. See Also: `Cloneable`
- > ### clone public Object clone() Description copied from interface: `Attributes` Makes a copy of the attribute set. The new set contains the same attributes as the original set: the attributes are not themselves cloned. Changes to the copy will not affect the original and vice versa. Specified by: `clone` in interface `Attributes` Overrides: `clone` in class `Object` Returns: A non-null copy of this attribute set. See Also: `Cloneable` | ### clone public Object clone() Description copied from class: `Object` Creates and returns a copy of this object. The precise meaning of "copy" may depend on the class of the object. The general intent is that, for any object `x`, the expression:
  >      x.clone() != x
  > will be true, and that the expression:
  >      x.clone().getClass() == x.getClass()
  > will be `true`, but these are not absolute requirements. While it is typically the case that:
  >      x.clone().equals(x)
will be `true`, this is not an absolute requirement. By convention, the returned object should be obtained by calling `super.clone`. If a class and all of its superclasses (except `Object`) obey this convention, it will be the case that `x.clone().getClass() == x.getClass()` . By convention, the object returned by this method should be independent of this object (which is being cloned). To achieve this independence, it may be necessary to modify one or more fields of the object returned by `super.clone` before returning it. Typically, this means copying any mutable objects that comprise the internal "deep structure" of the object being cloned and replacing the references to these objects with references to the copies. If a class contains only primitive fields or references to immutable objects, then it is usually the case that no fields in the object returned by `super.clone` need to be modified. Specified by: `clone` in interface `Attributes` Overrides: `clone` in class `Object` Returns: a clone of this instance. See Also: `Cloneable`