|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovyx.gpars.serial.WithSerialId groovyx.gpars.dataflow.expression.DataflowExpression<T> groovyx.gpars.dataflow.expression.DataflowComplexExpression<T>
public abstract class DataflowComplexExpression<T>
Provides the infrastructure for dataflow expressions to evaluate arguments. The arguments may be dataflow expressions of themselves and so we cannot evaluate them before they all have real values bound to them.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class groovyx.gpars.dataflow.expression.DataflowExpression |
---|
DataflowExpression.BindDataflow<T>, DataflowExpression.DataflowExpressionsCollector |
Field Summary | |
---|---|
protected java.lang.Object[] |
args
|
private static long |
serialVersionUID
|
Fields inherited from class groovyx.gpars.dataflow.expression.DataflowExpression |
---|
error, S_INITIALIZED, S_INITIALIZING, S_NOT_INITIALIZED, state, value |
Fields inherited from class groovyx.gpars.serial.WithSerialId |
---|
serialHandle |
Constructor Summary | |
---|---|
protected |
DataflowComplexExpression(java.lang.Object... elements)
|
Method Summary | |
---|---|
protected T |
evaluate()
Evaluates all the arguments |
protected void |
subscribe(DataflowExpression.DataflowExpressionsCollector listener)
Subscribes the listener to all the arguments |
Methods inherited from class groovyx.gpars.serial.WithSerialId |
---|
createRemoteHandle, getOrCreateSerialHandle, getRemoteClass, writeReplace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
protected final java.lang.Object[] args
Constructor Detail |
---|
protected DataflowComplexExpression(java.lang.Object... elements)
Method Detail |
---|
protected void subscribe(DataflowExpression.DataflowExpressionsCollector listener)
subscribe
in class DataflowExpression<T>
protected T evaluate()
evaluate
in class DataflowExpression<T>
|
Copyright © 2008–2012 Václav Pech. All Rights Reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |