|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface ArbitraryMeasurement
Annotation that identifies a given method as an "arbitrary measurement" method. The method should take no parameters and return a double, which is the measured value.
Optional Element Summary | |
---|---|
String |
description
Text description of the quantity measured by this measurement method. |
String |
units
The units for the value returned by this measurement method. |
public abstract String units
public abstract String description
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |