Class IdSupplier

java.lang.Object
org.opentrafficsim.core.idgenerator.IdSupplier
All Implemented Interfaces:
Supplier<String>

public class IdSupplier extends Object implements Supplier<String>
Supply names for any kind of object.

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:
Peter Knoppers
  • Constructor Details

    • IdSupplier

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