public class Location extends Leb128ByteArray implements ToIndexedValue
bytes, FIXED_SIZE| Constructor and Description |
|---|
Location() |
Location(byte[] value) |
Location(long location)
Numbers are encoded in big-endian 8 bytes.
|
Location(String location) |
Location(UUID uuidV4)
Convert UUIDv4 only because they are more common.
|
| Modifier and Type | Method and Description |
|---|---|
IndexedValue |
toIndexedValue() |
long |
toNumber() |
String |
toString() |
UUID |
toUuid() |
equals, fixedSize, getBytes, hashCode, readObject, writeObjectpublic Location()
public Location(byte[] value)
public Location(String location)
public Location(long location)
location - long representationpublic Location(UUID uuidV4)
uuidV4 - uuid representationpublic String toString()
toString in class Leb128ByteArraypublic long toNumber()
public UUID toUuid()
public IndexedValue toIndexedValue()
toIndexedValue in interface ToIndexedValueCopyright © 2023. All rights reserved.