|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAlgo
Represents an abstract algorithm on an LRStruct. Acts as a visitor to a
LRStruct host.
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. |
Method Detail |
---|
java.lang.Object emptyCase(LRStruct host, java.lang.Object inp)
host
- an empty LRStruct.inp
- input object needed by this IAlgo.
java.lang.Object nonEmptyCase(LRStruct host, java.lang.Object inp)
host
- a non-empty LRStruct.inp
- input object needed by this IAlgo.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |