org.formulacompiler.runtime
Interface Resettable


public interface Resettable

Interface that must be implemented by an output class (or extended by an output interface) of computations that need to reset internal caches of values - typically for reuse on modified input values.

Author:
peo

Method Summary
 void reset()
          Clears all internal caches of the computation so it can be reused with changed input values.
 

Method Detail

reset

void reset()
Clears all internal caches of the computation so it can be reused with changed input values. You do not need to implement this method yourself. As long as you declare it, AFC will implement it for you. If you do implement it, AFC will call it prior to resetting the computation.