"boolean readWrite = false;" would eliminate the need for negation.