Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package jadex.bdi.planlib.iasteps;
 
 
 
 public class StepChain implements IComponentStep
 {
	protected IComponentStep[] steps;
	public StepChain(IComponentStep[] steps)
	{
		this. = steps;
	}
	public StepChain(Collection steps)
	{
		this. = (IComponentStep[]) steps.toArray(new IComponentStep[steps.size()]);
	}
	{
		Object[] results = new Object[.];
		for (int i = 0; i < .; ++i)
			results[i] = [i].execute(ia);
		return results;
	}
New to GrepCode? Check out our FAQ X