Class Quota


  • public final class Quota
    extends Object
    An upper or lower bound for metrics
    • Constructor Detail

      • Quota

        public Quota​(double bound,
                     boolean upper)
    • Method Detail

      • upperBound

        public static Quota upperBound​(double upperBound)
      • lowerBound

        public static Quota lowerBound​(double lowerBound)
      • isUpperBound

        public boolean isUpperBound()
      • bound

        public double bound()
      • acceptable

        public boolean acceptable​(double value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object