24 package org.lightjason.agentspeak.action.builtin.generic.type;
29 import javax.annotation.Nonnull;
30 import java.util.List;
48 protected final boolean cast( @Nonnull
final ITerm p_value, @Nonnull
final List<ITerm> p_return )
52 p_return.add(
CRawTerm.
from( p_value.<Number>raw().doubleValue() ) );
55 catch (
final Exception l_exception )
action to cast a value to a number value.
abstract class to cast / translate a value.
final boolean cast( @Nonnull final ITerm p_value, @Nonnull final List< ITerm > p_return)
static final long serialVersionUID
serial id
static< N > CRawTerm< N > from(final N p_value)
factory for a raw term
term structure for simple datatypes