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

adds an single element to multiple map arguments. More...

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

Protected Member Functions

final void apply ( @Nonnull final Map< Object, Object > p_instance, @Nonnull final Object p_key, @Nullable final Object p_value)
 
- Protected Member Functions inherited from org.lightjason.agentspeak.action.builtin.collection.IMapApplySingle< T >
 IMapApplySingle ()
 ctor More...
 
abstract void apply ( @Nonnull final T p_instance, @Nonnull final Object p_key, @Nullable final Object p_value)
 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 = 2571810828014437518L
 serial id More...
 

Additional Inherited Members

- Public Member Functions inherited from org.lightjason.agentspeak.action.builtin.collection.IMapApplySingle< 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

First argument is a key, second the value, all other values are map references, the key-value pair is added to all maps and the action never fails

collection/map/putsingle( "key", "value", Map1, Map2 );

Definition at line 41 of file map/CPutSingle.java.

Member Function Documentation

◆ apply()

final void org.lightjason.agentspeak.action.builtin.collection.map.CPutSingle.apply ( @Nonnull final Map< Object, Object >  p_instance,
@Nonnull final Object  p_key,
@Nullable final Object  p_value 
)
protected

Definition at line 49 of file map/CPutSingle.java.

Member Data Documentation

◆ serialVersionUID

final long org.lightjason.agentspeak.action.builtin.collection.map.CPutSingle.serialVersionUID = 2571810828014437518L
staticprivate

Definition at line 46 of file map/CPutSingle.java.