bitNot

bitNot(): Integer;

The bitNot method of the Integer primitive type returns an integer whose bit values are the inverse of the bit values of the receiver.

The generated return values are listed in the following table.

Bits in Receiver Corresponding Bit in Return Value
Bit is not 1 1
Bit is 1 0