Annotation Type ArbitraryMeasurement


  • @Retention(RUNTIME)
    @Target(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

      Optional Elements 
      Modifier and Type Optional Element Description
      String description
      Text description of the quantity measured by this measurement method.
      String units
      The units for the value returned by this measurement method.
    • Element Detail

      • units

        String units
        The units for the value returned by this measurement method.
        Default:
        ""
      • description

        String description
        Text description of the quantity measured by this measurement method.
        Default:
        ""