結果 : how to check if object is in arraylist java