public class Numbers extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Numbers.Category |
Constructor and Description |
---|
Numbers() |
Modifier and Type | Method and Description |
---|---|
static double |
add(double x,
double y) |
static double |
add(double x,
long y) |
static double |
add(double x,
Object y) |
static double |
add(long x,
double y) |
static long |
add(long x,
long y) |
static Number |
add(long x,
Object y) |
static double |
add(Object x,
double y) |
static Number |
add(Object x,
long y) |
static Number |
add(Object x,
Object y) |
static double |
addP(double x,
double y) |
static double |
addP(double x,
long y) |
static double |
addP(double x,
Object y) |
static double |
addP(long x,
double y) |
static Number |
addP(long x,
long y) |
static Number |
addP(long x,
Object y) |
static double |
addP(Object x,
double y) |
static Number |
addP(Object x,
long y) |
static Number |
addP(Object x,
Object y) |
static long |
and(long x,
long y) |
static long |
and(long x,
Object y) |
static long |
and(Object x,
long y) |
static long |
and(Object x,
Object y) |
static long |
andNot(long x,
long y) |
static long |
andNot(long x,
Object y) |
static long |
andNot(Object x,
long y) |
static long |
andNot(Object x,
Object y) |
static boolean[] |
boolean_array(int size,
Object init) |
static boolean[] |
boolean_array(Object sizeOrSeq) |
static boolean[] |
booleans(Object array) |
static byte[] |
byte_array(int size,
Object init) |
static byte[] |
byte_array(Object sizeOrSeq) |
static byte[] |
bytes(Object array) |
static char[] |
char_array(int size,
Object init) |
static char[] |
char_array(Object sizeOrSeq) |
static char[] |
chars(Object array) |
static long |
clearBit(long x,
long n) |
static long |
clearBit(long x,
Object y) |
static long |
clearBit(Object x,
long y) |
static long |
clearBit(Object x,
Object y) |
static int |
compare(Number x,
Number y) |
static double |
dec(double x) |
static long |
dec(long x) |
static Number |
dec(Object x) |
static double |
decP(double x) |
static Number |
decP(long x) |
static Number |
decP(Object x) |
static Number |
divide(BigInteger n,
BigInteger d) |
static double |
divide(double x,
double y) |
static double |
divide(double x,
long y) |
static double |
divide(double x,
Object y) |
static double |
divide(long x,
double y) |
static Number |
divide(long x,
long y) |
static Number |
divide(long x,
Object y) |
static double |
divide(Object x,
double y) |
static Number |
divide(Object x,
long y) |
static Number |
divide(Object x,
Object y) |
static double[] |
double_array(int size,
Object init) |
static double[] |
double_array(Object sizeOrSeq) |
static double[] |
doubles(Object array) |
static boolean |
equal(Number x,
Number y) |
static boolean |
equiv(double x,
double y) |
static boolean |
equiv(double x,
long y) |
static boolean |
equiv(double x,
Object y) |
static boolean |
equiv(long x,
double y) |
static boolean |
equiv(long x,
long y) |
static boolean |
equiv(long x,
Object y) |
static boolean |
equiv(Number x,
Number y) |
static boolean |
equiv(Object x,
double y) |
static boolean |
equiv(Object x,
long y) |
static boolean |
equiv(Object x,
Object y) |
static long |
flipBit(long x,
long n) |
static long |
flipBit(long x,
Object y) |
static long |
flipBit(Object x,
long y) |
static long |
flipBit(Object x,
Object y) |
static float[] |
float_array(int size,
Object init) |
static float[] |
float_array(Object sizeOrSeq) |
static float[] |
floats(Object array) |
static boolean |
gt(double x,
double y) |
static boolean |
gt(double x,
long y) |
static boolean |
gt(double x,
Object y) |
static boolean |
gt(long x,
double y) |
static boolean |
gt(long x,
long y) |
static boolean |
gt(long x,
Object y) |
static boolean |
gt(Object x,
double y) |
static boolean |
gt(Object x,
long y) |
static boolean |
gt(Object x,
Object y) |
static boolean |
gte(double x,
double y) |
static boolean |
gte(double x,
long y) |
static boolean |
gte(double x,
Object y) |
static boolean |
gte(long x,
double y) |
static boolean |
gte(long x,
long y) |
static boolean |
gte(long x,
Object y) |
static boolean |
gte(Object x,
double y) |
static boolean |
gte(Object x,
long y) |
static boolean |
gte(Object x,
Object y) |
static double |
inc(double x) |
static long |
inc(long x) |
static Number |
inc(Object x) |
static double |
incP(double x) |
static Number |
incP(long x) |
static Number |
incP(Object x) |
static int[] |
int_array(int size,
Object init) |
static int[] |
int_array(Object sizeOrSeq) |
static int[] |
ints(Object array) |
static boolean |
isNeg(double x) |
static boolean |
isNeg(long x) |
static boolean |
isNeg(Object x) |
static boolean |
isPos(double x) |
static boolean |
isPos(long x) |
static boolean |
isPos(Object x) |
static boolean |
isZero(double x) |
static boolean |
isZero(long x) |
static boolean |
isZero(Object x) |
static long[] |
long_array(int size,
Object init) |
static long[] |
long_array(Object sizeOrSeq) |
static long[] |
longs(Object array) |
static boolean |
lt(double x,
double y) |
static boolean |
lt(double x,
long y) |
static boolean |
lt(double x,
Object y) |
static boolean |
lt(long x,
double y) |
static boolean |
lt(long x,
long y) |
static boolean |
lt(long x,
Object y) |
static boolean |
lt(Object x,
double y) |
static boolean |
lt(Object x,
long y) |
static boolean |
lt(Object x,
Object y) |
static boolean |
lte(double x,
double y) |
static boolean |
lte(double x,
long y) |
static boolean |
lte(double x,
Object y) |
static boolean |
lte(long x,
double y) |
static boolean |
lte(long x,
long y) |
static boolean |
lte(long x,
Object y) |
static boolean |
lte(Object x,
double y) |
static boolean |
lte(Object x,
long y) |
static boolean |
lte(Object x,
Object y) |
static double |
max(double x,
double y) |
static Object |
max(double x,
long y) |
static Object |
max(double x,
Object y) |
static Object |
max(long x,
double y) |
static long |
max(long x,
long y) |
static Object |
max(long x,
Object y) |
static Object |
max(Object x,
double y) |
static Object |
max(Object x,
long y) |
static Object |
max(Object x,
Object y) |
static double |
min(double x,
double y) |
static Object |
min(double x,
long y) |
static Object |
min(double x,
Object y) |
static Object |
min(long x,
double y) |
static long |
min(long x,
long y) |
static Object |
min(long x,
Object y) |
static Object |
min(Object x,
double y) |
static Object |
min(Object x,
long y) |
static Object |
min(Object x,
Object y) |
static double |
minus(double x) |
static double |
minus(double x,
double y) |
static double |
minus(double x,
long y) |
static double |
minus(double x,
Object y) |
static long |
minus(long x) |
static double |
minus(long x,
double y) |
static long |
minus(long x,
long y) |
static Number |
minus(long x,
Object y) |
static Number |
minus(Object x) |
static double |
minus(Object x,
double y) |
static Number |
minus(Object x,
long y) |
static Number |
minus(Object x,
Object y) |
static double |
minusP(double x) |
static double |
minusP(double x,
double y) |
static double |
minusP(double x,
long y) |
static double |
minusP(double x,
Object y) |
static Number |
minusP(long x) |
static double |
minusP(long x,
double y) |
static Number |
minusP(long x,
long y) |
static Number |
minusP(long x,
Object y) |
static Number |
minusP(Object x) |
static double |
minusP(Object x,
double y) |
static Number |
minusP(Object x,
long y) |
static Number |
minusP(Object x,
Object y) |
static double |
multiply(double x,
double y) |
static double |
multiply(double x,
long y) |
static double |
multiply(double x,
Object y) |
static double |
multiply(long x,
double y) |
static long |
multiply(long x,
long y) |
static Number |
multiply(long x,
Object y) |
static double |
multiply(Object x,
double y) |
static Number |
multiply(Object x,
long y) |
static Number |
multiply(Object x,
Object y) |
static double |
multiplyP(double x,
double y) |
static double |
multiplyP(double x,
long y) |
static double |
multiplyP(double x,
Object y) |
static double |
multiplyP(long x,
double y) |
static Number |
multiplyP(long x,
long y) |
static Number |
multiplyP(long x,
Object y) |
static double |
multiplyP(Object x,
double y) |
static Number |
multiplyP(Object x,
long y) |
static Number |
multiplyP(Object x,
Object y) |
static long |
not(long x) |
static long |
not(Object x) |
static Number |
num(double x) |
static Number |
num(float x) |
static Number |
num(long x) |
static Number |
num(Object x) |
static long |
or(long x,
long y) |
static long |
or(long x,
Object y) |
static long |
or(Object x,
long y) |
static long |
or(Object x,
Object y) |
static double |
quotient(double n,
double d) |
static double |
quotient(double x,
long y) |
static Number |
quotient(double x,
Object y) |
static double |
quotient(long x,
double y) |
static long |
quotient(long x,
long y) |
static Number |
quotient(long x,
Object y) |
static Number |
quotient(Object x,
double y) |
static Number |
quotient(Object x,
long y) |
static Number |
quotient(Object x,
Object y) |
static Number |
rationalize(Number x) |
static Number |
reduceBigInt(BigInt val) |
static double |
remainder(double n,
double d) |
static double |
remainder(double x,
long y) |
static Number |
remainder(double x,
Object y) |
static double |
remainder(long x,
double y) |
static long |
remainder(long x,
long y) |
static Number |
remainder(long x,
Object y) |
static Number |
remainder(Object x,
double y) |
static Number |
remainder(Object x,
long y) |
static Number |
remainder(Object x,
Object y) |
static long |
setBit(long x,
long n) |
static long |
setBit(long x,
Object y) |
static long |
setBit(Object x,
long y) |
static long |
setBit(Object x,
Object y) |
static long |
shiftLeft(long x,
long n) |
static long |
shiftLeft(long x,
Object y) |
static long |
shiftLeft(Object x,
long y) |
static long |
shiftLeft(Object x,
Object y) |
static int |
shiftLeftInt(int x,
int n) |
static long |
shiftRight(long x,
long n) |
static long |
shiftRight(long x,
Object y) |
static long |
shiftRight(Object x,
long y) |
static long |
shiftRight(Object x,
Object y) |
static int |
shiftRightInt(int x,
int n) |
static short[] |
short_array(int size,
Object init) |
static short[] |
short_array(Object sizeOrSeq) |
static short[] |
shorts(Object array) |
static boolean |
testBit(long x,
long n) |
static boolean |
testBit(long x,
Object y) |
static boolean |
testBit(Object x,
long y) |
static boolean |
testBit(Object x,
Object y) |
static Ratio |
toRatio(Object x) |
static double |
unchecked_add(double x,
double y) |
static double |
unchecked_add(double x,
long y) |
static double |
unchecked_add(double x,
Object y) |
static double |
unchecked_add(long x,
double y) |
static long |
unchecked_add(long x,
long y) |
static Number |
unchecked_add(long x,
Object y) |
static double |
unchecked_add(Object x,
double y) |
static Number |
unchecked_add(Object x,
long y) |
static Number |
unchecked_add(Object x,
Object y) |
static double |
unchecked_dec(double x) |
static long |
unchecked_dec(long x) |
static Number |
unchecked_dec(Object x) |
static double |
unchecked_inc(double x) |
static long |
unchecked_inc(long x) |
static Number |
unchecked_inc(Object x) |
static int |
unchecked_int_add(int x,
int y) |
static int |
unchecked_int_dec(int x) |
static int |
unchecked_int_divide(int x,
int y) |
static int |
unchecked_int_inc(int x) |
static int |
unchecked_int_multiply(int x,
int y) |
static int |
unchecked_int_negate(int x) |
static int |
unchecked_int_remainder(int x,
int y) |
static int |
unchecked_int_subtract(int x,
int y) |
static double |
unchecked_minus(double x) |
static double |
unchecked_minus(double x,
double y) |
static double |
unchecked_minus(double x,
long y) |
static double |
unchecked_minus(double x,
Object y) |
static long |
unchecked_minus(long x) |
static double |
unchecked_minus(long x,
double y) |
static long |
unchecked_minus(long x,
long y) |
static Number |
unchecked_minus(long x,
Object y) |
static Number |
unchecked_minus(Object x) |
static double |
unchecked_minus(Object x,
double y) |
static Number |
unchecked_minus(Object x,
long y) |
static Number |
unchecked_minus(Object x,
Object y) |
static double |
unchecked_multiply(double x,
double y) |
static double |
unchecked_multiply(double x,
long y) |
static double |
unchecked_multiply(double x,
Object y) |
static double |
unchecked_multiply(long x,
double y) |
static long |
unchecked_multiply(long x,
long y) |
static Number |
unchecked_multiply(long x,
Object y) |
static double |
unchecked_multiply(Object x,
double y) |
static Number |
unchecked_multiply(Object x,
long y) |
static Number |
unchecked_multiply(Object x,
Object y) |
static long |
unsignedShiftRight(long x,
long n) |
static long |
unsignedShiftRight(long x,
Object y) |
static long |
unsignedShiftRight(Object x,
long y) |
static long |
unsignedShiftRight(Object x,
Object y) |
static int |
unsignedShiftRightInt(int x,
int n) |
static long |
xor(long x,
long y) |
static long |
xor(long x,
Object y) |
static long |
xor(Object x,
long y) |
static long |
xor(Object x,
Object y) |
public static boolean isZero(Object x)
public static boolean isPos(Object x)
public static boolean isNeg(Object x)
public static double quotient(double n, double d)
public static double remainder(double n, double d)
public static Number divide(BigInteger n, BigInteger d)
public static int shiftLeftInt(int x, int n)
public static long shiftLeft(Object x, long y)
public static long shiftLeft(long x, Object y)
public static long shiftLeft(long x, long n)
public static int shiftRightInt(int x, int n)
public static long shiftRight(Object x, long y)
public static long shiftRight(long x, Object y)
public static long shiftRight(long x, long n)
public static int unsignedShiftRightInt(int x, int n)
public static long unsignedShiftRight(Object x, long y)
public static long unsignedShiftRight(long x, Object y)
public static long unsignedShiftRight(long x, long n)
public static float[] float_array(int size, Object init)
public static float[] float_array(Object sizeOrSeq)
public static double[] double_array(int size, Object init)
public static double[] double_array(Object sizeOrSeq)
public static int[] int_array(int size, Object init)
public static int[] int_array(Object sizeOrSeq)
public static long[] long_array(int size, Object init)
public static long[] long_array(Object sizeOrSeq)
public static short[] short_array(int size, Object init)
public static short[] short_array(Object sizeOrSeq)
public static char[] char_array(int size, Object init)
public static char[] char_array(Object sizeOrSeq)
public static byte[] byte_array(int size, Object init)
public static byte[] byte_array(Object sizeOrSeq)
public static boolean[] boolean_array(int size, Object init)
public static boolean[] boolean_array(Object sizeOrSeq)
public static boolean[] booleans(Object array)
public static byte[] bytes(Object array)
public static char[] chars(Object array)
public static short[] shorts(Object array)
public static float[] floats(Object array)
public static double[] doubles(Object array)
public static int[] ints(Object array)
public static long[] longs(Object array)
public static Number num(float x)
public static Number num(double x)
public static double add(double x, double y)
public static double addP(double x, double y)
public static double minus(double x, double y)
public static double minusP(double x, double y)
public static double minus(double x)
public static double minusP(double x)
public static double inc(double x)
public static double incP(double x)
public static double dec(double x)
public static double decP(double x)
public static double multiply(double x, double y)
public static double multiplyP(double x, double y)
public static double divide(double x, double y)
public static boolean equiv(double x, double y)
public static boolean lt(double x, double y)
public static boolean lte(double x, double y)
public static boolean gt(double x, double y)
public static boolean gte(double x, double y)
public static boolean isPos(double x)
public static boolean isNeg(double x)
public static boolean isZero(double x)
public static int unchecked_int_add(int x, int y)
public static int unchecked_int_subtract(int x, int y)
public static int unchecked_int_negate(int x)
public static int unchecked_int_inc(int x)
public static int unchecked_int_dec(int x)
public static int unchecked_int_multiply(int x, int y)
public static long not(Object x)
public static long not(long x)
public static long and(Object x, long y)
public static long and(long x, Object y)
public static long and(long x, long y)
public static long or(Object x, long y)
public static long or(long x, Object y)
public static long or(long x, long y)
public static long xor(Object x, long y)
public static long xor(long x, Object y)
public static long xor(long x, long y)
public static long andNot(Object x, long y)
public static long andNot(long x, Object y)
public static long andNot(long x, long y)
public static long clearBit(Object x, long y)
public static long clearBit(long x, Object y)
public static long clearBit(long x, long n)
public static long setBit(Object x, long y)
public static long setBit(long x, Object y)
public static long setBit(long x, long n)
public static long flipBit(Object x, long y)
public static long flipBit(long x, Object y)
public static long flipBit(long x, long n)
public static boolean testBit(Object x, long y)
public static boolean testBit(long x, Object y)
public static boolean testBit(long x, long n)
public static int unchecked_int_divide(int x, int y)
public static int unchecked_int_remainder(int x, int y)
public static Number num(long x)
public static long unchecked_add(long x, long y)
public static long unchecked_minus(long x, long y)
public static long unchecked_multiply(long x, long y)
public static long unchecked_minus(long x)
public static long unchecked_inc(long x)
public static long unchecked_dec(long x)
public static double unchecked_add(double x, double y)
public static double unchecked_minus(double x, double y)
public static double unchecked_multiply(double x, double y)
public static double unchecked_minus(double x)
public static double unchecked_inc(double x)
public static double unchecked_dec(double x)
public static double unchecked_add(double x, Object y)
public static double unchecked_minus(double x, Object y)
public static double unchecked_multiply(double x, Object y)
public static double unchecked_add(Object x, double y)
public static double unchecked_minus(Object x, double y)
public static double unchecked_multiply(Object x, double y)
public static double unchecked_add(double x, long y)
public static double unchecked_minus(double x, long y)
public static double unchecked_multiply(double x, long y)
public static double unchecked_add(long x, double y)
public static double unchecked_minus(long x, double y)
public static double unchecked_multiply(long x, double y)
public static double quotient(double x, long y)
public static double quotient(long x, double y)
public static double remainder(double x, long y)
public static double remainder(long x, double y)
public static long add(long x, long y)
public static Number addP(long x, long y)
public static long minus(long x, long y)
public static Number minusP(long x, long y)
public static long minus(long x)
public static Number minusP(long x)
public static long inc(long x)
public static Number incP(long x)
public static long dec(long x)
public static Number decP(long x)
public static long multiply(long x, long y)
public static Number multiplyP(long x, long y)
public static long quotient(long x, long y)
public static long remainder(long x, long y)
public static boolean equiv(long x, long y)
public static boolean lt(long x, long y)
public static boolean lte(long x, long y)
public static boolean gt(long x, long y)
public static boolean gte(long x, long y)
public static boolean isPos(long x)
public static boolean isNeg(long x)
public static boolean isZero(long x)
public static double add(double x, Object y)
public static double add(Object x, double y)
public static double add(double x, long y)
public static double add(long x, double y)
public static double addP(double x, Object y)
public static double addP(Object x, double y)
public static double addP(double x, long y)
public static double addP(long x, double y)
public static double minus(double x, Object y)
public static double minus(Object x, double y)
public static double minus(double x, long y)
public static double minus(long x, double y)
public static double minusP(double x, Object y)
public static double minusP(Object x, double y)
public static double minusP(double x, long y)
public static double minusP(long x, double y)
public static double multiply(double x, Object y)
public static double multiply(Object x, double y)
public static double multiply(double x, long y)
public static double multiply(long x, double y)
public static double multiplyP(double x, Object y)
public static double multiplyP(Object x, double y)
public static double multiplyP(double x, long y)
public static double multiplyP(long x, double y)
public static double divide(double x, Object y)
public static double divide(Object x, double y)
public static double divide(double x, long y)
public static double divide(long x, double y)
public static Number divide(long x, long y)
public static boolean lt(long x, Object y)
public static boolean lt(Object x, long y)
public static boolean lt(double x, Object y)
public static boolean lt(Object x, double y)
public static boolean lt(double x, long y)
public static boolean lt(long x, double y)
public static boolean lte(long x, Object y)
public static boolean lte(Object x, long y)
public static boolean lte(double x, Object y)
public static boolean lte(Object x, double y)
public static boolean lte(double x, long y)
public static boolean lte(long x, double y)
public static boolean gt(long x, Object y)
public static boolean gt(Object x, long y)
public static boolean gt(double x, Object y)
public static boolean gt(Object x, double y)
public static boolean gt(double x, long y)
public static boolean gt(long x, double y)
public static boolean gte(long x, Object y)
public static boolean gte(Object x, long y)
public static boolean gte(double x, Object y)
public static boolean gte(Object x, double y)
public static boolean gte(double x, long y)
public static boolean gte(long x, double y)
public static boolean equiv(long x, Object y)
public static boolean equiv(Object x, long y)
public static boolean equiv(double x, Object y)
public static boolean equiv(Object x, double y)
public static boolean equiv(double x, long y)
public static boolean equiv(long x, double y)
public static double max(double x, double y)
public static Object max(double x, long y)
public static Object max(long x, double y)
public static long max(long x, long y)
public static double min(double x, double y)
public static Object min(double x, long y)
public static Object min(long x, double y)
public static long min(long x, long y)
Copyright © 2019. All rights reserved.