Class Gauge

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PointBuilder builder()
      Create a PointBuilder with the default dimension values reflecting those given when this gauge was declared.
      void sample​(double x)
      Record a sample with default or no position.
      void sample​(double x, Point p)
      Record a sample at the given position.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • sample

        public void sample​(double x)
        Record a sample with default or no position.
        Parameters:
        x - sample value
      • sample

        public void sample​(double x,
                           Point p)
        Record a sample at the given position.
        Parameters:
        x - sample value
        p - position/dimension values for the sample
      • builder

        public PointBuilder builder()
        Create a PointBuilder with the default dimension values reflecting those given when this gauge was declared.
        Returns:
        a builder initialized with defaults from this metric instance