Interface | Description |
---|---|
IAccumulator |
An accumulator
|
Class | Description |
---|---|
AAccumulator |
An IAccumulator that holds an Object as its internal value
and who's string representation is the string representation of
that value.
|
AddToAlgo |
Returns a copy of the list where the single integer parameter is added to all elements
|
CopyAcc |
Accumulates the values into a list, starting with an empty list.
|
CopyAlgo |
Returns a copy of the list
|
CountAlgo |
Returns the count of the number of elements in the list
|
FoldLAlgo |
Performs the fold-left (forward accumulation) algorithm using the given IAccumulator
The general forward accumulation algorithm would not take an accumulator as a top-level
input parameter, instead the accumulator would be hidden inside the algorithm.
|
FoldRAlgo |
Performs the fold-right (reverse accumulation) algorithm using the given IAccumulator.
|
LastNegAcc |
Accumulates (saves) the last negative number given to it.
|
ProdAlgo | |
SumAcc |
Accumulates the sum of the values, starting with a total of 1.
|
SumFwdAlgo |
Returns the sum of a list of integers using forward accumulation.
|
SumRevAlgo |
Returns the sum of a list of integers using reverse accumulation.
|