結果 : java list get first element if exists