Class Point

java.lang.Object
com.yahoo.metrics.simple.Point
All Implemented Interfaces:
com.yahoo.jdisc.Metric.Context

public final class Point extends Object implements com.yahoo.jdisc.Metric.Context
An efficiently comparable point in a sparse vector space.
Author:
steinar
  • Constructor Details

    • Point

      public Point(Map<String,?> properties)
  • Method Details

    • emptyPoint

      public static Point emptyPoint()
      the canonical 0-dimensional Point.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • location

      public List<Value> location()
      Get an immutable list view of the values for each dimension.
    • dimensions

      public List<String> dimensions()
      Get an immutable list view of the names of each dimension.
    • dimensionality

      public int dimensionality()
      Get the number of dimensions defined for this Point, i.e. the size of the collection returned by dimensions().