24 package org.lightjason.agentspeak.language.variable;
31 import javax.annotation.Nonnull;
32 import javax.annotation.Nullable;
33 import java.util.Objects;
60 super( p_variable.functor(), p_variable.raw() );
61 m_relocate = p_variable;
71 super( p_functor, p_relocate.raw() );
72 m_relocate = p_relocate;
84 super( p_functor, p_value );
85 m_relocate = p_variable;
94 : m_relocate.
set( this.
raw() );
102 return ( Objects.isNull( p_prefix ) ) || ( p_prefix.length == 0 )
119 ( Objects.isNull( p_prefix ) ) || ( p_prefix.length == 0 )
final ITerm deepcopy(final IPath... p_prefix)
CRelocateMutexVariable( @Nonnull final IPath p_functor, @Nonnull final IVariable<?> p_relocate)
ctor
IVariable< T > set( @Nullable final T p_value)
sets the value
final synchronized< N > N raw()
cast to any raw value type
common structure for execution definition
final IVariable<?> m_relocate
reference to relocated variable
interface for relocated variables (linkage between two variables for transfering the value) ...
static IPath from( @Nonnull final String p_string)
factor method to build path
class to create a path structure
final IVariable<?> relocate()
sets the value into the relocated variable and returns the modifed variable
T m_value
value of the variable
final IPath m_functor
variable / functor name
static final long serialVersionUID
serial id
class for a mutex relocated variable
CRelocateMutexVariable( @Nonnull final IPath p_functor, @Nonnull final IVariable<?> p_variable, @Nullable final T p_value)
private ctor for creating object-copy
final IVariable< T > shallowcopy( @Nullable final IPath... p_prefix)
clones the object (shallow-copy)
final IVariable< T > shallowcopysuffix()
clones the object (shallow-copy) without full-qualified path, only suffix is used ...
class for any helper calls
IPath append( @Nonnull final IPath p_path)
appends a path at the current and returns a new object
String suffix()
returns the last part of the path
final ITerm deepcopysuffix()
CRelocateMutexVariable(final IVariable<?> p_variable)
ctor