com.github.fge.Thawed Maven / Gradle / Ivy
package com.github.fge;
import javax.annotation.concurrent.NotThreadSafe;
/**
* Interface for a thawed object
*
* This interface is closely coupled with {@link Frozen}. The principle is
* simple: you can obtain a thawed object from a frozen one, and a thawed object
* can generate a frozen one.
*
* Implementations of this interface are mutable and offer no guarantee of
* thread safety.
*
* @param the type of the frozen representation
*/
@NotThreadSafe
public interface Thawed>>
{
/**
* Obtain a frozen representation of this thawed object
*
* @return a frozen, immutable object
*/
F freeze();
}