Class Summary |
Append<T> |
Append another list, passed as input[0], at the end of this list. |
CopyList<T> |
Copies an IList using the an IListFactory supplied as an input parameter |
CopyList2<T> |
Copies an IList using the supplied IListFactory |
CopyList3<T> |
Copies an IList using the an IListFactory supplied as an input parameter |
FoldL<T,P> |
Folds a list, starting at the left side. |
FoldR<T,P> |
Folds a list, starting at the right side. |
MakePhrase |
A test algorithm that works on a list of strings,
combining the elements into a single String. |
Reverse<T> |
Reverses a list. |
ReverseList<T> |
Reverses a particular kind of list only |
ReverseList2<T> |
Reverses a particular kind of list only, but with reduced type safety due to delegating
to host instead of rest. |
ReverseList3 |
Attempt to reverse any kind of list, but requires that the factory match the list
Could have serious problems at run-time due to type erasure |
SumIntList |
Sums a IList using a reverse accumulation (natural recursion) algorithm. |
SumIntList_Fwd |
Sums a IList using a forward accumulation algorithm. |
SumIntValList |
Sums a list of Numbers, but only the integer part of the values. |
SumNumList |
Sums a list of Numbers, including lists of any sub-types. |
ToStringAlgo |
Computes a String reprsentation of IList showing a left parenthesis followed
by elements of the IList separated by commas, ending with with a right parenthesis. |
ToStringHelper |
Helps ToStringAlgo compute the String representation of the rest of the list. |