net.sourceforge.wurfl.lang.oneparam
Class SequenceOp<R>
java.lang.Object
net.sourceforge.wurfl.lang.twoparam.TwoParamOp<V,Curry,R>
net.sourceforge.wurfl.lang.oneparam.OneParamOp<R,R>
net.sourceforge.wurfl.lang.oneparam.ChainableOp<R>
net.sourceforge.wurfl.lang.oneparam.SequenceOp<R>
public class SequenceOp<R>
- extends ChainableOp<R>
Executes in sequence other operations.
Date: 09/06/11
- Since:
- 1.3.5
- Version:
- $Id$
| Fields inherited from class net.sourceforge.wurfl.lang.twoparam.TwoParamOp |
logger |
|
Method Summary |
boolean |
equals(Object o)
Return true if the provided object equals this one. |
R |
execute(R s)
Ask each operation in the sequence to execute.\n
Each result is fed to next operation as parameter. |
String |
getDescription()
|
static void |
main(String[] args)
|
String |
toString()
Returns a string description of this operation sequence. |
| Methods inherited from class net.sourceforge.wurfl.lang.oneparam.ChainableOp |
then |
ops
protected final List<ChainableOp<R>> ops
SequenceOp
public SequenceOp(ChainableOp<R>... ops)
toString
public String toString()
- Returns a string description of this operation sequence.
- Overrides:
toString in class Object
- Returns:
- a string description of this operation sequence
equals
public boolean equals(Object o)
- Return true if the provided object equals this one.
- Overrides:
equals in class Object
- Returns:
- true if the provided object equals this one
execute
public final R execute(R s)
- Ask each operation in the sequence to
execute.\n
Each result is fed to next operation as parameter.
- Specified by:
execute in class OneParamOp<R,R>
getDescription
public final String getDescription()
main
public static void main(String[] args)
Copyright © 2012 ScientiaMobile Inc.. All Rights Reserved.