Can someone help to explain what "~" does in Java? I searched but couldn't find the answers as I don't know what ~ is called. Thanks in advance. Below is an example from an open source stego program called Snow.
private int tabpos (int n) {
return ((n + 8) & ~7);
}