public final class NumberValues extends Object
Also compares Value typed number arrays.
| Modifier and Type | Method and Description |
|---|---|
static int |
compareBooleanArrays(BooleanArray a,
BooleanArray b) |
static int |
compareDoubleAgainstLong(double lhs,
long rhs) |
static int |
compareFloatArrays(FloatingPointArray a,
FloatingPointArray b) |
static int |
compareIntegerArrays(IntegralArray a,
IntegralArray b) |
static int |
compareIntegerVsFloatArrays(IntegralArray a,
FloatingPointArray b) |
static int |
compareLongAgainstDouble(long lhs,
double rhs) |
static int |
hash(boolean[] value) |
static int |
hash(byte[] values) |
static int |
hash(char[] values) |
static int |
hash(double number) |
static int |
hash(double[] values) |
static int |
hash(float[] values) |
static int |
hash(int[] values) |
static int |
hash(long number) |
static int |
hash(long[] values) |
static int |
hash(short[] values) |
static boolean |
numbersEqual(double fpn,
long in) |
static boolean |
numbersEqual(FloatingPointArray lhs,
FloatingPointArray rhs) |
static boolean |
numbersEqual(FloatingPointArray fps,
IntegralArray ins) |
static boolean |
numbersEqual(IntegralArray lhs,
IntegralArray rhs) |
public static int hash(long number)
public static int hash(double number)
public static int hash(byte[] values)
public static int hash(short[] values)
public static int hash(char[] values)
public static int hash(int[] values)
public static int hash(long[] values)
public static int hash(float[] values)
public static int hash(double[] values)
public static int hash(boolean[] value)
public static boolean numbersEqual(double fpn,
long in)
public static int compareDoubleAgainstLong(double lhs,
long rhs)
public static int compareLongAgainstDouble(long lhs,
double rhs)
public static boolean numbersEqual(IntegralArray lhs, IntegralArray rhs)
public static boolean numbersEqual(FloatingPointArray lhs, FloatingPointArray rhs)
public static boolean numbersEqual(FloatingPointArray fps, IntegralArray ins)
public static int compareIntegerArrays(IntegralArray a, IntegralArray b)
public static int compareIntegerVsFloatArrays(IntegralArray a, FloatingPointArray b)
public static int compareFloatArrays(FloatingPointArray a, FloatingPointArray b)
public static int compareBooleanArrays(BooleanArray a, BooleanArray b)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.