Buy me a coffee
Java
›
Stream
›
findFirst
findFirst
Stream
첫 번째 요소를 Optional로 반환합니다.
문법
stream.findFirst()