Package jmri.util
Class QuickPromptUtil.FloatRangePredicate
- java.lang.Object
-
- jmri.util.QuickPromptUtil.FloatRangePredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<java.lang.Float>
- Enclosing class:
- QuickPromptUtil
static final class QuickPromptUtil.FloatRangePredicate extends java.lang.Object
-
-
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)
-
-
-
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)
-
-