LightJason - AgentSpeak(L++)
|
action to create random strings, with a definied length. More...
Public Member Functions | |
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... | |
![]() | |
final IPath | name () |
returns the name with path of the action More... | |
![]() | |
final boolean | equals (final Object p_object) |
final int | hashCode () |
final String | toString () |
![]() | |
default Stream< IVariable<?> > | variables () |
returns a stream with all used variables More... | |
Static Private Attributes | |
static final long | serialVersionUID = -3114914702129124265L |
serial id More... | |
Additional Inherited Members | |
![]() | |
long | serialVersionUID = -6374480398439703170L |
serial id More... | |
![]() | |
IBuiltinAction () | |
ctor More... | |
IBuiltinAction (final int p_length) | |
ctor More... | |
![]() | |
static final Logger | LOGGER = CCommon.logger( IBuiltinAction.class ) |
logger More... | |
![]() | |
static final Logger | LOGGER = org.lightjason.agentspeak.common.CCommon.logger( IAction.class ) |
logger More... | |
The first argument are the characters, that will be used to create the string, all other arguments are numbers to present the length of the returning string and the action never fails
Definition at line 49 of file CRandom.java.
final IFuzzyValue<Boolean> org.lightjason.agentspeak.action.builtin.string.CRandom.execute | ( | final boolean | p_parallel, |
@Nonnull final IContext | p_context, | ||
@Nonnull final List< ITerm > | p_argument, | ||
@Nonnull final List< ITerm > | p_return | ||
) |
p_parallel | parallel execution |
p_context | current execution context |
p_argument | parameter of the action |
p_return | return values |
Implements org.lightjason.agentspeak.language.execution.IExecution.
Definition at line 65 of file CRandom.java.
References org.lightjason.agentspeak.language.CCommon.flatten(), org.lightjason.agentspeak.language.CRawTerm< T >.from(), and org.lightjason.agentspeak.language.fuzzy.CFuzzyValue< T >.from().
Referenced by org.lightjason.agentspeak.action.builtin.TestCActionString.random().
final int org.lightjason.agentspeak.action.builtin.string.CRandom.minimalArgumentNumber | ( | ) |
Implements org.lightjason.agentspeak.action.IAction.
Definition at line 58 of file CRandom.java.
|
staticprivate |
Definition at line 54 of file CRandom.java.