| java.lang.Object net.sf.jga.fn.arithmetic.LongMath
Method Summary | |
public Long | and(Long x, Long y) | public Long | divides(Long x, Long y) | public Long | minus(Long x, Long y) | public Long | modulus(Long x, Long y) | public Long | multiplies(Long x, Long y) | public Long | negate(Long x) | public Long | not(Long x) | public Long | one() | public Long | or(Long x, Long y) | public Long | plus(Long x, Long y) | public Long | shiftLeft(Long x, Integer y) | public Long | signedShiftRight(Long x, Integer y) | public Long | unsignedShiftRight(Long x, Integer y) Optional. | public Long | valueOf(Number value) | public Long | xor(Long x, Long y) | public Long | zero() |
serialVersionUID | final static long serialVersionUID(Code) | | |
and | public Long and(Long x, Long y)(Code) | | For numeric arguments x and y, returns x & y
x amp; y |
divides | public Long divides(Long x, Long y)(Code) | | For numeric arguments x and y, returns x / y
the quotient of the two arguments |
minus | public Long minus(Long x, Long y)(Code) | | For numeric arguments x and y, returns x - y
the difference of the two arguments |
modulus | public Long modulus(Long x, Long y)(Code) | | For numeric arguments x and y, returns x % y
the modulus of the two arguments |
multiplies | public Long multiplies(Long x, Long y)(Code) | | For numeric arguments x and y, returns x * y
the product of the two arguments |
negate | public Long negate(Long x)(Code) | | for numeric argument x, returns -x
the negative of its argument |
not | public Long not(Long x)(Code) | | For numeric argument x, returns ~x
the one's complement of the argument |
one | public Long one()(Code) | | Returns the value 1 of the appropriate type
|
plus | public Long plus(Long x, Long y)(Code) | | For numeric arguments x and y, returns x + y
the sum of the two arguments |
xor | public Long xor(Long x, Long y)(Code) | | For numeric arguments x and y, returns x ^ y
x ^ y |
zero | public Long zero()(Code) | | Returns the value 0 of the appropriate type
|
|
|