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