- NEList - Class in listFW
-
Represents non-empty lists.
- NEList(Object, IList) - Constructor for class listFW.NEList
-
Initializes this NEList to a given first and a given rest.
- nonEmptyCase(NEList, Object...) - Method in interface listFW.IListAlgo
-
Operates on NEList
, a non-empty list.
- nonEmptyCase(NEList, Object...) - Method in class listFW.ToStringAlgo
-
Passes "(" + first to the rest of IList and asks for help to complete the computation.
- nonEmptyCase(NEList, Object...) - Method in class listFW.ToStringHelper
-
Continues accumulating the String representation by appending ", " + first to acc
and recurse!
- nonEmptyCase(NEList, Object...) - Method in class listFW.visitor.AddToAlgo
-
Returns a new NEList with the original first added to the given integer parameter, where the rest of the
list is the AddToAlgo applied to the rest of the original list.
- nonEmptyCase(NEList, Object...) - Method in class listFW.visitor.CopyAlgo
-
Returns a new NEList where first is the original first and
rest is a copy of the original rest.
- nonEmptyCase(NEList, Object...) - Method in class listFW.visitor.CountAlgo
-
Returns 1 plus the count of the rest of the list.
- nonEmptyCase(NEList, Object...) - Method in class listFW.visitor.FoldLAlgo
-
- nonEmptyCase(NEList, Object...) - Method in class listFW.visitor.FoldRAlgo
-
- nonEmptyCase(NEList, Object...) - Method in class listFW.visitor.ProdAlgo
-
- nonEmptyCase(NEList, Object...) - Method in class listFW.visitor.SumFwdAlgo
-
- nonEmptyCase(NEList, Object...) - Method in class listFW.visitor.SumRevAlgo
-
Returns first plus the sum of the rest of the list.