24 package org.lightjason.agentspeak.action.builtin.agent;
35 import javax.annotation.Nonnull;
36 import java.util.Collections;
37 import java.util.List;
38 import java.util.stream.Collectors;
63 @Nonnull
final List<ITerm> p_argument, @Nonnull
final List<ITerm> p_return
66 final List<ILiteral> l_literal = (
68 ? p_context.agent().beliefbase().stream()
69 : p_argument.size() == 1
70 ? p_context.agent().beliefbase().stream(
CPath.
from( p_argument.get( 0 ).<String>raw() ) )
71 : p_context.agent().beliefbase().stream( p_argument.get( 1 ).<Boolean>raw(),
CPath.
from( p_argument.get( 0 ).<String>raw() ) )
72 ).collect( Collectors.toList() );
76 ? Collections.synchronizedList( l_literal )
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
static IPath from( @Nonnull final String p_string)
factor method to build path
class to create a path structure
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
returns a list of all belief literals.
static final long serialVersionUID
serial id
term structure for simple datatypes