結果 : java check if list has same elements