public interface Accumulation extends Op
Modifier and Type | Method and Description |
---|---|
Number |
currentResult()
Current result
|
IComplexNumber |
currentResultComplex()
Current accumulated result
|
List<Number> |
otherAccum()
Other accmuluations from the primary
|
List<IComplexNumber> |
otherAccumComplex()
Other accmuluations from the primary
|
void |
setCurrentResult(Number number)
Set the current result
|
void |
setCurrentResultComplex(IComplexNumber complexNumber)
Set the current complex number
result
|
void |
update(IComplexNumber result)
Update the current result to be this result
|
void |
update(Number result)
Update the current result to be this result
|
Number |
zero()
Initial value
|
IComplexNumber |
zeroComplex()
Complex initial value
|
IComplexNumber currentResultComplex()
Number currentResult()
void update(Number result)
result
- the resultvoid update(IComplexNumber result)
result
- the resultNumber zero()
IComplexNumber zeroComplex()
List<IComplexNumber> otherAccumComplex()
List<Number> otherAccum()
void setCurrentResult(Number number)
number
- the resultvoid setCurrentResultComplex(IComplexNumber complexNumber)
complexNumber
- the current complex number
resultCopyright © 2015. All Rights Reserved.