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 MeasurementMethodSet


public interface MeasurementMethodSet

Describes a 'static' bunch of measurement methods and is mainly used to measure a set of methods with constant method indexes.

Author:
Martin Kersten

Method Summary
 MeasurementMethod get(int index)
          Returns the method at the given index.
 MeasurementResultSet getResults(java.lang.Object toMeasure)
          Returns a result set of the measurement results, entries may be null if an object could not be measured by the method with the proper index.
 boolean[] isMeasureable(java.lang.Object toMeasure)
          Returns an array of booleans representing the result of the isMeasureable method of the measurement methods.
 int size()
          Returns the count of methods in the set.
 

Method Detail

get

public MeasurementMethod get(int index)
Returns the method at the given index.

Parameters:
index - The index of the method
Returns:
The method at the given index

getResults

public MeasurementResultSet getResults(java.lang.Object toMeasure)
Returns a result set of the measurement results, entries may be null if an object could not be measured by the method with the proper index.

Parameters:
toMeasure - The object to measure
Returns:
The measurement result set, entries may be null

isMeasureable

public boolean[] isMeasureable(java.lang.Object toMeasure)
Returns an array of booleans representing the result of the isMeasureable method of the measurement methods.

Parameters:
toMeasure - The object to measure
Returns:
An array of booleans representing the result of isMeasureable

size

public int size()
Returns the count of methods in the set.

Returns:
The count of methods