@SuppressWarnings({"unchecked"})
    public SelectItem next() {

        if (!hasNext()) {
            throw new NoSuchElementException();
        }
        if (items != null) {
            return (items.next());
        }
        return next();

    }
@ SuppressWarnings ( { "unchecked" } ) public SelectItem next ( ) { if ( ! hasNext ( ) ) { throw new NoSuchElementException ( ) ; } if ( items != null ) { return ( items . next ( ) ) ; } return next ( ) ; }
<p>Return the next element in the iteration.</p>

@throws NoSuchElementException if there are no more elements