Would anybody be able to explain what the following code parts mean (this is part of a wider program but I understand the rest of it)
theArray[charPos] &= ~(1L << i);
I'm just wondering what '1L' means (I have also seen '~0L' too...something to do with the 'long' type? Does the tilde mean 'approx equal to' as in mathematical notation?).
Secondly I'm wondering what '<<' means...(the program utilises a bit-shift function if that helps).
Searched google and Java sources but can't find anything...any help would be great! Cheers.