public final class RPNTransform extends AbstractTransform
Instances of this class apply the RPN program from its '"Program"' parameter. This program is compiled on startup, using the macro and word definitions supplied by the'' and'' parameters for itself and its engine.
RPNEngineProxied.Abstract| Constructor and Description |
|---|
RPNTransform(RPNEngine engine)
Constructs a RPN transform.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<PointValue> |
applyTo(ResultValue resultValue,
Batch batch)
Applies the program to provide the specified result value.
|
boolean |
setUp(Metadata metadata,
ProxyEntity proxyEntity)
Sets up the instance for action.
|
boolean |
usesFetchedResult()
Asks if this transform needs the fetched result value.
|
addUpdate, getInstance, isNullRemoves, setUpgetMetadata, getName, getParams, getProxyEntity, getThisLogger, tearDownclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getParams, getProxyEntity, tearDownpublic RPNTransform(@Nonnull
RPNEngine engine)
engine - The RPN engine.public Optional<PointValue> applyTo(ResultValue resultValue, Batch batch)
When this method is called, the result value must have been provided with all its needed input values.
Note: the returned value is not required to be an instance of the ResultValue class.
resultValue - The result value needing update.batch - The current batch.public boolean setUp(Metadata metadata, ProxyEntity proxyEntity)
setUp in interface ProxiedsetUp in class AbstractTransformmetadata - The metadata available to the current process.proxyEntity - The proxy entity refering to the proxied.public boolean usesFetchedResult()
usesFetchedResult in interface TransformusesFetchedResult in class AbstractTransformCopyright © 2003-2019 Serge Brisson. All Rights Reserved.