public class NumberCast extends AtomicFunction
AtomicFunction.AtomicFunctionInputPin, AtomicFunction.AtomicFunctionOutputPin
m_context, m_inputPins, m_outputPins
Constructor and Description |
---|
NumberCast() |
Modifier and Type | Method and Description |
---|---|
NumberCast |
duplicate(boolean with_state)
Creates a possibly stateful copy of an object.
|
protected java.lang.Object[] |
getValue(java.lang.Object... inputs)
Computes the output value of the function based on input arguments.
|
java.lang.String |
toString() |
copyInto, duplicate, evaluate, getContext, getExplanation, getExplanation, getInputPin, getOutputPin, reset, setContext
addToInput, addToOutput, copyInto, getInputArity, getInputLinks, getOutputArity, getOutputLinks, removeFromInput, removeFromOutput, setToInput, setToOutput
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addToInput, addToOutput, getInputArity, getInputLinks, getOutputArity, getOutputLinks, removeFromInput, removeFromOutput, setToInput, setToOutput
protected java.lang.Object[] getValue(java.lang.Object... inputs) throws InvalidNumberOfArgumentsException
AtomicFunction
getValue
in class AtomicFunction
inputs
- The input arguments.InvalidNumberOfArgumentsException
- If the number of arguments of
the method does not equal the input arity of the functionpublic NumberCast duplicate(boolean with_state)
Duplicable
duplicate
in interface Duplicable
duplicate
in class Node
with_state
- Set to true
for a stateful copy, false
otherwisepublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © Sylvain HallĂ©. All Rights Reserved.