|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlrs.ALazyEval
lrs.lazyLRSEvaluators.LazyIncEval
public class LazyIncEval
| Field Summary | |
|---|---|
(package private) int |
increment
|
(package private) int |
val
|
| Constructor Summary | |
|---|---|
LazyIncEval(int val,
int increment)
|
|
| 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 |
|---|
int val
int increment
| Constructor Detail |
|---|
public LazyIncEval(int val,
int increment)
| Method Detail |
|---|
public final LRStruct nextLRS()
ALazyEval
nextLRS in class ALazyEvalpublic final LRStruct makeLRS()
ALazyEval
makeLRS in class ALazyEval
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||