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