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 privateMathOps()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Numberadd(Double first, double second)static Numberadd(Double first, float second)static Numberadd(Double first, int second)static Numberadd(Double first, long second)static Numberadd(Double first, short second)static Numberadd(Double first, Double second)static Numberadd(Double first, Float second)static Numberadd(Double first, Integer second)static Numberadd(Double first, Long second)static Numberadd(Double first, Number second)static Numberadd(Double first, Short second)static Numberadd(Double first, BigDecimal second)static Numberadd(Double first, BigInteger second)static Numberadd(Double first, AtomicInteger second)static Numberadd(Double first, AtomicLong second)static Numberadd(Float first, double second)static Numberadd(Float first, float second)static Numberadd(Float first, int second)static Numberadd(Float first, long second)static Numberadd(Float first, short second)static Numberadd(Float first, Double second)static Numberadd(Float first, Float second)static Numberadd(Float first, Integer second)static Numberadd(Float first, Long second)static Numberadd(Float first, Number second)static Numberadd(Float first, Short second)static Numberadd(Float first, BigDecimal second)static Numberadd(Float first, BigInteger second)static Numberadd(Float first, AtomicInteger second)static Numberadd(Float first, AtomicLong second)static Numberadd(Integer first, double second)static Numberadd(Integer first, float second)static Numberadd(Integer first, int second)static Numberadd(Integer first, long second)static Numberadd(Integer first, short second)static Numberadd(Integer first, Double second)static Numberadd(Integer first, Float second)static Numberadd(Integer first, Integer second)static Numberadd(Integer first, Long second)static Numberadd(Integer first, Number second)static Numberadd(Integer first, Short second)static Numberadd(Integer first, BigDecimal second)static Numberadd(Integer first, BigInteger second)static Numberadd(Integer first, AtomicInteger second)static Numberadd(Integer first, AtomicLong second)static Numberadd(Long first, double second)static Numberadd(Long first, float second)static Numberadd(Long first, int second)static Numberadd(Long first, long second)static Numberadd(Long first, short second)static Numberadd(Long first, Double second)static Numberadd(Long first, Float second)static Numberadd(Long first, Integer second)static Numberadd(Long first, Long second)static Numberadd(Long first, Number second)static Numberadd(Long first, Short second)static Numberadd(Long first, BigDecimal second)static Numberadd(Long first, BigInteger second)static Numberadd(Long first, AtomicInteger second)static Numberadd(Long first, AtomicLong second)static Numberadd(Number first, Number second)static Numberadd(Short first, double second)static Numberadd(Short first, float second)static Numberadd(Short first, int second)static Numberadd(Short first, long second)static Numberadd(Short first, short second)static Numberadd(Short first, Double second)static Numberadd(Short first, Float second)static Numberadd(Short first, Integer second)static Numberadd(Short first, Long second)static Numberadd(Short first, Number second)static Numberadd(Short first, Short second)static Numberadd(Short first, BigDecimal second)static Numberadd(Short first, BigInteger second)static Numberadd(Short first, AtomicInteger second)static Numberadd(Short first, AtomicLong second)static Numberadd(BigDecimal first, double second)static Numberadd(BigDecimal first, float second)static Numberadd(BigDecimal first, int second)static Numberadd(BigDecimal first, long second)static Numberadd(BigDecimal first, short second)static Numberadd(BigDecimal first, Double second)static Numberadd(BigDecimal first, Float second)static Numberadd(BigDecimal first, Integer second)static Numberadd(BigDecimal first, Long second)static Numberadd(BigDecimal first, Number second)static Numberadd(BigDecimal first, Short second)static Numberadd(BigDecimal first, BigDecimal second)static Numberadd(BigDecimal first, BigInteger second)static Numberadd(BigDecimal first, AtomicInteger second)static Numberadd(BigDecimal first, AtomicLong second)static Numberadd(BigInteger first, double second)static Numberadd(BigInteger first, float second)static Numberadd(BigInteger first, int second)static Numberadd(BigInteger first, long second)static Numberadd(BigInteger first, short second)static Numberadd(BigInteger first, Double second)static Numberadd(BigInteger first, Float second)static Numberadd(BigInteger first, Integer second)static Numberadd(BigInteger first, Long second)static Numberadd(BigInteger first, Number second)static Numberadd(BigInteger first, Short second)static Numberadd(BigInteger first, BigDecimal second)static Numberadd(BigInteger first, BigInteger second)static Numberadd(BigInteger first, AtomicInteger second)static Numberadd(BigInteger first, AtomicLong second)static Numberadd(AtomicInteger first, double second)static Numberadd(AtomicInteger first, float second)static Numberadd(AtomicInteger first, int second)static Numberadd(AtomicInteger first, long second)static Numberadd(AtomicInteger first, short second)static Numberadd(AtomicInteger first, Double second)static Numberadd(AtomicInteger first, Float second)static Numberadd(AtomicInteger first, Integer second)static Numberadd(AtomicInteger first, Long second)static Numberadd(AtomicInteger first, Number second)static Numberadd(AtomicInteger first, Short second)static Numberadd(AtomicInteger first, BigDecimal second)static Numberadd(AtomicInteger first, BigInteger second)static Numberadd(AtomicInteger first, AtomicInteger second)static Numberadd(AtomicInteger first, AtomicLong second)static Numberadd(AtomicLong first, double second)static Numberadd(AtomicLong first, float second)static Numberadd(AtomicLong first, int second)static Numberadd(AtomicLong first, long second)static Numberadd(AtomicLong first, short second)static Numberadd(AtomicLong first, Double second)static Numberadd(AtomicLong first, Float second)static Numberadd(AtomicLong first, Integer second)static Numberadd(AtomicLong first, Long second)static Numberadd(AtomicLong first, Number second)static Numberadd(AtomicLong first, Short second)static Numberadd(AtomicLong first, BigDecimal second)static Numberadd(AtomicLong first, BigInteger second)static Numberadd(AtomicLong first, AtomicInteger second)static Numberadd(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)
-
-