|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IListFactory
Abstract factory to manufacture IEmptyList and INEList.
Method Summary | |
---|---|
IMTList |
makeEmptyList()
Creates an empty list. |
INEList |
makeNEList(Object first,
IList tail)
Creates a non-empty list containing a given first and a given rest. |
Method Detail |
---|
IMTList makeEmptyList()
INEList makeNEList(Object first, IList tail)
first
- a data object.tail
- != null, the rest of the non-empty list to be manufactured.
IllegalArgumentException
- if tail is null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |