public T first() {
        Iterator<T> iterator = iterator();
        return (iterator.hasNext() ? iterator.next() : null);
    }
public T first ( ) { Iterator < T > iterator = iterator ( ) ; return ( iterator . hasNext ( ) ? iterator . next ( ) : null ) ; }
Returns the first item of this iterable.
@return The first item of this iterable