Is there a way to compare multiple (non-boolean) things at once using | or & in Java, similar to how you can catch multiple exceptions using |?
Is there a simpler way to check multiple values against one value in an if-statement?