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.
T thaw()
Copyright © 2013. All Rights Reserved.