結果 : java list get first element if not null