private static class ConvertingComparator.ConversionServiceConverter<S,T> extends java.lang.Object implements Converter<S,T>
ConversionService
and targetType to a Converter
.Modifier and Type | Field and Description |
---|---|
private ConversionService |
conversionService |
private java.lang.Class<? extends T> |
targetType |
Constructor and Description |
---|
ConversionServiceConverter(ConversionService conversionService,
java.lang.Class<? extends T> targetType) |
Modifier and Type | Method and Description |
---|---|
T |
convert(S source)
Convert the source object of type
S to target type T . |
private final ConversionService conversionService
private final java.lang.Class<? extends T> targetType
public ConversionServiceConverter(ConversionService conversionService, java.lang.Class<? extends T> targetType)