DATATYPE - The data type to be convertedpublic class ConverterIdentity<DATATYPE> extends Object implements IConverterSameType<DATATYPE>
IConverterSameType that uses the input
object as the output object.| Constructor and Description |
|---|
ConverterIdentity() |
| Modifier and Type | Method and Description |
|---|---|
DATATYPE |
convert(DATATYPE aInput)
Convert the passed source object to the destination type.
|
@Nullable public DATATYPE convert(@Nullable DATATYPE aInput)
IConverterconvert in interface IConverter<DATATYPE,DATATYPE>aInput - The source object to be converted. No null or non-
null constraint possible.null or non- null
constraint possible.Copyright © 2014–2016 Philip Helger. All rights reserved.