CLASS - The type to be encoded by an implementation of this interface.CODE - The type that objects are encoded to.public interface Converter<CLASS,CODE>
| Modifier and Type | Method and Description |
|---|---|
CODE |
from(CLASS item)
Convert from the supported class into its encoded value
|
CLASS |
to(CODE code)
Convert an encoded value to the supported class
|
Copyright © 2019. All rights reserved.