lrs.lazyLRSEvaluators
Class LazyIncEval

java.lang.Object
  extended by lrs.ALazyEval
      extended by lrs.lazyLRSEvaluators.LazyIncEval

public class LazyIncEval
extends ALazyEval


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

val

int val

increment

int increment
Constructor Detail

LazyIncEval

public LazyIncEval(int val,
                   int increment)
Method Detail

nextLRS

public final LRStruct nextLRS()
Description copied from class: ALazyEval
Performs lazy evaluation to compute the next LRStruct when needed.

Specified by:
nextLRS in class ALazyEval

makeLRS

public final LRStruct makeLRS()
Description copied from class: ALazyEval
Factory method to correctly create the lazy list with this ILazyEval as the strategy for lazy evaluation.

Specified by:
makeLRS in class ALazyEval