function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
siv001siv001 

Tilde (complement) bitwise operation

Is the tilde '~' (complement) bitwise operation allowed in Apex, it is valid syntax in Java.

 

I'm able to use in Apex and it seems to work OK, but there is no mention of it bitwise operatons section (Understanding Expression Operators) in the documentation?

 

_Prasu__Prasu_

Apex do not support bitwise operator.