|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.javasimon.callback.lastsplits.LastSplits.AbstractSplitFunction<T>
T - Function return typeprivate abstract static class LastSplits.AbstractSplitFunction<T>
Base implementation of functions
| Field Summary | |
|---|---|
protected T |
result
Function result |
| Constructor Summary | |
|---|---|
LastSplits.AbstractSplitFunction(T result)
Initial function result |
|
| Method Summary | |
|---|---|
abstract void |
evaluate(long runningFor)
Running for duration of the split |
void |
evaluate(Split split)
Calls evaluate with split running for duration |
T |
result()
Final result |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected T result
| Constructor Detail |
|---|
public LastSplits.AbstractSplitFunction(T result)
| Method Detail |
|---|
public abstract void evaluate(long runningFor)
runningFor - Running forpublic final void evaluate(Split split)
evaluate in interface LastSplits.SplitFunction<T>split - Current splitpublic T result()
result in interface LastSplits.SplitFunction<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||