- emptyCase(MTList, Object...) - Method in interface listFW.IListAlgo
-
Operates on MTList
, the empty list.
- emptyCase(MTList, Object...) - Method in class listFW.ToStringAlgo
-
Returns "()".
- emptyCase(MTList, Object...) - Method in class listFW.ToStringHelper
-
Returns the accumulated String + ")".
- emptyCase(MTList, Object...) - Method in class listFW.visitor.AddToAlgo
-
Returns an empty list always
- emptyCase(MTList, Object...) - Method in class listFW.visitor.CopyAlgo
-
Returns an MTList always.
- emptyCase(MTList, Object...) - Method in class listFW.visitor.CountAlgo
-
Returns zero always
- emptyCase(MTList, Object...) - Method in class listFW.visitor.FoldLAlgo
-
- emptyCase(MTList, Object...) - Method in class listFW.visitor.FoldRAlgo
-
- emptyCase(MTList, Object...) - Method in class listFW.visitor.ProdAlgo
-
- emptyCase(MTList, Object...) - Method in class listFW.visitor.SumFwdAlgo
-
- emptyCase(MTList, Object...) - Method in class listFW.visitor.SumRevAlgo
-
Returns zero always.
- execute(IListAlgo, Object...) - Method in interface listFW.IList
-
Relegates to subclasses to call algo to perform the appropriate task with the given
input and returns an Object representing the output of the computation.
- execute(IListAlgo, Object...) - Method in class listFW.MTList
-
Calls the empty case of the algorithm algo, passing to it itself as
the host parameter and the given input inp as the input parameter.
- execute(IListAlgo, Object...) - Method in class listFW.NEList
-
Calls the nonEmptyCase method of the IListAlgo parameter, passing to this
method itself as the host parameter and the given input as the input
parameter.