Class MetricImpl

  • All Implemented Interfaces:
    Metric

    public final class MetricImpl
    extends java.lang.Object
    implements Metric
    • Constructor Summary

      Constructors 
      Constructor Description
      MetricImpl​(java.lang.Long key, java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getKey()
      Gets the key.
      java.lang.String getName()
      Gets the name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MetricImpl

        public MetricImpl​(java.lang.Long key,
                          java.lang.String name)
    • Method Detail

      • getKey

        public long getKey()
        Description copied from interface: Metric
        Gets the key.
        Specified by:
        getKey in interface Metric
        Returns:
        the key.
      • getName

        public java.lang.String getName()
        Description copied from interface: Metric
        Gets the name.
        Specified by:
        getName in interface Metric
        Returns:
        the name.