org.shapelogic.logic
Interface Calc<T>

All Known Subinterfaces:
Improver<S>, LazyCalc<T>, ObjectAnnotator<S>, PolygonImprover, Task<T>
All Known Implementing Classes:
AndTask, BaseTask, BooleanTask, CalcAndSetTask, CalcAndSetTasks, ChainCodeHandler, CircleFinder, CountCollectionGreaterTask, CountCollectionTask, ExistTask, ExistTasks, FilterCountGreaterTask, FilterCountTask, FilterPolygonForSmallLines, LineProperties, MultiLine, MultiLineDirectionAnnotator, MultiLinePolygon, NumericGreaterTask, ParametricRuleTask, PixelTypeCalculator, Polygon, PolygonAnnotator, PolygonEndPointAdjuster, RootTask, SimpleNumericTask, SimpleTask, XOrTask

public interface Calc<T>

Author:
Sami Badawi

Method Summary
 T calc()
           
 T getCalcValue()
          If dirty do calc() else return cached value.
 

Method Detail

calc

T calc()

getCalcValue

T getCalcValue()
If dirty do calc() else return cached value. This should maybe be moved up in the hierarchy



Copyright © 2007. All Rights Reserved.