T - the restored object's typepublic interface RestorableState<T extends Restorable<T>>
RestorableState are capable
of saving the state of an object to restore it for later use.
Implementations of this class must implement Serializable to ensure that the
state of a the object can be correctly serialized.
| Modifier and Type | Method and Description |
|---|---|
T |
restore()
Returns an object whose internal state reflects the one saved in the invocation object.
|
T restore()
Copyright © 2019 Google LLC. All rights reserved.