Class IdGenerator

java.lang.Object
org.opentrafficsim.core.idgenerator.IdGenerator
All Implemented Interfaces:
Serializable

public class IdGenerator
extends Object
implements Serializable
Generate names for any kind of object.

Copyright (c) 2013-2019 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 Mar 4, 2016
Author:
Peter Knoppers
See Also:
Serialized Form
  • Constructor Details

    • IdGenerator

      public IdGenerator​(String baseName)
      Construct a new IdGenerator.
      Parameters:
      baseName - String; all generated names start with this string
  • Method Details