Java Check If Array Is Null Operator