24 package org.lightjason.agentspeak.language.execution.expression;
34 import javax.annotation.Nonnull;
35 import java.util.List;
36 import java.util.stream.Stream;
59 @SuppressWarnings(
"unchecked" )
60 public <T>
CAtom( final T p_value )
68 @Nonnull
final List<ITerm> p_argument, @Nonnull
final List<ITerm> p_return )
70 p_return.add(
CRawTerm.
from(
CCommon.replaceFromContext( p_context, m_value ).raw() ).thrownotallocated() );
86 return m_value.hashCode();
90 public final boolean equals(
final Object p_object )
98 return m_value.toString();
final Stream< IVariable<?> > variables()
returns a stream with all used variables
static< N > IFuzzyValue< N > from( @Nonnull final N p_value)
factory
common structure for execution definition
execution context with local data
static final long serialVersionUID
serial id
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
result for an immutable fuzzy value
static< N > CRawTerm< N > from(final N p_value)
factory for a raw term
class for any helper calls
final boolean equals(final Object p_object)
term structure for simple datatypes