public class IncrementingIdGenerator<T> extends Object implements UniqueIdGenerator<T>
Constructor and Description |
---|
IncrementingIdGenerator() |
IncrementingIdGenerator(int start)
Construct with a starting counter.
|
public IncrementingIdGenerator()
public IncrementingIdGenerator(int start)
start
- public int getId(T elem)
getId
in interface UniqueIdGenerator<T>
Copyright © 2019. All rights reserved.