public class ImmutableMutabilityPlan<T> extends Object implements MutabilityPlan<T>
| Modifier and Type | Field and Description | 
|---|---|
static ImmutableMutabilityPlan | 
INSTANCE  | 
| Constructor and Description | 
|---|
ImmutableMutabilityPlan()  | 
| Modifier and Type | Method and Description | 
|---|---|
T | 
assemble(Serializable cached)
Assemble a previously disassembled value. 
 | 
T | 
deepCopy(T value)
Return a deep copy of the value. 
 | 
Serializable | 
disassemble(T value)
Return a "disassembled" representation of the value. 
 | 
boolean | 
isMutable()
Can the internal state of instances of T be changed? 
 | 
public static final ImmutableMutabilityPlan INSTANCE
public boolean isMutable()
MutabilityPlanisMutable in interface MutabilityPlan<T>public T deepCopy(T value)
MutabilityPlandeepCopy in interface MutabilityPlan<T>value - The value to deep copypublic Serializable disassemble(T value)
MutabilityPlanMutabilityPlan.assemble(java.io.Serializable)disassemble in interface MutabilityPlan<T>value - The value to disassembleMutabilityPlan.assemble(java.io.Serializable)public T assemble(Serializable cached)
MutabilityPlanMutabilityPlan.disassemble(T)assemble in interface MutabilityPlan<T>cached - The disassembled stateMutabilityPlan.disassemble(T)Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.