Package io.debezium.util
Class MathOps
- java.lang.Object
-
- io.debezium.util.MathOps
-
@Immutable public final class MathOps extends Object
Utilities for performing math operations with mixed native and advanced numeric types.- Author:
- Randall Hauch
-
-
Constructor Summary
Constructors Modifier Constructor Description private
MathOps()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Number
add(Double first, double second)
static Number
add(Double first, float second)
static Number
add(Double first, int second)
static Number
add(Double first, long second)
static Number
add(Double first, short second)
static Number
add(Double first, Double second)
static Number
add(Double first, Float second)
static Number
add(Double first, Integer second)
static Number
add(Double first, Long second)
static Number
add(Double first, Number second)
static Number
add(Double first, Short second)
static Number
add(Double first, BigDecimal second)
static Number
add(Double first, BigInteger second)
static Number
add(Double first, AtomicInteger second)
static Number
add(Double first, AtomicLong second)
static Number
add(Float first, double second)
static Number
add(Float first, float second)
static Number
add(Float first, int second)
static Number
add(Float first, long second)
static Number
add(Float first, short second)
static Number
add(Float first, Double second)
static Number
add(Float first, Float second)
static Number
add(Float first, Integer second)
static Number
add(Float first, Long second)
static Number
add(Float first, Number second)
static Number
add(Float first, Short second)
static Number
add(Float first, BigDecimal second)
static Number
add(Float first, BigInteger second)
static Number
add(Float first, AtomicInteger second)
static Number
add(Float first, AtomicLong second)
static Number
add(Integer first, double second)
static Number
add(Integer first, float second)
static Number
add(Integer first, int second)
static Number
add(Integer first, long second)
static Number
add(Integer first, short second)
static Number
add(Integer first, Double second)
static Number
add(Integer first, Float second)
static Number
add(Integer first, Integer second)
static Number
add(Integer first, Long second)
static Number
add(Integer first, Number second)
static Number
add(Integer first, Short second)
static Number
add(Integer first, BigDecimal second)
static Number
add(Integer first, BigInteger second)
static Number
add(Integer first, AtomicInteger second)
static Number
add(Integer first, AtomicLong second)
static Number
add(Long first, double second)
static Number
add(Long first, float second)
static Number
add(Long first, int second)
static Number
add(Long first, long second)
static Number
add(Long first, short second)
static Number
add(Long first, Double second)
static Number
add(Long first, Float second)
static Number
add(Long first, Integer second)
static Number
add(Long first, Long second)
static Number
add(Long first, Number second)
static Number
add(Long first, Short second)
static Number
add(Long first, BigDecimal second)
static Number
add(Long first, BigInteger second)
static Number
add(Long first, AtomicInteger second)
static Number
add(Long first, AtomicLong second)
static Number
add(Number first, Number second)
static Number
add(Short first, double second)
static Number
add(Short first, float second)
static Number
add(Short first, int second)
static Number
add(Short first, long second)
static Number
add(Short first, short second)
static Number
add(Short first, Double second)
static Number
add(Short first, Float second)
static Number
add(Short first, Integer second)
static Number
add(Short first, Long second)
static Number
add(Short first, Number second)
static Number
add(Short first, Short second)
static Number
add(Short first, BigDecimal second)
static Number
add(Short first, BigInteger second)
static Number
add(Short first, AtomicInteger second)
static Number
add(Short first, AtomicLong second)
static Number
add(BigDecimal first, double second)
static Number
add(BigDecimal first, float second)
static Number
add(BigDecimal first, int second)
static Number
add(BigDecimal first, long second)
static Number
add(BigDecimal first, short second)
static Number
add(BigDecimal first, Double second)
static Number
add(BigDecimal first, Float second)
static Number
add(BigDecimal first, Integer second)
static Number
add(BigDecimal first, Long second)
static Number
add(BigDecimal first, Number second)
static Number
add(BigDecimal first, Short second)
static Number
add(BigDecimal first, BigDecimal second)
static Number
add(BigDecimal first, BigInteger second)
static Number
add(BigDecimal first, AtomicInteger second)
static Number
add(BigDecimal first, AtomicLong second)
static Number
add(BigInteger first, double second)
static Number
add(BigInteger first, float second)
static Number
add(BigInteger first, int second)
static Number
add(BigInteger first, long second)
static Number
add(BigInteger first, short second)
static Number
add(BigInteger first, Double second)
static Number
add(BigInteger first, Float second)
static Number
add(BigInteger first, Integer second)
static Number
add(BigInteger first, Long second)
static Number
add(BigInteger first, Number second)
static Number
add(BigInteger first, Short second)
static Number
add(BigInteger first, BigDecimal second)
static Number
add(BigInteger first, BigInteger second)
static Number
add(BigInteger first, AtomicInteger second)
static Number
add(BigInteger first, AtomicLong second)
static Number
add(AtomicInteger first, double second)
static Number
add(AtomicInteger first, float second)
static Number
add(AtomicInteger first, int second)
static Number
add(AtomicInteger first, long second)
static Number
add(AtomicInteger first, short second)
static Number
add(AtomicInteger first, Double second)
static Number
add(AtomicInteger first, Float second)
static Number
add(AtomicInteger first, Integer second)
static Number
add(AtomicInteger first, Long second)
static Number
add(AtomicInteger first, Number second)
static Number
add(AtomicInteger first, Short second)
static Number
add(AtomicInteger first, BigDecimal second)
static Number
add(AtomicInteger first, BigInteger second)
static Number
add(AtomicInteger first, AtomicInteger second)
static Number
add(AtomicInteger first, AtomicLong second)
static Number
add(AtomicLong first, double second)
static Number
add(AtomicLong first, float second)
static Number
add(AtomicLong first, int second)
static Number
add(AtomicLong first, long second)
static Number
add(AtomicLong first, short second)
static Number
add(AtomicLong first, Double second)
static Number
add(AtomicLong first, Float second)
static Number
add(AtomicLong first, Integer second)
static Number
add(AtomicLong first, Long second)
static Number
add(AtomicLong first, Number second)
static Number
add(AtomicLong first, Short second)
static Number
add(AtomicLong first, BigDecimal second)
static Number
add(AtomicLong first, BigInteger second)
static Number
add(AtomicLong first, AtomicInteger second)
static Number
add(AtomicLong first, AtomicLong second)
-
-
-
Method Detail
-
add
public static Number add(Short first, BigDecimal second)
-
add
public static Number add(Short first, BigInteger second)
-
add
public static Number add(Short first, AtomicInteger second)
-
add
public static Number add(Short first, AtomicLong second)
-
add
public static Number add(Integer first, BigDecimal second)
-
add
public static Number add(Integer first, BigInteger second)
-
add
public static Number add(Integer first, AtomicInteger second)
-
add
public static Number add(Integer first, AtomicLong second)
-
add
public static Number add(Long first, BigDecimal second)
-
add
public static Number add(Long first, BigInteger second)
-
add
public static Number add(Long first, AtomicInteger second)
-
add
public static Number add(Long first, AtomicLong second)
-
add
public static Number add(Float first, BigDecimal second)
-
add
public static Number add(Float first, BigInteger second)
-
add
public static Number add(Float first, AtomicInteger second)
-
add
public static Number add(Float first, AtomicLong second)
-
add
public static Number add(Double first, BigDecimal second)
-
add
public static Number add(Double first, BigInteger second)
-
add
public static Number add(Double first, AtomicInteger second)
-
add
public static Number add(Double first, AtomicLong second)
-
add
public static Number add(BigInteger first, Number second)
-
add
public static Number add(BigInteger first, short second)
-
add
public static Number add(BigInteger first, int second)
-
add
public static Number add(BigInteger first, long second)
-
add
public static Number add(BigInteger first, float second)
-
add
public static Number add(BigInteger first, double second)
-
add
public static Number add(BigInteger first, Short second)
-
add
public static Number add(BigInteger first, Integer second)
-
add
public static Number add(BigInteger first, Long second)
-
add
public static Number add(BigInteger first, Float second)
-
add
public static Number add(BigInteger first, Double second)
-
add
public static Number add(BigInteger first, BigDecimal second)
-
add
public static Number add(BigInteger first, BigInteger second)
-
add
public static Number add(BigInteger first, AtomicInteger second)
-
add
public static Number add(BigInteger first, AtomicLong second)
-
add
public static Number add(BigDecimal first, Number second)
-
add
public static Number add(BigDecimal first, short second)
-
add
public static Number add(BigDecimal first, int second)
-
add
public static Number add(BigDecimal first, long second)
-
add
public static Number add(BigDecimal first, float second)
-
add
public static Number add(BigDecimal first, double second)
-
add
public static Number add(BigDecimal first, Short second)
-
add
public static Number add(BigDecimal first, Integer second)
-
add
public static Number add(BigDecimal first, Long second)
-
add
public static Number add(BigDecimal first, Float second)
-
add
public static Number add(BigDecimal first, Double second)
-
add
public static Number add(BigDecimal first, BigDecimal second)
-
add
public static Number add(BigDecimal first, BigInteger second)
-
add
public static Number add(BigDecimal first, AtomicInteger second)
-
add
public static Number add(BigDecimal first, AtomicLong second)
-
add
public static Number add(AtomicInteger first, Number second)
-
add
public static Number add(AtomicInteger first, short second)
-
add
public static Number add(AtomicInteger first, int second)
-
add
public static Number add(AtomicInteger first, long second)
-
add
public static Number add(AtomicInteger first, float second)
-
add
public static Number add(AtomicInteger first, double second)
-
add
public static Number add(AtomicInteger first, Short second)
-
add
public static Number add(AtomicInteger first, Integer second)
-
add
public static Number add(AtomicInteger first, Long second)
-
add
public static Number add(AtomicInteger first, Float second)
-
add
public static Number add(AtomicInteger first, Double second)
-
add
public static Number add(AtomicInteger first, BigDecimal second)
-
add
public static Number add(AtomicInteger first, BigInteger second)
-
add
public static Number add(AtomicInteger first, AtomicInteger second)
-
add
public static Number add(AtomicInteger first, AtomicLong second)
-
add
public static Number add(AtomicLong first, Number second)
-
add
public static Number add(AtomicLong first, short second)
-
add
public static Number add(AtomicLong first, int second)
-
add
public static Number add(AtomicLong first, long second)
-
add
public static Number add(AtomicLong first, float second)
-
add
public static Number add(AtomicLong first, double second)
-
add
public static Number add(AtomicLong first, Short second)
-
add
public static Number add(AtomicLong first, Integer second)
-
add
public static Number add(AtomicLong first, Long second)
-
add
public static Number add(AtomicLong first, Float second)
-
add
public static Number add(AtomicLong first, Double second)
-
add
public static Number add(AtomicLong first, BigDecimal second)
-
add
public static Number add(AtomicLong first, BigInteger second)
-
add
public static Number add(AtomicLong first, AtomicInteger second)
-
add
public static Number add(AtomicLong first, AtomicLong second)
-
-