Optional < E > function ( ) { List < E > loc0 = last ( 1 ) . asList ( ) ; if ( loc0 . isEmpty ( ) ) { return Optional . empty ( ) ; } return Optional . of ( loc0 . get ( 0 ) ) ; }
can be used to collect objects from the iterable . is a terminating operation . concode_field_sep Iterable<E> iterable concode_field_sep FluentIterable<E> filter concode_elem_sep Iterator<E> iterator concode_elem_sep Spliterator<E> spliterator concode_elem_sep void forEach concode_elem_sep int getRemainingElementsCount concode_elem_sep FluentIterable<E> from concode_elem_sep List<E> toList concode_elem_sep FluentIterable<T> map concode_elem_sep FluentIterable<E> fromCopyOf concode_elem_sep Optional<E> first concode_elem_sep FluentIterable<E> first concode_elem_sep List<E> asList