Package com.yahoo.metrics.simple
Class Point
java.lang.Object
com.yahoo.metrics.simple.Point
- All Implemented Interfaces:
Metric.Context
An efficiently comparable point in a sparse vector space.
- Author:
- steinar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the number of dimensions defined for this Point, i.e. the size of the collection returned bydimensions().Get an immutable list view of the names of each dimension.static Pointthe canonical 0-dimensional Point.booleaninthashCode()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().
-