gov.sandia.cognition.evaluator
Interface ReversibleEvaluator<InputType,OutputType,ReverseType extends Evaluator<? super OutputType,? extends InputType>>

Type Parameters:
InputType - The input type to evaluate from.
OutputType - The output type to evaluate to.
ReverseType - The type of reverse evaluator.
All Superinterfaces:
Evaluator<InputType,OutputType>
All Known Subinterfaces:
ReversibleDataConverter<InputType,OutputType>
All Known Implementing Classes:
AbstractReverseCachedDataConverter, AbstractReversibleDataConverter, DefaultBooleanToNumberConverter, DefaultBooleanToNumberConverter.Reverse, ForwardReverseEvaluatorPair, IdentityDataConverter, IdentityEvaluator, StringToDoubleConverter, StringToIntegerConverter

public interface ReversibleEvaluator<InputType,OutputType,ReverseType extends Evaluator<? super OutputType,? extends InputType>>
extends Evaluator<InputType,OutputType>

Represents a Evaluator whose evaluation can be reversed. The reverse is just another Evaluator. It is required that the converter's range must be part of the domain of the reverse converter.

Since:
3.3.3
Author:
Justin Basilico

Method Summary
 ReverseType reverse()
          Gets the data converter that performs the reverse conversion.
 
Methods inherited from interface gov.sandia.cognition.evaluator.Evaluator
evaluate
 

Method Detail

reverse

ReverseType reverse()
Gets the data converter that performs the reverse conversion.

Returns:
The reverse converter.