public interface TypeEncoder<T,U> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
T |
decode(U value)
Decodes the provided value.
|
U |
encode(T value)
Encodes a value.
|
String |
getAlias()
Returns the "alias" of the type so that the encoded form can be decoded.
|
Class<T> |
resolves()
The java class that the implementations encodes.
|
Copyright © 2018 Calrissian. All rights reserved.