code: public T next() {
          if (!hasNext()) {
              throw new NoSuchElementException();
          }
          // 'next' is guaranteed non-null by a hasNext() which returned true
          T returnObj = this.next;
          this.next = null;
          return returnObj;
      }
docs: Return the next item.
  
  @see java.util.Iterator#next()