public final class UnsignedLongs
extends java.lang.Object
Similar methods are now available in Java 8, but are required here for Java 6/7 compatibility.
This class is not part of the public API and may be removed or changed at any time.
| Modifier and Type | Method and Description |
|---|---|
static int |
compare(long first,
long second)
Equivalent of Long.compareUnsigned in Java 8.
|
static long |
parse(java.lang.String string)
Equivalent to Long.parseUnsignedLong in Java 8.
|
static java.lang.String |
toString(long value)
Equivalent to Long.toUnsignedString in Java 8.
|
public static int compare(long first,
long second)
first - the first valuesecond - the second valuepublic static java.lang.String toString(long value)
value - the long value to treat as unsignedpublic static long parse(java.lang.String string)
string - the string representation of an unsigned longCopyright © 2010 - 2023 Adobe. All Rights Reserved