結果 : if list is not empty java