Package com.helger.commons.lang
Interface ICloneable<DATATYPE>
- Type Parameters:
DATATYPE- The type to be returned by thegetClone()method.
- All Known Subinterfaces:
IAttributeContainer<KEYTYPE,,VALUETYPE> IAttributeContainerAny<KEYTYPE>,ICommonsList<ELEMENTTYPE>,ICommonsMap<KEYTYPE,,VALUETYPE> ICommonsNavigableMap<KEYTYPE,,VALUETYPE> ICommonsNavigableSet<ELEMENTTYPE>,ICommonsOrderedMap<KEYTYPE,,VALUETYPE> ICommonsOrderedSet<ELEMENTTYPE>,ICommonsSet<ELEMENTTYPE>,ICommonsSortedMap<KEYTYPE,,VALUETYPE> ICommonsSortedSet<ELEMENTTYPE>,IErrorList,IMimeType,IMutableInteger<IMPLTYPE>,IMutableNumeric<IMPLTYPE>,IMutableObject<IMPLTYPE>,IStringMap
- All Known Implementing Classes:
AbstractMutableInteger,AbstractMutableNumeric,AbstractSoftMap,AttributeContainer,AttributeContainerAny,AttributeContainerAnyConcurrent,AttributeContainerConcurrent,CallbackList,CommonsArrayList,CommonsConcurrentHashMap,CommonsCopyOnWriteArrayList,CommonsCopyOnWriteArraySet,CommonsEnumMap,CommonsHashMap,CommonsHashSet,CommonsLinkedHashMap,CommonsLinkedHashSet,CommonsLinkedList,CommonsTreeMap,CommonsTreeSet,CommonsVector,CommonsWeakHashMap,ErrorList,ErrorTextProvider,HttpHeaderMap,LoggingLRUMap,LRUMap,LRUSet,MimeType,MutableBigDecimal,MutableBigInteger,MutableBoolean,MutableByte,MutableChar,MutableDouble,MutableFloat,MutableInt,MutableLong,MutableShort,NonBlockingProperties,NonBlockingStack,SimpleURL,SoftHashMap,SoftLinkedHashMap,StringMap,URLParameterList,Wrapper
public interface ICloneable<DATATYPE>
This is a type-safe replacement interface for the default
Cloneable interface since it contains the desired return
type and is accessible solely by the interface.- Author:
- Philip Helger
-
Method Summary
-
Method Details
-
getClone
- Returns:
- A 100% deep-copy of the implementing class.
-