Package com.yahoo.metrics.simple
Class Point
java.lang.Object
com.yahoo.metrics.simple.Point
- All Implemented Interfaces:
com.yahoo.jdisc.Metric.Context
An efficiently comparable point in a sparse vector space.
- Author:
- steinar
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the number of dimensions defined for this Point, i.e.Get an immutable list view of the names of each dimension.static Point
the canonical 0-dimensional Point.boolean
int
hashCode()
location()
Get an immutable list view of the values for each dimension.toString()
-
Constructor Details
-
Point
-
-
Method Details
-
emptyPoint
the canonical 0-dimensional Point. -
equals
-
hashCode
public int hashCode() -
toString
-
location
Get an immutable list view of the values for each dimension. -
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 bydimensions()
.
-