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()
HGPersistentHandle
Return 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 HGPersistentHandle
public int compareTo(HGPersistentHandle other)
compareTo
in interface Comparable<HGPersistentHandle>
public HGPersistentHandle getPersistent()
getPersistent
in interface HGHandle
public String toStringValue()
Copyright © 2015. All rights reserved.