lrs.lazyLRSEvaluators
Class LazyConstantEval

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

public class LazyConstantEval
extends ALazyEval


Field Summary
(package private)  int val
           
 
Constructor Summary
LazyConstantEval(int val)
           
 
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
Constructor Detail

LazyConstantEval

public LazyConstantEval(int val)
Parameters:
val -
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
Returns: