RegisterSign In

API Documentation: Class Integer128Bit

Package: com.mckoi.data
implements java.lang.Comparable<com.mckoi.data.Integer128Bit>

A simple 128 bit value represented as 2 long values.

Constructors Summary

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

Methods Summary

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

Constructor Details

Integer128Bit(long[] ref)

Constructor.

Integer128Bit(long high, long low)

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)

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.