Login | Register
My pages Projects Community openCollabNet

The Tigris site will receive a major upgrade the evening of Monday, December 1, beginning at 8:30 pm PST. Downtime is projected to be about ten hours. Further details in the announcement


jmt.measurement
Interface MeasurementMethod

All Known Subinterfaces:
ApplicationMeasurementMethod
All Known Implementing Classes:
AbstractApplicationMeasurementMethod, AbstractMeasurementMethod

public interface MeasurementMethod

Describes a method able to measure objects.

Author:
Martin Kersten

Method Summary
 MeasurementResult getResult(java.lang.Object toMeasure)
          Returns the measurement-result of the object or null if the object is not measureable.
 boolean isMeasureable(java.lang.Object toMeasure)
          Returns true if the object is measurable by this method.
 

Method Detail

getResult

public MeasurementResult getResult(java.lang.Object toMeasure)
Returns the measurement-result of the object or null if the object is not measureable.

Parameters:
toMeasure - The object to be measured
Returns:
The result of the measurement or null.

isMeasureable

public boolean isMeasureable(java.lang.Object toMeasure)
Returns true if the object is measurable by this method.

Parameters:
toMeasure - The object to measured
Returns:
true if the object is measurable by this method