public class BIUtil
extends java.lang.Object
| 构造器和说明 |
|---|
BIUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
exitLong(java.math.BigInteger value) |
static boolean |
isCovers(java.math.BigInteger covers,
java.math.BigInteger value) |
static boolean |
isEqual(java.math.BigInteger valueA,
java.math.BigInteger valueB) |
static boolean |
isIn20PercentRange(java.math.BigInteger first,
java.math.BigInteger second) |
static boolean |
isLessThan(java.math.BigInteger valueA,
java.math.BigInteger valueB) |
static boolean |
isMoreThan(java.math.BigInteger valueA,
java.math.BigInteger valueB) |
static boolean |
isNotCovers(java.math.BigInteger covers,
java.math.BigInteger value) |
static boolean |
isNotEqual(java.math.BigInteger valueA,
java.math.BigInteger valueB) |
static boolean |
isPositive(java.math.BigInteger value) |
static boolean |
isZero(java.math.BigInteger value) |
static java.math.BigInteger |
max(java.math.BigInteger first,
java.math.BigInteger second) |
static java.math.BigInteger |
sum(java.math.BigInteger valueA,
java.math.BigInteger valueB) |
static java.math.BigInteger |
toBI(byte[] data) |
static java.math.BigInteger |
toBI(long data) |
public static boolean isZero(java.math.BigInteger value)
value - - not nullpublic static boolean isEqual(java.math.BigInteger valueA,
java.math.BigInteger valueB)
valueA - - not nullvalueB - - not nullpublic static boolean isNotEqual(java.math.BigInteger valueA,
java.math.BigInteger valueB)
valueA - - not nullvalueB - - not nullpublic static boolean isLessThan(java.math.BigInteger valueA,
java.math.BigInteger valueB)
valueA - - not nullvalueB - - not nullpublic static boolean isMoreThan(java.math.BigInteger valueA,
java.math.BigInteger valueB)
valueA - - not nullvalueB - - not nullpublic static java.math.BigInteger sum(java.math.BigInteger valueA,
java.math.BigInteger valueB)
valueA - - not nullvalueB - - not nullpublic static java.math.BigInteger toBI(byte[] data)
data - = not nullpublic static java.math.BigInteger toBI(long data)
data - = not nullpublic static boolean isPositive(java.math.BigInteger value)
public static boolean isCovers(java.math.BigInteger covers,
java.math.BigInteger value)
public static boolean isNotCovers(java.math.BigInteger covers,
java.math.BigInteger value)
public static boolean exitLong(java.math.BigInteger value)
public static boolean isIn20PercentRange(java.math.BigInteger first,
java.math.BigInteger second)
public static java.math.BigInteger max(java.math.BigInteger first,
java.math.BigInteger second)
Copyright © 2018. All Rights Reserved.