public abstract static class ProgressDistributable.Default<CONTEXT> extends Object implements ProgressDistributable<CONTEXT>
ProgressDistributable.Default<CONTEXT>
Constructor and Description |
---|
ProgressDistributable.Default() |
ProgressDistributable.Default(int loopCount,
double loopWork) |
Modifier and Type | Method and Description |
---|---|
int |
getLoopCount(CONTEXT context) |
double |
getLoopWork(CONTEXT context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
runLoop
public ProgressDistributable.Default()
public ProgressDistributable.Default(int loopCount, double loopWork)
public int getLoopCount(CONTEXT context)
getLoopCount
in interface ProgressDistributable<CONTEXT>
public double getLoopWork(CONTEXT context)
getLoopWork
in interface ProgressDistributable<CONTEXT>
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.