InputType - The input type to convert from.OutputType - The output type to convert to.ReverseConverterType - The type of the reverse converter.public abstract class AbstractReverseCachedDataConverter<InputType,OutputType,ReverseConverterType extends DataConverter<? super OutputType,? extends InputType>> extends AbstractReversibleDataConverter<InputType,OutputType>
ReversibleDataConverter that caches the
reverse converter.| Modifier and Type | Field and Description |
|---|---|
protected ReverseConverterType |
reverse
A cached value of the reverse converter.
|
| Constructor and Description |
|---|
AbstractReverseCachedDataConverter()
Creates a new
AbstractReverseCachedDataConverter. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ReverseConverterType |
createReverse()
Creates a new reverse converter.
|
ReverseConverterType |
reverse()
Gets the data converter that performs the reverse conversion.
|
cloneprotected transient ReverseConverterType extends DataConverter<? super OutputType,? extends InputType> reverse
public AbstractReverseCachedDataConverter()
AbstractReverseCachedDataConverter.public ReverseConverterType reverse()
protected abstract ReverseConverterType createReverse()