Class SingleBound.LowerBoundExclusive<T extends Number>

java.lang.Object
org.opentrafficsim.base.parameters.constraint.SingleBound.Bound
org.opentrafficsim.base.parameters.constraint.SingleBound.LowerBoundExclusive<T>
Type Parameters:
T - value type
Enclosing class:
SingleBound<T extends Number>

static class SingleBound.LowerBoundExclusive<T extends Number> extends SingleBound.Bound
Class implementing a lower exclusive 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
  • Constructor Details

    • LowerBoundExclusive

      LowerBoundExclusive(T bound)
      Constructor.
      Parameters:
      bound - T; bound
  • Method Details

    • accept

      protected boolean accept(Number value)
      Returns true if the bound accepts the value.
      Specified by:
      accept in class SingleBound.Bound
      Parameters:
      value - Number; the value to check
      Returns:
      true if the bound accepts the value