T - target typeI - intermediate typeS - source typepublic class TransitiveFragileTypeConverter<T,I,S> extends java.lang.Object implements FragileTypeConverter<T,S>
| Constructor and Description |
|---|
TransitiveFragileTypeConverter(FragileTypeConverter<T,I> secondStep,
FragileTypeConverter<? extends I,S> firstStep)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
T |
convert(S object)
Convert an object to another type.
|
public TransitiveFragileTypeConverter(@NotNull FragileTypeConverter<T,I> secondStep, @NotNull FragileTypeConverter<? extends I,S> firstStep)
secondStep - type converter which does the second step of the conversionfirstStep - type converter which does the first step of the conversionpublic T convert(S object) throws TypeConverterException
convert in interface FragileTypeConverter<T,S>object - object to convertTypeConverterException - if an exception was thrown during conversion