org.objectweb.proactive.calcium.skeletons
Class Seq<T>
java.lang.Object
org.objectweb.proactive.calcium.skeletons.Seq<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
- java.io.Serializable, Instruction<T>, Skeleton<T>
public class Seq<T>
- extends java.lang.Object
- implements Skeleton<T>, Instruction<T>
The Seq skeleton is a wrapper for the user inputed
sequential code. This class allows the code to be nested
inside other skeletons.
- Author:
- The ProActive Team (mleyton)
- See Also:
- Serialized Form
Fields inherited from interface org.objectweb.proactive.calcium.interfaces.Skeleton |
logger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Seq
public Seq(Execute<T> secCode)
getInstructionStack
public java.util.Vector<Instruction<T>> getInstructionStack()
- Specified by:
getInstructionStack
in interface Skeleton<T>
compute
public Task<T> compute(Task<T> t)
throws java.lang.RuntimeException,
EnvironmentException
- Specified by:
compute
in interface Instruction<T>
- Throws:
java.lang.RuntimeException
EnvironmentException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright 2001-2007 INRIA All Rights Reserved.