|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Freezable<T>
An interface for mutable objects that can be made immutable by freezing them.
Method Summary | |
---|---|
T |
freeze()
Freeze the state of this object so that future modifying calls are disallowed. |
T |
mutableCopy()
Create a copy of this object that can be modified. |
Method Detail |
---|
T mutableCopy()
T freeze()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |