I was just wondering how can get the NOR operator in Java like this
if (!(foo == "bar" || foo1=="bar1")){
...
}
Edit : I was looking for a more efficient way to write that
I was just wondering how can get the NOR operator in Java like this
if (!(foo == "bar" || foo1=="bar1")){
...
}
Edit : I was looking for a more efficient way to write that