|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ICmdFactory
Interface for a factory to create a notify lambda.
| Method Summary | |
|---|---|
ILambda |
makeAddCmd(AFish fish)
Create a lambda that adds a new fish to the observable. |
ILambda |
makeDeleteCmd(AGlobalEnv.ALocalEnv env)
Create a lambda that notifies all observers to check if they are at the specified location and, if so, remove themselves from the observer. |
ILambda |
makeNotifyCmd(ILambda lambda)
Create a lambda that notifies all observers and sends them the lambda given as parameter. |
| Method Detail |
|---|
ILambda makeNotifyCmd(ILambda lambda)
lambda - lambda for the observers
ILambda makeDeleteCmd(AGlobalEnv.ALocalEnv env)
env - local environment at which fish should be deleted
ILambda makeAddCmd(AFish fish)
fish - fish to add
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||