Interface SafeCloneable<T>

All Superinterfaces:
Cloneable
All Known Subinterfaces:
Copyable<T>
All Known Implementing Classes:
FastArrayExt, FastArrayMap, FastArrayMapLongToObject, FastBooleanArray, FastByteArray, FastCharArray, FastDoubleArray, FastFloatArray, FastIntArray, FastLongArray, FastShortArray, KeyValuePair, KeyValuePairLongToObject

public interface SafeCloneable<T> extends Cloneable
This interface specifies a safe clone operation that never throws a CloneNotSupported exception, and also allows a bound to be placed on the result object's type. Note that any class that extends a base that implements SafeCloneable must *always* re-implement the safeClone method.
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details

    • safeClone

      T safeClone()