public class LongPersistentHandle extends Object implements HGPersistentHandle
| Constructor and Description |
|---|
LongPersistentHandle(long v) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(HGPersistentHandle other) |
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 other)
compareTo in interface Comparable<HGPersistentHandle>public HGPersistentHandle getPersistent()
getPersistent in interface HGHandlepublic String toStringValue()
Copyright © 2015. All rights reserved.