public class PrimitiveId extends AbstractIdentifier<Long>
| Constructor and Description |
|---|
PrimitiveId(Long value) |
| Modifier and Type | Method and Description |
|---|---|
static PrimitiveId |
from(long id)
Creates a snapshot ID from the given number.
|
static PrimitiveId |
from(String id)
Creates a snapshot ID from the given string.
|
equals, hashCode, id, toStringpublic PrimitiveId(Long value)
public static PrimitiveId from(long id)
id - the number from which to create the identifierpublic static PrimitiveId from(String id)
id - the string from which to create the identifierCopyright © 2013–2018. All rights reserved.