Interface ResettableCalculation

All Known Implementing Classes:
CalculateDeriveObjectInput, CalculateDeriveSingleMemoFromPair, CalculateDilation, CalculateDilationMap, CalculateEllipseLeastSquares, CalculateEllipsoidLeastSquares, CalculateErosion, CalculateErosionMap, CalculateHistogram, CalculateHistogramMasked, CalculateIncrementalOperationMap, CalculateInputFromDelegate, CalculateInputFromDelegateOption, CalculateInputFromPair, CalculateIntersecting, CalculateNumberVoxels, CalculateObjectMask, CalculateShellObjectMask, CalculationPart, CalculationPartMap

public interface ResettableCalculation
A calculation that be invalidated (resetted), removing any existing cached value.

All resettable calculations must have a Object.hashCode() and Object.equals(java.lang.Object) implementation that checks that relevant parameters are equal.

Author:
Owen Feehan
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Resets the cached-calculation, so the next call to doOperationWithParameters() is guaranteed to calculation the operation, and store the value in the cache.
  • Method Details

    • invalidate

      void invalidate()
      Resets the cached-calculation, so the next call to doOperationWithParameters() is guaranteed to calculation the operation, and store the value in the cache.