結果 : get type of object in arraylist java