I- the type of the accepted inbound objects
O- the type of the produced outbound objects, or
Voidif no output is produced (e.g. a logging codec)
public interface ICodec<I,O>
interfacefor the encoders and decoders. It is responsible for determining the types of the inbound and outbound objects which are accepted and produced by given encoder or decoder.
|Modifier and Type||Method and Description|
Returns the type of the accepted inbound objects.
Returns the type of the produced outbound objects.
Copyright © 2017–2021 SNF4J.ORG. All rights reserved.