org.shapelogic.calculation
Interface CalcValue<T>

All Known Subinterfaces:
Accumulator<In,Out>, CalcInContext<K,V>, CalcInvoke<T>, CartesianIndex, FilterCalcStream1<E,Out>, FilterStream<E>, FilterTransformerStream<E,Out>, Improver<S>, LazyCalc<T>, ListFilterStream<E>, ListStream<E>, NumberedStream<E>, ObjectAnnotator<S>, PolygonImprover, Stream<E>, Task<T>
All Known Implementing Classes:
AddListStream, AndListStream, AndTask, ArrayOutputListStream, BaseAccumulator, BaseCalcInContext, BaseCommonNumberedStream, BaseCommonStream, BaseListCommonStream, BaseListFilterStream, BaseListFilterTransformerStream, BaseListIndexedStream1, BaseListStream0, BaseListStream1, BaseListStream2, BaseListStreamList, BaseNumberedStream1, BaseStream2, BaseTask, BooleanTask, CalcAndSetTask, CalcAndSetTasks, CalcFixed, CalcNumberedStream1, CartesianIndex2, ChainCodeHandler, CircleFinder, CountCollectionGreaterTask, CountCollectionTask, ExistTask, ExistTasks, FilterCountGreaterTask, FilterCountTask, FilterPolygonForSmallLines, FunctionCalcInvoke, FunctionEvalCalcInvoke, IteratorStream, LineProperties, ListCalcIndexStream1, ListCalcStream1, ListFilterCalcStream1, MaxAccumulator, MultiLine, MultiLineDirectionAnnotator, MultiLinePolygon, NamedCalcFixed, NamedListCalcStream1, NamedListStream, NamedNumberedStream, NamedNumberedStreamLazySetup, NaturalNumberStream, NumericGreaterTask, NumericTruthTableStream, ParametricRuleTask, PixelTypeCalculator, Polygon, PolygonAnnotator, PolygonEndPointAdjuster, PredicateListFilterStream, PrimeNumberStream, RootTask, SimpleNumericTask, SimpleTask, SingleListStream, SumAccumulator, SVGReader, WrappedListStream, XOrListStream, XOrTask

public interface CalcValue<T>

Top interface for calculations.

Author:
Sami Badawi

Method Summary
 T getValue()
          Starts a lazy calculation.
 

Method Detail

getValue

T getValue()
Starts a lazy calculation. If dirty do calc() else return cached value. This should maybe be moved up in the hierarchy



Copyright © 2009. All Rights Reserved.