public class VersionedId extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static long |
INITIAL_VERSION |
| Constructor and Description |
|---|
VersionedId(long id)
Creates a versioned identifier with the initial version.
|
VersionedId(long id,
long version) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getId() |
long |
getVersion() |
int |
hashCode() |
static VersionedId |
parse(String s) |
String |
toString() |
public static final long INITIAL_VERSION
public VersionedId(long id)
public VersionedId(long id,
long version)
public long getId()
public long getVersion()
public static VersionedId parse(String s)
Copyright © 2008-2016 RIPE NCC, the Netherlands. All Rights Reserved.