Constructor and Description |
---|
Math() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEqual(java.math.BigDecimal a,
java.math.BigDecimal b,
int decimals)
Checks if a is equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isEqual(java.math.BigInteger a,
java.math.BigInteger b)
Checks if a is equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isEqual(java.lang.Byte a,
java.lang.Byte b)
Checks if a is equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isEqual(java.util.Date a,
java.util.Date b,
boolean noTime)
Checks if a is equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isEqual(java.lang.Double a,
java.lang.Double b,
int decimals)
Checks if a is equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isEqual(java.lang.Float a,
java.lang.Float b,
int decimals)
Checks if a is equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isEqual(java.lang.Integer a,
java.lang.Integer b)
Checks if a is equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isEqual(java.lang.Long a,
java.lang.Long b)
Checks if a is equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isEqual(java.lang.Short a,
java.lang.Short b)
Checks if a is equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isGreater(java.math.BigDecimal a,
java.math.BigDecimal b,
int decimals)
Checks if a is greater than b (returns false if at least one of the parameters is NULL)
|
boolean |
isGreater(java.math.BigInteger a,
java.math.BigInteger b)
Checks if a is greater than b (returns false if at least one of the parameters is NULL)
|
boolean |
isGreater(java.lang.Byte a,
java.lang.Byte b)
Checks if a is greater than b (returns false if at least one of the parameters is NULL)
|
boolean |
isGreater(java.util.Date a,
java.util.Date b,
boolean noTime)
Checks if a is less than or equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isGreater(java.lang.Double a,
java.lang.Double b,
int decimals)
Checks if a is greater than b (returns false if at least one of the parameters is NULL)
|
boolean |
isGreater(java.lang.Float a,
java.lang.Float b,
int decimals)
Checks if a is greater than b (returns false if at least one of the parameters is NULL)
|
boolean |
isGreater(java.lang.Integer a,
java.lang.Integer b)
Checks if a is greater than b (returns false if at least one of the parameters is NULL)
|
boolean |
isGreater(java.lang.Long a,
java.lang.Long b)
Checks if a is greater than b (returns false if at least one of the parameters is NULL)
|
boolean |
isGreater(java.lang.Short a,
java.lang.Short b)
Checks if a is greater than b (returns false if at least one of the parameters is NULL)
|
boolean |
isGreaterOrEqual(java.math.BigDecimal a,
java.math.BigDecimal b,
int decimals)
Checks if a is greater than or equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isGreaterOrEqual(java.math.BigInteger a,
java.math.BigInteger b)
Checks if a is greater than or equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isGreaterOrEqual(java.lang.Byte a,
java.lang.Byte b)
Checks if a is greater than or equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isGreaterOrEqual(java.util.Date a,
java.util.Date b,
boolean noTime)
Checks if a is greater than or equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isGreaterOrEqual(java.lang.Double a,
java.lang.Double b,
int decimals)
Checks if a is greater than or equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isGreaterOrEqual(java.lang.Float a,
java.lang.Float b,
int decimals)
Checks if a is greater than or equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isGreaterOrEqual(java.lang.Integer a,
java.lang.Integer b)
Checks if a is greater than or equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isGreaterOrEqual(java.lang.Long a,
java.lang.Long b)
Checks if a is greater than or equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isGreaterOrEqual(java.lang.Short a,
java.lang.Short b)
Checks if a is greater than or equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isLess(java.math.BigDecimal a,
java.math.BigDecimal b,
int decimals)
Checks if a is less than b (returns false if at least one of the parameters is NULL)
|
boolean |
isLess(java.math.BigInteger a,
java.math.BigInteger b)
Checks if a is less than b (returns false if at least one of the parameters is NULL)
|
boolean |
isLess(java.lang.Byte a,
java.lang.Byte b)
Checks if a is less than b (returns false if at least one of the parameters is NULL)
|
boolean |
isLess(java.util.Date a,
java.util.Date b,
boolean noTime)
Checks if a is less than b (returns false if at least one of the parameters is NULL)
|
boolean |
isLess(java.lang.Double a,
java.lang.Double b,
int decimals)
Checks if a is less than b (returns false if at least one of the parameters is NULL)
|
boolean |
isLess(java.lang.Float a,
java.lang.Float b,
int decimals)
Checks if a is less than b (returns false if at least one of the parameters is NULL)
|
boolean |
isLess(java.lang.Integer a,
java.lang.Integer b)
Checks if a is less than b (returns false if at least one of the parameters is NULL)
|
boolean |
IsLess(java.lang.Long a,
java.lang.Long b)
Checks if a is less than b (returns false if at least one of the parameters is NULL)
|
boolean |
isLess(java.lang.Short a,
java.lang.Short b)
Checks if a is less than b (returns false if at least one of the parameters is NULL)
|
boolean |
isLessOrEqual(java.math.BigDecimal a,
java.math.BigDecimal b,
int decimals)
Checks if a is less than or equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isLessOrEqual(java.math.BigInteger a,
java.math.BigInteger b)
Checks if a is less than or equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isLessOrEqual(java.lang.Byte a,
java.lang.Byte b)
Checks if a is less than or equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isLessOrEqual(java.util.Date a,
java.util.Date b,
boolean noTime)
Checks if a is less than or equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isLessOrEqual(java.lang.Double a,
java.lang.Double b,
int decimals)
Checks if a is less than or equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isLessOrEqual(java.lang.Float a,
java.lang.Float b,
int decimals)
Checks if a is less than or equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isLessOrEqual(java.lang.Integer a,
java.lang.Integer b)
Checks if a is less than or equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isLessOrEqual(java.lang.Long a,
java.lang.Long b)
Checks if a is less than or equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isLessOrEqual(java.lang.Short a,
java.lang.Short b)
Checks if a is less than or equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isNotEqual(java.math.BigDecimal a,
java.math.BigDecimal b,
int decimals)
Checks if a is not equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isNotEqual(java.math.BigInteger a,
java.math.BigInteger b)
Checks if a is not equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isNotEqual(java.lang.Byte a,
java.lang.Byte b)
Checks if a is not equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isNotEqual(java.util.Date a,
java.util.Date b,
boolean noTime)
Checks if a is not equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isNotEqual(java.lang.Double a,
java.lang.Double b,
int decimals)
Checks if a is not equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isNotEqual(java.lang.Float a,
java.lang.Float b,
int decimals)
Checks if a is not equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isNotEqual(java.lang.Integer a,
java.lang.Integer b)
Checks if a is not equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isNotEqual(java.lang.Long a,
java.lang.Long b)
Checks if a is not equal to b (returns false if at least one of the parameters is NULL)
|
boolean |
isNotEqual(java.lang.Short a,
java.lang.Short b)
Checks if a is not equal to b (returns false if at least one of the parameters is NULL)
|
public boolean IsLess(java.lang.Long a, java.lang.Long b)
IMath
public boolean isGreater(java.lang.Long a, java.lang.Long b)
IMath
public boolean isLessOrEqual(java.lang.Long a, java.lang.Long b)
IMath
isLessOrEqual
in interface IMath
a
- ab
- bpublic boolean isGreaterOrEqual(java.lang.Long a, java.lang.Long b)
IMath
isGreaterOrEqual
in interface IMath
a
- ab
- bpublic boolean isEqual(java.lang.Long a, java.lang.Long b)
IMath
public boolean isNotEqual(java.lang.Long a, java.lang.Long b)
IMath
isNotEqual
in interface IMath
a
- ab
- bpublic boolean isLess(java.lang.Integer a, java.lang.Integer b)
IMath
public boolean isGreater(java.lang.Integer a, java.lang.Integer b)
IMath
public boolean isLessOrEqual(java.lang.Integer a, java.lang.Integer b)
IMath
isLessOrEqual
in interface IMath
a
- ab
- bpublic boolean isGreaterOrEqual(java.lang.Integer a, java.lang.Integer b)
IMath
isGreaterOrEqual
in interface IMath
a
- ab
- bpublic boolean isEqual(java.lang.Integer a, java.lang.Integer b)
IMath
public boolean isNotEqual(java.lang.Integer a, java.lang.Integer b)
IMath
isNotEqual
in interface IMath
a
- ab
- bpublic boolean isLess(java.lang.Short a, java.lang.Short b)
IMath
public boolean isGreater(java.lang.Short a, java.lang.Short b)
IMath
public boolean isLessOrEqual(java.lang.Short a, java.lang.Short b)
IMath
isLessOrEqual
in interface IMath
a
- ab
- bpublic boolean isGreaterOrEqual(java.lang.Short a, java.lang.Short b)
IMath
isGreaterOrEqual
in interface IMath
a
- ab
- bpublic boolean isEqual(java.lang.Short a, java.lang.Short b)
IMath
public boolean isNotEqual(java.lang.Short a, java.lang.Short b)
IMath
isNotEqual
in interface IMath
a
- ab
- bpublic boolean isLess(java.lang.Byte a, java.lang.Byte b)
IMath
public boolean isGreater(java.lang.Byte a, java.lang.Byte b)
IMath
public boolean isLessOrEqual(java.lang.Byte a, java.lang.Byte b)
IMath
isLessOrEqual
in interface IMath
a
- ab
- bpublic boolean isGreaterOrEqual(java.lang.Byte a, java.lang.Byte b)
IMath
isGreaterOrEqual
in interface IMath
a
- ab
- bpublic boolean isEqual(java.lang.Byte a, java.lang.Byte b)
IMath
public boolean isNotEqual(java.lang.Byte a, java.lang.Byte b)
IMath
isNotEqual
in interface IMath
a
- ab
- bpublic boolean isLess(java.lang.Double a, java.lang.Double b, int decimals)
IMath
public boolean isGreater(java.lang.Double a, java.lang.Double b, int decimals)
IMath
public boolean isLessOrEqual(java.lang.Double a, java.lang.Double b, int decimals)
IMath
isLessOrEqual
in interface IMath
a
- ab
- bdecimals
- number of decimals to roundpublic boolean isGreaterOrEqual(java.lang.Double a, java.lang.Double b, int decimals)
IMath
isGreaterOrEqual
in interface IMath
a
- ab
- bdecimals
- number of decimals to roundpublic boolean isEqual(java.lang.Double a, java.lang.Double b, int decimals)
IMath
public boolean isNotEqual(java.lang.Double a, java.lang.Double b, int decimals)
IMath
isNotEqual
in interface IMath
a
- ab
- bdecimals
- number of decimals to roundpublic boolean isLess(java.math.BigDecimal a, java.math.BigDecimal b, int decimals)
IMath
public boolean isGreater(java.math.BigDecimal a, java.math.BigDecimal b, int decimals)
IMath
public boolean isLessOrEqual(java.math.BigDecimal a, java.math.BigDecimal b, int decimals)
IMath
isLessOrEqual
in interface IMath
a
- ab
- bdecimals
- number of decimals to roundpublic boolean isGreaterOrEqual(java.math.BigDecimal a, java.math.BigDecimal b, int decimals)
IMath
isGreaterOrEqual
in interface IMath
a
- ab
- bdecimals
- number of decimals to roundpublic boolean isEqual(java.math.BigDecimal a, java.math.BigDecimal b, int decimals)
IMath
public boolean isNotEqual(java.math.BigDecimal a, java.math.BigDecimal b, int decimals)
IMath
isNotEqual
in interface IMath
a
- ab
- bdecimals
- number of decimals to roundpublic boolean isLess(java.lang.Float a, java.lang.Float b, int decimals)
IMath
public boolean isGreater(java.lang.Float a, java.lang.Float b, int decimals)
IMath
public boolean isLessOrEqual(java.lang.Float a, java.lang.Float b, int decimals)
IMath
isLessOrEqual
in interface IMath
a
- ab
- bdecimals
- number of decimals to roundpublic boolean isGreaterOrEqual(java.lang.Float a, java.lang.Float b, int decimals)
IMath
isGreaterOrEqual
in interface IMath
a
- ab
- bdecimals
- number of decimals to roundpublic boolean isEqual(java.lang.Float a, java.lang.Float b, int decimals)
IMath
public boolean isNotEqual(java.lang.Float a, java.lang.Float b, int decimals)
IMath
isNotEqual
in interface IMath
a
- ab
- bdecimals
- number of decimals to roundpublic boolean isLess(java.math.BigInteger a, java.math.BigInteger b)
IMath
public boolean isGreater(java.math.BigInteger a, java.math.BigInteger b)
IMath
public boolean isLessOrEqual(java.math.BigInteger a, java.math.BigInteger b)
IMath
isLessOrEqual
in interface IMath
a
- ab
- bpublic boolean isGreaterOrEqual(java.math.BigInteger a, java.math.BigInteger b)
IMath
isGreaterOrEqual
in interface IMath
a
- ab
- bpublic boolean isEqual(java.math.BigInteger a, java.math.BigInteger b)
IMath
public boolean isNotEqual(java.math.BigInteger a, java.math.BigInteger b)
IMath
isNotEqual
in interface IMath
a
- ab
- bpublic boolean isLess(java.util.Date a, java.util.Date b, boolean noTime)
IMath
public boolean isGreater(java.util.Date a, java.util.Date b, boolean noTime)
IMath
public boolean isLessOrEqual(java.util.Date a, java.util.Date b, boolean noTime)
IMath
isLessOrEqual
in interface IMath
a
- ab
- bnoTime
- true if time is discardedpublic boolean isGreaterOrEqual(java.util.Date a, java.util.Date b, boolean noTime)
IMath
isGreaterOrEqual
in interface IMath
a
- ab
- bnoTime
- true if time is discardedpublic boolean isEqual(java.util.Date a, java.util.Date b, boolean noTime)
IMath
public boolean isNotEqual(java.util.Date a, java.util.Date b, boolean noTime)
IMath
isNotEqual
in interface IMath
a
- ab
- bnoTime
- true if time is discarded