LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.action.builtin.collection.map.CGetMultiple Class Reference

returns a multiple element of a single map. More...

+ Inheritance diagram for org.lightjason.agentspeak.action.builtin.collection.map.CGetMultiple:
+ Collaboration diagram for org.lightjason.agentspeak.action.builtin.collection.map.CGetMultiple:

Protected Member Functions

final void apply (final boolean p_parallel, @Nonnull final Map< Object, Object > p_instance, @Nonnull final Object p_key, @Nonnull final List< ITerm > p_return)
 
- Protected Member Functions inherited from org.lightjason.agentspeak.action.builtin.collection.IMapGetMultiple< T >
 IMapGetMultiple ()
 ctor More...
 
abstract void apply (final boolean p_parallel, @Nonnull final T p_instance, @Nonnull final Object p_key, @Nonnull final List< ITerm > p_return)
 apply operation More...
 
- Protected Member Functions inherited from org.lightjason.agentspeak.action.builtin.IBuiltinAction
 IBuiltinAction ()
 ctor More...
 
 IBuiltinAction (final int p_length)
 ctor More...
 

Static Private Attributes

static final long serialVersionUID = -4100425217888323445L
 serial id More...
 

Additional Inherited Members

- Public Member Functions inherited from org.lightjason.agentspeak.action.builtin.collection.IMapGetMultiple< T >
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 More...
 
final int minimalArgumentNumber ()
 minimum number of arguments More...
 
- Public Member Functions inherited from org.lightjason.agentspeak.action.builtin.IBuiltinAction
final IPath name ()
 returns the name with path of the action More...
 
- Public Member Functions inherited from org.lightjason.agentspeak.action.IBaseAction
final boolean equals (final Object p_object)
 
final int hashCode ()
 
final String toString ()
 
- Public Member Functions inherited from org.lightjason.agentspeak.action.IAction
default Stream< IVariable<?> > variables ()
 returns a stream with all used variables More...
 
- Public Attributes inherited from org.lightjason.agentspeak.action.IAction
long serialVersionUID = -6374480398439703170L
 serial id More...
 
- Static Protected Attributes inherited from org.lightjason.agentspeak.action.builtin.IBuiltinAction
static final Logger LOGGER = CCommon.logger( IBuiltinAction.class )
 logger More...
 
- Static Protected Attributes inherited from org.lightjason.agentspeak.action.IBaseAction
static final Logger LOGGER = org.lightjason.agentspeak.common.CCommon.logger( IAction.class )
 logger More...
 

Detailed Description

The first argument is a map reference and all other arguments are key values, the action returns the value of each key and never fails

[V1|V2] = collection/map/getmultiple( Map, "key1", "key2" );

Definition at line 43 of file map/CGetMultiple.java.

Member Function Documentation

◆ apply()

final void org.lightjason.agentspeak.action.builtin.collection.map.CGetMultiple.apply ( final boolean  p_parallel,
@Nonnull final Map< Object, Object >  p_instance,
@Nonnull final Object  p_key,
@Nonnull final List< ITerm p_return 
)
protected

Definition at line 51 of file map/CGetMultiple.java.

References org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

Member Data Documentation

◆ serialVersionUID

final long org.lightjason.agentspeak.action.builtin.collection.map.CGetMultiple.serialVersionUID = -4100425217888323445L
staticprivate

Definition at line 48 of file map/CGetMultiple.java.