24 package org.lightjason.agentspeak.action.builtin.collection.multimap;
26 import com.google.common.collect.Multimap;
34 import javax.annotation.Nonnegative;
35 import javax.annotation.Nonnull;
36 import java.util.Collections;
37 import java.util.List;
38 import java.util.stream.Collectors;
73 @Nonnull
final List<ITerm> p_argument, @Nonnull
final List<ITerm> p_return
77 final List<?> l_result = p_argument.stream()
78 .flatMap( i -> i.<Multimap<?, ?>>raw().keySet().stream() )
81 .collect( Collectors.toList() );
85 p_parallel ? Collections.synchronizedList( l_result ) : l_result
base class of build-in actions for setting name by package/classname (without prefix character) ...
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
returns all key values of the multimap.
final int minimalArgumentNumber()
minimum number of arguments
execution context with local data
result for an immutable fuzzy value
static< N > CRawTerm< N > from(final N p_value)
factory for a raw term
static final long serialVersionUID
serial id
term structure for simple datatypes