T - entry typepublic static interface CheckpointFile.EntryFormatter<T>
T into a string and vice versa.| Modifier and Type | Method and Description |
|---|---|
Optional<T> |
fromString(String value) |
String |
toString(T entry) |
String toString(T entry)
entry - entry to be converted into string.Optional<T> fromString(String value)
value - string representation of an entry.Optional.empty() represents
that the given string representation could not be converted into an entry.