public class IntPersistentHandle extends Object implements HGPersistentHandle
| Constructor and Description |
|---|
IntPersistentHandle(int value) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(HGPersistentHandle o) |
boolean |
equals(Object obj) |
HGPersistentHandle |
getPersistent() |
int |
hashCode() |
byte[] |
toByteArray()
Return a
byte[] representation of the handle. |
String |
toString() |
String |
toStringValue() |
public byte[] toByteArray()
HGPersistentHandleReturn a byte[] representation of the handle. Note that byte[]
representations of all handles will be of the same size. For example 4 for integer based handles,
or 16 for UUID based handles.
toByteArray in interface HGPersistentHandlepublic int compareTo(HGPersistentHandle o)
compareTo in interface Comparable<HGPersistentHandle>public String toStringValue()
public HGPersistentHandle getPersistent()
getPersistent in interface HGHandleCopyright © 2015. All rights reserved.