Class AbstractMetric

    • Constructor Detail

      • AbstractMetric

        protected AbstractMetric​(String name,
                                 @Nullable
                                 @Nullable String desc)
        Parameters:
        name - Name.
        desc - Description.
    • Method Detail

      • name

        public String name()
        Specified by:
        name in interface Metric
        Returns:
        Name of the metric.
      • description

        @Nullable
        public @Nullable String description()
        Specified by:
        description in interface Metric
        Returns:
        Description of the metric.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object