FileDocCategorySizeDatePackage
SelfLoopHandler.javaAPI DocExample1786Thu Feb 04 16:10:44 GMT 1999None

SelfLoopHandler

public class SelfLoopHandler extends LoopHandler

Fields Summary
protected int
groupSize
Constructors Summary
public SelfLoopHandler(int start, int end, int size, int threads)

		super(start, end, threads);
		groupSize = size;
	
Methods Summary
protected synchronized LoopRangeloopGetRange()

		if (curLoop >= endLoop)
			return null;
		LoopRange ret = new LoopRange();
		ret.start = curLoop;
		curLoop += groupSize;
		ret.end = (curLoop<endLoop)?curLoop:endLoop;
		return ret;