org.objectweb.proactive.calcium.skeletons
Class Seq<T>

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface org.objectweb.proactive.calcium.interfaces.Skeleton
logger
 
Constructor Summary
Seq(Execute<T> secCode)
           
 
Method Summary
 Task<T> compute(Task<T> t)
           
 java.util.Vector<Instruction<T>> getInstructionStack()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Seq

public Seq(Execute<T> secCode)
Method Detail

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.