Long | mongodb (original) (raw)

add

and

Sum

comp

compare

0 if they are the same, 1 if the this is greater and -1 if the given one is greater

div

divide

Quotient

eq

equals

eqz

ge

getHighBits

getHighBitsUnsigned

getLowBits

getLowBitsUnsigned

getNumBitsAbs

greaterThan

greaterThanOrEqual

gt

gte

inspect

Returns string

isEven

isNegative

isOdd

isPositive

isZero

le

lessThan

lessThanOrEqual

lt

lte

mod

modulo

mul

multiply

Product

ne

neg

negate

neq

not

notEquals

or

Returns Long

rem

shiftLeft

Returns Long

Shifted Long

shiftRight

Returns Long

Shifted Long

shiftRightUnsigned

Returns Long

Shifted Long

shl

Returns Long

shr

Returns Long

shr_u

Returns Long

shru

Returns Long

sub

subtract

Difference

toBigInt

toBytes

Returns number[]

Byte representation

toBytesBE

Big endian byte representation

toBytesLE

Little endian byte representation

toExtendedJSON

toInt

toNumber

toSigned

toString

Returns string

toUnsigned

xor

Returns Long

StaticfromBigInt

Returns Long

The corresponding Long value

StaticfromBits

Returns Long

The corresponding Long value

StaticfromBytes

Returns Long

The corresponding Long value

StaticfromBytesBE

Returns Long

The corresponding Long value

StaticfromBytesLE

Returns Long

The corresponding Long value

StaticfromExtendedJSON

Returns number | bigint | Long

StaticfromInt

Returns Long

The corresponding Long value

StaticfromNumber

Returns Long

The corresponding Long value

StaticfromString

The corresponding Long value

Returns Long

The corresponding Long value

Returns Long

The corresponding Long value

Returns Long

The corresponding Long value

StaticfromStringStrict

The corresponding Long value

Returns Long

The corresponding Long value

Returns Long

The corresponding Long value

Returns Long

The corresponding Long value

StaticfromValue

Returns Long

StaticisLong