Package | Description |
---|---|
agi.foundation |
Contains commonly used types.
|
Modifier and Type | Method and Description |
---|---|
static <TEvaluator,TParameter1,TParameter2,TParameter3> |
EvaluatorGroup.Callback3.of(EvaluatorGroup.Callback3.Function<TEvaluator,TParameter1,TParameter2,TParameter3> f)
Create a delegate for the given interface.
|
static <TEvaluator,TParameter1,TParameter2,TParameter3> |
EvaluatorGroup.Callback3.of(EvaluatorGroup.Callback3.Function<TEvaluator,TParameter1,TParameter2,TParameter3> f,
Class<?> targetClass,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static <TEvaluator,TParameter1,TParameter2,TParameter3> |
EvaluatorGroup.Callback3.of(EvaluatorGroup.Callback3.Function<TEvaluator,TParameter1,TParameter2,TParameter3> f,
Object targetObject,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
Modifier and Type | Method and Description |
---|---|
<TResult,TParameter1,TParameter2,TParameter3> |
EvaluatorGroup.callAndMemoize(EvaluatorGroup.Callback3<TResult,TParameter1,TParameter2,TParameter3> callback,
TParameter1 parameter1,
TParameter2 parameter2,
TParameter3 parameter3)
Optimizes calls to a
callback that is expected to be called multiple times so that future calls
with the same parameters return a cached result rather than actually invoking the callback again. |
<TEvaluator extends IEvaluator,TParameter1,TParameter2,TParameter3> |
EvaluatorGroup.createEvaluator(EvaluatorGroup.Callback3<TEvaluator,TParameter1,TParameter2,TParameter3> callback,
TParameter1 parameter1,
TParameter2 parameter2,
TParameter3 parameter3)
Creates an evaluator in the context of this evaluator group by invoking a callback, if the
evaluator does not already exist in the group.
|