Java + or - operator?

Caporegime
Joined
12 Mar 2004
Posts
29,962
Location
England
Is there an operator in java that allows me to say the equvilent of,

Code:
if (this = (12 - 1) || this = (12 + 1))

Without having to use the or operator?
 
Back
Top Bottom