Class Identifier


  • public class Identifier
    extends java.lang.Object
    The name of the metric and its n-dimensional position. Basically a pair of a Point and a metric name. Written to be robust against null input as the API gives very little guidance, converting null to empty string/point. Immutable.
    Author:
    Steinar Knutsen
    • Constructor Summary

      Constructors 
      Constructor Description
      Identifier​(java.lang.String name, Point location)  
    • Constructor Detail

      • Identifier

        public Identifier​(java.lang.String name,
                          Point location)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getName

        public java.lang.String getName()
      • getLocation

        public Point getLocation()