Class SingleBound.Bound
java.lang.Object
org.opentrafficsim.base.parameters.constraint.SingleBound.Bound
- Direct Known Subclasses:
SingleBound.LowerBoundExclusive
,SingleBound.LowerBoundInclusive
,SingleBound.UpperBoundExclusive
,SingleBound.UpperBoundInclusive
- Enclosing class:
- SingleBound<T extends Number>
Super class for classes that implement a specific numeric check.
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
Modifier and TypeFieldDescription(package private) final Number
Value of the bound.(package private) final int
Hashcode of the value class. -
Constructor Summary
-
Method Summary
-
Field Details
-
bound
Value of the bound. -
classHashcode
final int classHashcodeHashcode of the value class.
-
-
Constructor Details
-
Bound
Constructor.- Parameters:
bound
- Number; value of the boundstringFormat
- String; string representation of this bound with %s for the value
-
-
Method Details