O - type of the object returned by the draw methodpublic class ConstantGenerator<O> extends Object implements Generator<O>
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
ConstantGenerator(O value)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
O |
draw()
Generate the next object.
|
O |
getValue()
Returns the value.
|
String |
toString() |
Copyright © 2014–2018 Delft University of Technology. All rights reserved.