Package io.datarouter.bytes
Class Codec.FunctionalCodec<A,B>
java.lang.Object
io.datarouter.bytes.Codec.FunctionalCodec<A,B>
- All Implemented Interfaces:
Codec<A,B>
- Direct Known Subclasses:
Codec.NullPassthroughCodec
public static class Codec.FunctionalCodec<A,B> extends Object implements Codec<A,B>
Build a Codec from two Functions.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.datarouter.bytes.Codec
Codec.FunctionalCodec<A,B>, Codec.NullPassthroughCodec<A,B> -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.datarouter.bytes.Codec
encodeAndDecode