Class NumericConstraint<T>

    • Constructor Detail

      • NumericConstraint

        protected NumericConstraint​(String definition)
    • Method Detail

      • getBound

        protected abstract T getBound​(String bound)
      • test

        public boolean test​(@Nullable
                            @Nullable Value value)
        Specified by:
        test in interface Predicate<T>
      • less

        protected abstract boolean less​(T val,
                                        T bound)
      • greater

        protected boolean greater​(T val,
                                  T bound)
      • equals

        protected boolean equals​(T val,
                                 T bound)
      • greaterOrEqual

        protected boolean greaterOrEqual​(T val,
                                         T bound)
      • lessOrEqual

        protected boolean lessOrEqual​(T val,
                                      T bound)