| Package | Description |
|---|---|
| controller | |
| listFW | |
| model |
| Modifier and Type | Field and Description |
|---|---|
private ListDemoFrame<IList> |
ListDemoApp.view |
| Modifier and Type | Class and Description |
|---|---|
class |
MTList
Represents the unique empty list using the singleton pattern.
|
class |
NEList
Represents non-empty lists.
|
| Modifier and Type | Field and Description |
|---|---|
private IList |
NEList._rest
The rest or "tail" of this NEList.
|
| Modifier and Type | Method and Description |
|---|---|
IList |
NEList.getRest()
Returns the first data element of this NEList.
|
| Constructor and Description |
|---|
NEList(java.lang.Object f,
IList r)
Initializes this NEList to a given first and a given rest.
|
| Modifier and Type | Field and Description |
|---|---|
private IList |
ListDemoModel.list0 |
private IList |
ListDemoModel.list1 |
private IList |
ListDemoModel.list2 |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
ListDemoModel.runFoldL(IList list,
java.lang.String classname)
Run the FoldLAlgo visitor on the given list using the given IAccumulator
|
java.lang.String |
ListDemoModel.runFoldR(IList list,
java.lang.String classname)
Run the FoldRAlgo visitor on the given list using the given IAccumulator
|
java.lang.String |
ListDemoModel.runListAlgo(IList list,
java.lang.String classname,
java.lang.String param)
Returns the result of a host list executing the given visitor with the given parameter
|
void |
IViewAdapter.setLists(IList... lists)
Give the view an array of strings to label the different list hosts.
|