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 MeasurementResultSet


public interface MeasurementResultSet

Describes a set of measurement results.

Author:
Martin Kersten

Method Summary
 boolean[] areResults()
          Returns an array of booleans representing the results of the isResult method.
 MeasurementResult get(int index)
          Returns the result at the given index or null if none.
 boolean isResult(int index)
          Returns true if the element at the index is a result.
 int size()
          Returns the number of results in the set.
 

Method Detail

areResults

public boolean[] areResults()
Returns an array of booleans representing the results of the isResult method.

Returns:
An array of booleans representing the result of isResult

get

public MeasurementResult get(int index)
Returns the result at the given index or null if none.

Parameters:
index - The index of the result
Returns:
The result at the given index or null

isResult

public boolean isResult(int index)
Returns true if the element at the index is a result.

Parameters:
index - The index of the result
Returns:
true if the element is a result.

size

public int size()
Returns the number of results in the set.

Returns:
The number of the results