lrs
Class ALazyEval

java.lang.Object
  extended by lrs.ALazyEval
Direct Known Subclasses:
LazyConstantEval, LazyFibEval, LazyFilterEval, LazyIncEval, LazyLambdaEval, LazyNFacInvEval, LazySieveEval

public abstract class ALazyEval
extends java.lang.Object


Constructor Summary
ALazyEval()
           
 
Method Summary
protected  LRStruct makeLazyLRS(java.lang.Object value)
           
abstract  LRStruct makeLRS()
          Factory method to correctly create the lazy list with this ILazyEval as the strategy for lazy evaluation.
abstract  LRStruct nextLRS()
          Performs lazy evaluation to compute the next LRStruct when needed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ALazyEval

public ALazyEval()
Method Detail

nextLRS

public abstract LRStruct nextLRS()
Performs lazy evaluation to compute the next LRStruct when needed.


makeLRS

public abstract LRStruct makeLRS()
Factory method to correctly create the lazy list with this ILazyEval as the strategy for lazy evaluation.


makeLazyLRS

protected LRStruct makeLazyLRS(java.lang.Object value)