|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlrs.ANode
lrs.LazyNonNullState
public class LazyNonNullState
Decorator for NonNullState, adding lazy evaluation capability.
| Field Summary | |
|---|---|
(package private) ALazyEval |
aLazyEval
|
(package private) NENode |
neNode
|
| Fields inherited from class lrs.ANode |
|---|
ToStringAlgo |
| Constructor Summary | |
|---|---|
LazyNonNullState(java.lang.Object first,
ALazyEval aLazyEval)
|
|
| Method Summary | |
|---|---|
(package private) void |
eval(LRStruct owner)
|
(package private) java.lang.Object |
execute(LRStruct host,
IAlgo visitor,
java.lang.Object... param)
Executes a visitor algorithm and returns the output. |
(package private) java.lang.Object |
getFirst(LRStruct owner)
Returns the first data object of the referencing LRStruct. |
(package private) LRStruct |
getRest(LRStruct owner)
Returns the tail LRStruct of the referencing LRStruct. |
(package private) LRStruct |
insertFront(java.lang.Object dat,
LRStruct owner)
Inserts a data object at the front of the LRStruct owner. |
(package private) java.lang.Object |
removeFront(LRStruct owner)
Removes and returns the first data object for the referencing LRStruct. |
(package private) LRStruct |
setFirst(java.lang.Object first,
LRStruct owner)
Sets a new first data object for the referencing LRStruct. |
(package private) LRStruct |
setRest(LRStruct tail,
LRStruct owner)
Sets a new tail for the referencing LRStruct. |
| Methods inherited from class lrs.ANode |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
ALazyEval aLazyEval
NENode neNode
| Constructor Detail |
|---|
LazyNonNullState(java.lang.Object first,
ALazyEval aLazyEval)
| Method Detail |
|---|
LRStruct getRest(LRStruct owner)
ANode
getRest in class ANodeowner - the LRStruct referencing this ANode.
LRStruct setRest(LRStruct tail,
LRStruct owner)
ANode
setRest in class ANodetail - the new tail for the owner LRStruct.owner - the LRS referencing this ANode.
LRStruct owner
LRStruct setFirst(java.lang.Object first,
LRStruct owner)
ANode
setFirst in class ANodeowner - the LRS referencing this ANode.
LRStruct owner
LRStruct insertFront(java.lang.Object dat,
LRStruct owner)
ANode
insertFront in class ANodedat - the object to be inserted at the front.owner - the LRS referencing this ANode.
LRStruct ownerjava.lang.Object removeFront(LRStruct owner)
ANode
removeFront in class ANodeowner - the LRS referencing this ANode.
void eval(LRStruct owner)
java.lang.Object getFirst(LRStruct owner)
ANode
getFirst in class ANodeowner - the LRStruct referencing this ANode.
java.lang.Object execute(LRStruct host,
IAlgo visitor,
java.lang.Object... param)
ANode
execute in class ANodehost - the LRStruct referencing this ANode.visitor - the visitor algorithm to be executed.param - the inputs needed by the algorithm.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||