Class SingleBound.LowerBoundInclusive<T extends Number>
java.lang.Object
org.opentrafficsim.base.parameters.constraint.SingleBound.Bound
org.opentrafficsim.base.parameters.constraint.SingleBound.LowerBoundInclusive<T>
- Type Parameters:
T
- value type
- Enclosing class:
- SingleBound<T extends Number>
Class implementing a lower inclusive bound;
value >= bound
.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Field Summary
Fields inherited from class org.opentrafficsim.base.parameters.constraint.SingleBound.Bound
bound, classHashcode
-
Constructor Summary
-
Method Summary
Methods inherited from class org.opentrafficsim.base.parameters.constraint.SingleBound.Bound
toString
-
Constructor Details
-
LowerBoundInclusive
LowerBoundInclusive(T bound) Constructor.- Parameters:
bound
- T; bound
-
-
Method Details
-
accept
Returns true if the bound accepts the value.- Specified by:
accept
in classSingleBound.Bound
- Parameters:
value
- Number; the value to check- Returns:
- true if the bound accepts the value
-