Interface RestorableState<T> (2.36.1)

public interface RestorableState<T>

A common interface for restorable states. Implementations of RestorableState are capable of saving the state of an object to restore it for later use.

Implementations of this class must implement java.io.Serializable to ensure that the state of a the object can be correctly serialized.

Type Parameter

NameDescription
T

Methods

restore()

public abstract T restore()

Returns an object whose internal state reflects the one saved in the invocation object.

Returns
TypeDescription
T