結果 : java list get first element and remove it