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