ObjectType
- The type of object the class can evaluate the
performance of.DataType
- The data to use to evaluate the object's performance.ResultType
- The type of the result of the performance evaluation.public interface PerformanceEvaluator<ObjectType,DataType,ResultType>
PerformanceEvaluator
class defines the functionality of some
object with regards to some data.
It is recommended that a PerformanceEvaluator
implement
CloneableSerializable
, though it is not required.Modifier and Type | Method and Description |
---|---|
ResultType |
evaluatePerformance(ObjectType object,
DataType data)
Evaluates the performance of an object with regards to given data.
|
ResultType evaluatePerformance(ObjectType object, DataType data)
object
- The object to evaluate the performance of.data
- The data to evaluate the object using.