24 package org.lightjason.agentspeak.action.builtin.collection;
33 import javax.annotation.Nonnegative;
34 import javax.annotation.Nonnull;
35 import java.util.List;
69 @Nonnull
final List<ITerm> p_argument, @Nonnull
final List<ITerm> p_return
74 .forEach( i -> this.
apply( p_parallel, i.<T>raw(), p_argument.get( 0 ).raw(), p_return ) );
87 protected abstract void apply(
final boolean p_parallel, @Nonnull
final T p_instance, @Nonnull
final Object p_key, @Nonnull
final List<ITerm> p_return );
base class of build-in actions for setting name by package/classname (without prefix character) ...
abstract void apply(final boolean p_parallel, @Nonnull final T p_instance, @Nonnull final Object p_key, @Nonnull final List< ITerm > p_return)
apply operation
final IFuzzyValue< Boolean > execute(final boolean p_parallel, @Nonnull final IContext p_context, @Nonnull final List< ITerm > p_argument, @Nonnull final List< ITerm > p_return)
defines a plan-body operation
static< N > IFuzzyValue< N > from( @Nonnull final N p_value)
factory
common structure for execution definition
static final long serialVersionUID
serial id
execution context with local data
static Stream< ITerm > flatten( @Nonnull final Collection<? extends ITerm > p_terms)
flat term-in-term collection into a straight term list
abstract class to get a single elements of multiple maps
result for an immutable fuzzy value
final int minimalArgumentNumber()
minimum number of arguments