結果 : java list get first if not empty