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, BaseAccumulator, BaseCalcInContext, BaseListCommonStream, BaseListFilterStream, BaseListFilterTransformerStream, BaseListIndexedStream1, BaseListStream0, BaseListStream1, BaseListStream2, BaseListStreamList, BaseStream2, BaseTask, BooleanTask, CalcAndSetTask, CalcAndSetTasks, CalcFixed, CartesianIndex2, ChainCodeHandler, CircleFinder, CountCollectionGreaterTask, CountCollectionTask, ExistTask, ExistTasks, FilterCountGreaterTask, FilterCountTask, FilterPolygonForSmallLines, FunctionCalcInvoke, FunctionEvalCalcInvoke, IteratorStream, LineProperties, ListCalcIndexStream1, ListCalcStream1, ListFilterCalcStream1, MaxAccumulator, MultiLine, MultiLineDirectionAnnotator, MultiLinePolygon, NamedCalcFixed, NamedListStream, NamedNumberedStream, NamedNumberedStreamLazySetup, NaturalNumberStream, NumericGreaterTask, 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 © 2008. All Rights Reserved.