public interface MutabilityPlan<T> extends Serializable
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?
|
boolean isMutable()
T deepCopy(T value)
value
- The value to deep copySerializable disassemble(T value)
assemble(java.io.Serializable)
value
- The value to disassembleassemble(java.io.Serializable)
T assemble(Serializable cached)
disassemble(T)
cached
- The disassembled statedisassemble(T)
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.