24 package org.lightjason.agentspeak.language.variable;
30 import javax.annotation.Nonnull;
31 import javax.annotation.Nullable;
32 import java.util.Objects;
53 public CConstant( @Nonnull
final String p_functor, @Nullable
final T p_value )
55 super( p_functor, p_value );
64 public CConstant( @Nonnull
final IPath p_functor, @Nullable
final T p_value )
66 super( p_functor, p_value );
80 return ( Objects.isNull( p_prefix ) ) || ( p_prefix.length == 0 )
static< T > String languagestring(final T p_source, final String p_label, final Object... p_parameter)
returns the language depend string on any object
T m_value
value of the variable
final IPath m_functor
variable / functor name
static final long serialVersionUID
serial id
final IVariable< T > shallowcopysuffix()
clones the object (shallow-copy) without full-qualified path, only suffix is used ...
CConstant( @Nonnull final String p_functor, @Nullable final T p_value)
ctor
class for any helper calls
default variable definition
String suffix()
returns the last part of the path
final IVariable< T > shallowcopy(final IPath... p_prefix)
CConstant( @Nonnull final IPath p_functor, @Nullable final T p_value)
ctor