js-util

Home > rc-js-util > IncrementingIdentifierFactory

IncrementingIdentifierFactory class

Provides an incrementing integer identifier.

Signature:

export declare class IncrementingIdentifierFactory implements IIdentifierFactory 

Implements: IIdentifierFactory

Remarks

By default the first ID will be 1, this may be configured at construction.

Constructors

Constructor Modifiers Description
(constructor)(id)   Constructs a new instance of the IncrementingIdentifierFactory class

Methods

Method Modifiers Description
getNextId()