結果 : java check if index in array exists