Class Counter

    • Method Detail

      • add

        public void add()
        Increase the dimension-less/zero-point value of this counter by 1.
      • add

        public void add​(long n)
        Add to the dimension-less/zero-point value of this counter.
        Parameters:
        n - the amount by which to increase this counter
      • add

        public void add​(Point p)
        Increase this metric at the given point by 1.
        Parameters:
        p - the point in the metric space at which to increase this metric by 1
      • add

        public void add​(long n,
                        Point p)
        Add to this metric at the given point.
        Parameters:
        n - the amount by which to increase this counter
        p - the point in the metric space at which to add to the metric
      • builder

        public PointBuilder builder()
        Create a PointBuilder with default dimension values as given when this counter was declared.
        Returns:
        a PointBuilder reflecting the default dimension values of this counter