public class BIUtil extends Object
| Constructor and Description |
|---|
BIUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
exitLong(BigInteger value) |
static boolean |
isCovers(BigInteger covers,
BigInteger value) |
static boolean |
isEqual(BigInteger valueA,
BigInteger valueB) |
static boolean |
isIn20PercentRange(BigInteger first,
BigInteger second) |
static boolean |
isLessThan(BigInteger valueA,
BigInteger valueB) |
static boolean |
isMoreThan(BigInteger valueA,
BigInteger valueB) |
static boolean |
isNotCovers(BigInteger covers,
BigInteger value) |
static boolean |
isNotEqual(BigInteger valueA,
BigInteger valueB) |
static boolean |
isPositive(BigInteger value) |
static boolean |
isZero(BigInteger value) |
static BigInteger |
max(BigInteger first,
BigInteger second) |
static BigInteger |
sum(BigInteger valueA,
BigInteger valueB) |
static BigInteger |
toBI(byte[] data) |
static BigInteger |
toBI(long data) |
public static boolean isZero(BigInteger value)
value - - not nullpublic static boolean isEqual(BigInteger valueA, BigInteger valueB)
valueA - - not nullvalueB - - not nullpublic static boolean isNotEqual(BigInteger valueA, BigInteger valueB)
valueA - - not nullvalueB - - not nullpublic static boolean isLessThan(BigInteger valueA, BigInteger valueB)
valueA - - not nullvalueB - - not nullpublic static boolean isMoreThan(BigInteger valueA, BigInteger valueB)
valueA - - not nullvalueB - - not nullpublic static BigInteger sum(BigInteger valueA, BigInteger valueB)
valueA - - not nullvalueB - - not nullpublic static BigInteger toBI(byte[] data)
data - = not nullpublic static BigInteger toBI(long data)
data - = not nullpublic static boolean isPositive(BigInteger value)
public static boolean isCovers(BigInteger covers, BigInteger value)
public static boolean isNotCovers(BigInteger covers, BigInteger value)
public static boolean exitLong(BigInteger value)
public static boolean isIn20PercentRange(BigInteger first, BigInteger second)
public static BigInteger max(BigInteger first, BigInteger second)
Copyright © 2018. All rights reserved.