|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlrs.visitor.Apply
public class Apply
Applies the lambda specified as input to all elements in the LRStruct.
| Field Summary | |
|---|---|
static Apply |
Singleton
|
| Constructor Summary | |
|---|---|
private |
Apply()
|
| Method Summary | |
|---|---|
java.lang.Object |
emptyCase(LRStruct host,
java.lang.Object inp)
Operates on an empty LRStruct host, given an input object. |
java.lang.Object |
nonEmptyCase(LRStruct host,
java.lang.Object inp)
Operates on a non-empty LRStruct host, given an input object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Apply Singleton
| Constructor Detail |
|---|
private Apply()
| Method Detail |
|---|
public java.lang.Object emptyCase(LRStruct host,
java.lang.Object inp)
emptyCase in interface IAlgohost - an empty LRStruct.inp - ILambda to apply
public java.lang.Object nonEmptyCase(LRStruct host,
java.lang.Object inp)
nonEmptyCase in interface IAlgohost - a non-empty LRStruct.inp - ILambda to apply
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||