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, p_argument.get( 0 ).<T>raw(), i.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 );
static final long serialVersionUID
serial id
base class of build-in actions for setting name by package/classname (without prefix character) ...
abstract class to get a multiple elements of a single maps
static< N > IFuzzyValue< N > from( @Nonnull final N p_value)
factory
common structure for execution definition
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
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
result for an immutable fuzzy value
final int minimalArgumentNumber()
minimum number of arguments
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