public abstract class NumberMath<T extends Number> extends Object
Constructor and Description |
---|
NumberMath() |
Modifier and Type | Method and Description |
---|---|
abstract Number |
bitwiseAnd(Number right) |
abstract Number |
bitwiseComplement() |
abstract Number |
bitwiseOr(Number right) |
abstract Number |
bitwiseXor(Number right) |
abstract Number |
divide(Number right) |
abstract Boolean |
equalTo(Number right) |
static NumberMath<?> |
getNumberMath(Number number) |
abstract Boolean |
greaterThan(Number right) |
abstract Boolean |
greaterThanEq(Number right) |
abstract Boolean |
lessThan(Number right) |
abstract Boolean |
lessThanEq(Number right) |
abstract Number |
minus(Number right) |
abstract Boolean |
notEqualTo(Number right) |
abstract Number |
plus(Number right) |
abstract Number |
remainder(Number right) |
abstract Number |
shiftLeft(Number right) |
abstract Number |
signedShiftRight(Number right) |
abstract Number |
times(Number right) |
abstract Number |
unaryMinus() |
abstract Number |
unaryPlus() |
abstract Number |
unsignedShiftRight(Number right) |
public static NumberMath<?> getNumberMath(Number number)
public abstract Number unaryPlus()
public abstract Number unaryMinus()
public abstract Number bitwiseComplement()