com.rubecula.jquantity
Interface Estimable

All Known Implementing Classes:
Approximation, Rational, WholeNumber

public interface Estimable

The public interface Estimable defines the methods which allow an object to maintain a visible, up-to-date estimate of its value for debugging purposes.

Since:
V_0_2
Version:
$Revision: 1.2 $
Author:
Robin Hillyard

Method Summary
 double getEstimate()
          Method to get the current estimate of an arithmetical value.
 void updateEstimate()
          MUTATING method to update the current estimate.
 

Method Detail

updateEstimate

public void updateEstimate()
MUTATING method to update the current estimate.


getEstimate

public double getEstimate()
Method to get the current estimate of an arithmetical value.

Returns:
the current estimate.