Class ArrayMutabilityPlan<T>
- java.lang.Object
-
- org.hibernate.type.descriptor.java.MutableMutabilityPlan<T>
-
- org.hibernate.type.descriptor.java.ArrayMutabilityPlan<T>
-
- All Implemented Interfaces:
Serializable
,MutabilityPlan<T>
public class ArrayMutabilityPlan<T> extends MutableMutabilityPlan<T>
A mutability plan for arrays. Specifically arrays of immutable element type; since the elements themselves are immutable, a shallow copy is enough.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ArrayMutabilityPlan
INSTANCE
-
Constructor Summary
Constructors Constructor Description ArrayMutabilityPlan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
deepCopyNotNull(T value)
-
Methods inherited from class org.hibernate.type.descriptor.java.MutableMutabilityPlan
assemble, deepCopy, disassemble, isMutable
-
-
-
-
Field Detail
-
INSTANCE
public static final ArrayMutabilityPlan INSTANCE
-
-
Method Detail
-
deepCopyNotNull
public T deepCopyNotNull(T value)
- Specified by:
deepCopyNotNull
in classMutableMutabilityPlan<T>
-
-