gov.sandia.cognition.data.convert
Interface ReversibleDataConverter<InputType,OutputType>
- Type Parameters:
InputType - The input type to convert from.OutputType - The output type to convert to.
- All Superinterfaces:
- DataConverter<InputType,OutputType>, Evaluator<InputType,OutputType>
- All Known Implementing Classes:
- AbstractReverseCachedDataConverter, AbstractReversibleDataConverter, DefaultBooleanToNumberConverter, DefaultBooleanToNumberConverter.Reverse, IdentityDataConverter, StringToDoubleConverter, StringToIntegerConverter
public interface ReversibleDataConverter<InputType,OutputType>
- extends DataConverter<InputType,OutputType>
Represents a DataConverter whose conversion can be reversed. The
reverse is just another DataConverter. It is required that the
converter's range must be part of the domain of the reverse converter.
- Since:
- 3.0
- Author:
- Justin Basilico
reverse
DataConverter<? super OutputType,? extends InputType> reverse()
- Gets the data converter that performs the reverse conversion.
- Returns:
- The reverse converter.
Copyright © 2006-2011 Sandia National Laboratories. All Rights Reserved.