Package | Description |
---|---|
agi.foundation |
Contains commonly used types.
|
Modifier and Type | Method and Description |
---|---|
static <TEvaluator,TParameter1,TParameter2,TParameter3,TParameter4,TParameter5> |
EvaluatorGroup.Callback5.of(EvaluatorGroup.Callback5.Function<TEvaluator,TParameter1,TParameter2,TParameter3,TParameter4,TParameter5> f)
Create a delegate for the given interface.
|
static <TEvaluator,TParameter1,TParameter2,TParameter3,TParameter4,TParameter5> |
EvaluatorGroup.Callback5.of(EvaluatorGroup.Callback5.Function<TEvaluator,TParameter1,TParameter2,TParameter3,TParameter4,TParameter5> f,
Class<?> targetClass,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static <TEvaluator,TParameter1,TParameter2,TParameter3,TParameter4,TParameter5> |
EvaluatorGroup.Callback5.of(EvaluatorGroup.Callback5.Function<TEvaluator,TParameter1,TParameter2,TParameter3,TParameter4,TParameter5> f,
Object targetObject,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
Modifier and Type | Method and Description |
---|---|
<TResult,TParameter1,TParameter2,TParameter3,TParameter4,TParameter5> |
EvaluatorGroup.callAndMemoize(EvaluatorGroup.Callback5<TResult,TParameter1,TParameter2,TParameter3,TParameter4,TParameter5> callback,
TParameter1 parameter1,
TParameter2 parameter2,
TParameter3 parameter3,
TParameter4 parameter4,
TParameter5 parameter5)
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,TParameter4,TParameter5> |
EvaluatorGroup.createEvaluator(EvaluatorGroup.Callback5<TEvaluator,TParameter1,TParameter2,TParameter3,TParameter4,TParameter5> callback,
TParameter1 parameter1,
TParameter2 parameter2,
TParameter3 parameter3,
TParameter4 parameter4,
TParameter5 parameter5)
Creates an evaluator in the context of this evaluator group by invoking a callback, if the
evaluator does not already exist in the group.
|