public class IntegerMath extends NumberMath<Integer>
Constructor and Description |
---|
IntegerMath(int i) |
Modifier and Type | Method and Description |
---|---|
Number |
bitwiseAnd(Number right) |
Number |
bitwiseComplement() |
Number |
bitwiseOr(Number right) |
Number |
bitwiseXor(Number right) |
Number |
divide(Number right) |
Boolean |
equalTo(Number right) |
Boolean |
greaterThan(Number right) |
Boolean |
greaterThanEq(Number right) |
Boolean |
lessThan(Number right) |
Boolean |
lessThanEq(Number right) |
Number |
minus(Number right) |
Boolean |
notEqualTo(Number right) |
Number |
plus(Number right) |
Number |
remainder(Number right) |
Number |
shiftLeft(Number right) |
Number |
signedSiftRight(Number right) |
Number |
times(Number right) |
Number |
unaryMinus() |
Number |
unaryPlus() |
Number |
unsignedSiftRight(Number right) |
getNumberMath
public Number plus(Number right)
plus
in class NumberMath<Integer>
public Number minus(Number right)
minus
in class NumberMath<Integer>
public Number times(Number right)
times
in class NumberMath<Integer>
public Number divide(Number right)
divide
in class NumberMath<Integer>
public Number remainder(Number right)
remainder
in class NumberMath<Integer>
public Number shiftLeft(Number right)
shiftLeft
in class NumberMath<Integer>
public Number signedSiftRight(Number right)
signedSiftRight
in class NumberMath<Integer>
public Number unsignedSiftRight(Number right)
unsignedSiftRight
in class NumberMath<Integer>
public Number bitwiseAnd(Number right)
bitwiseAnd
in class NumberMath<Integer>
public Number bitwiseXor(Number right)
bitwiseXor
in class NumberMath<Integer>
public Number bitwiseOr(Number right)
bitwiseOr
in class NumberMath<Integer>
public Number unaryPlus()
unaryPlus
in class NumberMath<Integer>
public Number unaryMinus()
unaryMinus
in class NumberMath<Integer>
public Number bitwiseComplement()
bitwiseComplement
in class NumberMath<Integer>
public Boolean equalTo(Number right)
equalTo
in class NumberMath<Integer>
public Boolean notEqualTo(Number right)
notEqualTo
in class NumberMath<Integer>
public Boolean greaterThan(Number right)
greaterThan
in class NumberMath<Integer>
public Boolean greaterThanEq(Number right)
greaterThanEq
in class NumberMath<Integer>
public Boolean lessThan(Number right)
lessThan
in class NumberMath<Integer>
public Boolean lessThanEq(Number right)
lessThanEq
in class NumberMath<Integer>