Package jmri.util

Class QuickPromptUtil.IntRangePredicate

    • Constructor Summary

      Constructors 
      Constructor Description
      IntRangePredicate​(java.lang.Integer min, java.lang.Integer max, java.lang.String label)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean acceptHigh​(java.lang.Integer val, java.lang.Integer bound)  
      protected boolean acceptLow​(java.lang.Integer val, java.lang.Integer bound)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Constructor Detail

      • IntRangePredicate

        public IntRangePredicate​(java.lang.Integer min,
                                 java.lang.Integer max,
                                 java.lang.String label)
    • Method Detail

      • acceptLow

        protected boolean acceptLow​(java.lang.Integer val,
                                    java.lang.Integer bound)
      • acceptHigh

        protected boolean acceptHigh​(java.lang.Integer val,
                                     java.lang.Integer bound)