T
- the type of the thawed counterpart@Immutable public interface Frozen<T extends Thawed<? extends Frozen<T>>>
This interface is closely coupled with Thawed
. The principle is
simple: you can obtain a thawed object from a frozen one, and a thawed object
can generate a frozen one.
By contract, implementations of this interface must be immutable.
Modifier and Type | Method and Description |
---|---|
T |
thaw()
Return a thawed representation of this frozen object.
|
T thaw()