question: public Optional < T > first ( ) { Iterator < T > iterator = iterator ( ) ; return iterator . hasNext ( ) ? Optional . of ( iterator . next ( ) ) : Optional . < T > empty ( ) ; }
target:  Convert an iterable stream into one first item of the stream.