@ThreadSafe public final class MemoryIntIDFactory extends Object implements IIntIDFactory
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_START_ID
The default start ID to use.
|
| Constructor and Description |
|---|
MemoryIntIDFactory() |
MemoryIntIDFactory(int nStartID) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getNewID()
Create a new unique integer ID.
|
int |
hashCode() |
String |
toString() |
public static final int DEFAULT_START_ID
public MemoryIntIDFactory()
public MemoryIntIDFactory(@Nonnegative int nStartID)
public int getNewID()
IIntIDFactorygetNewID in interface IIntIDFactoryCopyright © 2014–2019 Philip Helger. All rights reserved.