LightJason - AgentSpeak(L++)
|
constant definition More...
Public Member Functions | |
CConstant ( @Nonnull final String p_functor, @Nullable final T p_value) | |
ctor More... | |
CConstant ( @Nonnull final IPath p_functor, @Nullable final T p_value) | |
ctor More... | |
final IVariable< T > | set (final T p_value) |
final IVariable< T > | shallowcopy (final IPath... p_prefix) |
final IVariable< T > | shallowcopysuffix () |
clones the object (shallow-copy) without full-qualified path, only suffix is used More... | |
Public Member Functions inherited from org.lightjason.agentspeak.language.variable.CVariable< T > | |
CVariable ( @Nonnull final String p_functor) | |
ctor More... | |
CVariable ( @Nonnull final String p_functor, @Nullable final T p_value) | |
ctor More... | |
CVariable ( @Nonnull final IPath p_functor) | |
ctor More... | |
CVariable ( @Nonnull final IPath p_functor, @Nullable final T p_value) | |
ctor More... | |
boolean | allocated () |
returns allocated state More... | |
final boolean | any () |
flag to define a "any variable" More... | |
ITerm | deepcopy (final IPath... p_prefix) |
ITerm | deepcopysuffix () |
final boolean | equals (final Object p_object) |
final IPath | fqnfunctor () |
returns the full-qualified functor with path and name More... | |
final String | functor () |
returns the functor without path More... | |
final IPath | functorpath () |
returns the path of the functor More... | |
final int | hashCode () |
final boolean | hasVariable () |
checks if the literal has variables More... | |
boolean | mutex () |
flag to check if variable has is concurrency- / thread-safe More... | |
IVariable< T > | set ( @Nullable final T p_value) |
sets the value More... | |
IVariable< T > | shallowcopy (final IPath... p_prefix) |
IVariable< T > | shallowcopysuffix () |
clones the object (shallow-copy) without full-qualified path, only suffix is used More... | |
final int | structurehash () |
returns a hash value which defines a hash ove rthe structure More... | |
IVariable< T > | thrownotallocated () throws IllegalStateException |
throws an illegal state exception iif the variable is not allocated More... | |
IVariable< T > | throwvaluenotassignableto ( @Nonnull final Class<?>... p_class) throws IllegalArgumentException |
throws an illegal argument exception iif the value is not assignable to the class More... | |
String | toString () |
boolean | valueassignableto ( @Nonnull final Class<?>... p_class) |
checkes assignable of the value More... | |
Public Member Functions inherited from org.lightjason.agentspeak.language.ITerm | |
default< T extends ITerm > T | term () |
casts the object to a term-type More... | |
Public Member Functions inherited from org.lightjason.agentspeak.language.IDeepCopy< ITerm > | |
T | deepcopy (@Nullable final IPath... p_prefix) |
clones the object (shallow-copy) More... | |
T | deepcopysuffix () |
clones the object (shallow-copy) without full-qualified path, only suffix is used More... | |
Public Member Functions inherited from org.lightjason.agentspeak.language.IShallowCopy< T > | |
T | shallowcopy ( @Nullable final IPath... p_prefix) |
clones the object (shallow-copy) More... | |
Static Private Attributes | |
static final long | serialVersionUID = -8207552612082585231L |
serial id More... | |
Additional Inherited Members | |
Public Attributes inherited from org.lightjason.agentspeak.language.ITerm | |
ITerm | EMPTY |
empty term More... | |
long | serialVersionUID = -3640918490398129717L |
serial id More... | |
Public Attributes inherited from org.lightjason.agentspeak.language.IStructureHash | |
Comparator< IStructureHash > | COMPARATOR = Comparator.comparingInt( IStructureHash::structurehash ) |
comparator More... | |
Protected Attributes inherited from org.lightjason.agentspeak.language.variable.CVariable< T > | |
final boolean | m_any |
boolean flag, that defines an variable which matchs always More... | |
final IPath | m_functor |
variable / functor name More... | |
T | m_value |
value of the variable More... | |
Package Functions inherited from org.lightjason.agentspeak.language.variable.CVariable< T > | |
public< N > N | raw () |
cast to any raw value type More... | |
T | data type |
Definition at line 40 of file CConstant.java.
org.lightjason.agentspeak.language.variable.CConstant< T >.CConstant | ( | @Nonnull final String | p_functor, |
@Nullable final T | p_value | ||
) |
p_functor | name |
p_value | value |
Definition at line 53 of file CConstant.java.
org.lightjason.agentspeak.language.variable.CConstant< T >.CConstant | ( | @Nonnull final IPath | p_functor, |
@Nullable final T | p_value | ||
) |
p_functor | name |
p_value | value |
Definition at line 64 of file CConstant.java.
final IVariable<T> org.lightjason.agentspeak.language.variable.CConstant< T >.set | ( | final T | p_value | ) |
Definition at line 71 of file CConstant.java.
References org.lightjason.agentspeak.common.CCommon.languagestring(), and org.lightjason.agentspeak.language.variable.CVariable< T >.m_functor.
final IVariable<T> org.lightjason.agentspeak.language.variable.CConstant< T >.shallowcopy | ( | final IPath... | p_prefix | ) |
Definition at line 78 of file CConstant.java.
References org.lightjason.agentspeak.language.variable.CVariable< T >.m_functor, and org.lightjason.agentspeak.language.variable.CVariable< T >.m_value.
final IVariable<T> org.lightjason.agentspeak.language.variable.CConstant< T >.shallowcopysuffix | ( | ) |
Implements org.lightjason.agentspeak.language.IShallowCopy< T >.
Definition at line 88 of file CConstant.java.
References org.lightjason.agentspeak.language.variable.CVariable< T >.m_functor, org.lightjason.agentspeak.language.variable.CVariable< T >.m_value, and org.lightjason.agentspeak.common.IPath.suffix().
|
staticprivate |
Definition at line 45 of file CConstant.java.