DATATYPE - The handled data type@Immutable public final class IdentityCodec<DATATYPE> extends Object implements ICodec<DATATYPE>
| Constructor and Description |
|---|
IdentityCodec() |
| Modifier and Type | Method and Description |
|---|---|
DATATYPE |
getDecoded(DATATYPE aInput)
Decode the passed source object
|
DATATYPE |
getEncoded(DATATYPE aInput)
Encode the passed source object
|
@Nullable @ReturnsMutableObject(value="design") public DATATYPE getDecoded(@Nullable DATATYPE aInput)
IDecodergetDecoded in interface IDecoder<DATATYPE>aInput - The source object to be decoded@Nullable @ReturnsMutableObject(value="design") public DATATYPE getEncoded(@Nullable DATATYPE aInput)
IEncodergetEncoded in interface IEncoder<DATATYPE>aInput - The source object to be encodedCopyright © 2014–2016 Philip Helger. All rights reserved.