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