Class IdentityCodec<DATATYPE>

  • Type Parameters:
    DATATYPE - Codec data type
    All Implemented Interfaces:
    ICodec<DATATYPE>, IDecoder<DATATYPE,​DATATYPE>, IEncoder<DATATYPE,​DATATYPE>
    Direct Known Subclasses:
    IdentityByteArrayCodec

    public class IdentityCodec<DATATYPE>
    extends Object
    implements ICodec<DATATYPE>
    Special implementation of ICodec that does nothing. This is a separate class to be able to identify it from non-identity codecs.
    Author:
    Philip Helger