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|
Convert from the supported class into its encoded value
Convert an encoded value to the supported class
CODE from(CLASS item)
item- the object to encode
Copyright © 2019. All rights reserved.