Class MemoryStaticIntIDFactory

java.lang.Object
com.helger.commons.id.factory.MemoryStaticIntIDFactory
All Implemented Interfaces:
IBaseIDFactory, IIntIDFactory

@ThreadSafe public final class MemoryStaticIntIDFactory extends Object implements IIntIDFactory
An implementation of IIntIDFactory using a single static AtomicInteger.
Author:
Philip Helger
  • Field Details

    • INITIAL_ID

      public static final int INITIAL_ID
      The default start ID to use.
      See Also:
  • Constructor Details

    • MemoryStaticIntIDFactory

      public MemoryStaticIntIDFactory()
  • Method Details