24 package org.lightjason.agentspeak.action.builtin.collection;
26 import com.google.common.collect.Multimap;
34 import javax.annotation.Nonnegative;
35 import javax.annotation.Nonnull;
36 import java.util.Collection;
37 import java.util.List;
65 @Nonnull
final List<ITerm> p_argument, @Nonnull
final List<ITerm> p_return
69 p_argument.parallelStream()
80 private static boolean clear( @Nonnull
final ITerm p_term )
84 p_term.<Collection<?>>raw().clear();
90 p_term.<Map<?, ?>>raw().clear();
96 p_term.<Multimap<?, ?>>raw().clear();
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
static boolean clear( @Nonnull final ITerm p_term)
clears element
execution context with local data
clears all elements of the collection.
static< T > boolean rawvalueAssignableTo( @Nonnull final T p_value, @Nonnull final Class<?>... p_class)
checks a term value for assignable class
result for an immutable fuzzy value
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
final int minimalArgumentNumber()
minimum number of arguments