RegisterSign In

API Documentation: Class Reference

Package: com.mckoi.odb
extends com.mckoi.data.Integer128Bit

A n128-bit reference to an object stored in an SDBObjectStore.

Constructors Summary

Reference(long high, long low)
Reference(long[] ref)

Methods Summary

long getHighLong()
long getLowLong()
int hashCode()
boolean equals(Object ob)
int compareTo(Integer128Bit that)
String toString()
static void main(String[] args)
static Reference fromString(String str)

Constructor Details

Reference(long high, long low)

Constructor.

Reference(long[] ref)

Constructor.

Method Details

long getHighLong()

Returns the high 64-bit part of this node reference.

long getLowLong()

Returns the low 64-bit part of this node reference.

int hashCode()

boolean equals(Object ob)

int compareTo(Integer128Bit that)

This is a signed 128-bit comparison.

String toString()

The 'toString' method outputs the value as [high][low] in hex format.

static void main(String[] args)

static Reference fromString(String str)

Parses a reference from a string returned by 'toString'.

The text on this page is licensed under the Creative Commons Attribution 3.0 License. Java is a registered trademark of Oracle and/or its affiliates.
Mckoi is Copyright © 2000 - 2020 Diehl and Associates, Inc. All rights reserved.