Class ConstantGenerator<O>
java.lang.Object
org.opentrafficsim.core.distributions.ConstantGenerator<O>
- Type Parameters:
O- type of the object returned by the draw method
- All Implemented Interfaces:
Generator<O>
- Direct Known Subclasses:
FixedRouteGenerator
public class ConstantGenerator<O> extends Object implements Generator<O>
Generator implementation for a constant value.
Copyright (c) 2013-2020 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 9 dec. 2017
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
Constructors Constructor Description ConstantGenerator(O value)Constructor. -
Method Summary
-
Constructor Details
-
ConstantGenerator
Constructor.- Parameters:
value- O; value
-
-
Method Details