Package jmri.util

Class QuickPromptUtil.FloatRangePredicate

    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean acceptHigh​(java.lang.Float val, java.lang.Float bound)  
      protected boolean acceptLow​(java.lang.Float val, java.lang.Float 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

      • FloatRangePredicate

        public FloatRangePredicate​(java.lang.Float min,
                                   java.lang.Float max,
                                   java.lang.String label)
    • Method Detail

      • acceptLow

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

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