Java · Decisions

De Morgan's laws

A ! in front of brackets is easy to misread, and two rules turn it into a condition you can read at a glance.