Interface RestorableState<T> (2.45.0)

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

Name Description
T

Methods

restore()

public abstract T restore()

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

Returns
Type Description
T