- All Implemented Interfaces:
Codec<A,B>
public class FunctionalCodec<A,B>
extends Object
implements Codec<A,B>
-
-
Method Summary
| Modifier and Type |
Method |
Description |
A |
decode(B encodedValue) |
|
B |
encode(A value) |
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
encode
public B encode(
A value)
- Specified by:
encode in interface Codec<A,B>
-
decode
public A decode(
B encodedValue)
- Specified by:
decode in interface Codec<A,B>