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>
abstract static class SingleBound.Bound extends Object
Super class for classes that implement a specific numeric check.Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 8 sep. 2017
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Number
bound
Value of the bound.(package private) int
classHashcode
Hashcode of the value class.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) abstract boolean
accept(Number value)
Returns true if the bound accepts the value.String
toString()
-
-
-
Field Detail
-
bound
final Number bound
Value of the bound.
-
classHashcode
final int classHashcode
Hashcode of the value class.
-
-