| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfp.Cons<T>
public class Cons<T>
Makes new NEList given a first and rest.
| Field Summary | |
|---|---|
| private  IListFactory<T> | _fac | 
| Constructor Summary | |
|---|---|
| Cons(IListFactory<T> fac) | |
| Method Summary | |
|---|---|
|  IList<T> | apply(java.lang.Object... params)Creates an INEList with a given first and rest. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
private IListFactory<T> _fac
| Constructor Detail | 
|---|
public Cons(IListFactory<T> fac)
| Method Detail | 
|---|
public IList<T> apply(java.lang.Object... params)
apply in interface ILambda<IList<T>,java.lang.Object>params[0] - the first element of the IList to be created.params[1] - IList, the rest of the IList to be created.
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||