C
- The type of object being updatedpublic interface Updater<C>
type
and update it
across different versions. Whether this is applicable to
serialization or object management is not required.Modifier and Type | Method and Description |
---|---|
int |
getInputVersion()
Gets the numerical
version that this Updater
can accept. |
int |
getOutputVersion()
The outputted
version that this Updater will
output to. |
C |
update(C content)
Attempts to update the content of
C as long as the content
version itself has been abided by. |
int getInputVersion()
version
that this Updater
can accept.int getOutputVersion()
version
that this Updater
will
output to. Note that it is possible multiple updaters are able to
cross between different versions.