|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlrs.ALazyEval
lrs.lazyLRSEvaluators.LazyFibEval
public class LazyFibEval
Field Summary | |
---|---|
private int |
_fn1
|
private int |
_fn2
|
Constructor Summary | |
---|---|
LazyFibEval(int fn2,
int fn1)
|
Method Summary | |
---|---|
LRStruct |
makeLRS()
Factory method to correctly create the lazy list with this ILazyEval as the strategy for lazy evaluation. |
LRStruct |
nextLRS()
Performs lazy evaluation to compute the next LRStruct when needed. |
Methods inherited from class lrs.ALazyEval |
---|
makeLazyLRS |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int _fn1
private int _fn2
Constructor Detail |
---|
public LazyFibEval(int fn2, int fn1)
Method Detail |
---|
public LRStruct nextLRS()
ALazyEval
nextLRS
in class ALazyEval
public LRStruct makeLRS()
ALazyEval
makeLRS
in class ALazyEval
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |