commons/core/src/main/java/org/ldp4j/xml/CodePointIterator.java
@Override
	public Integer next() {
		if(!hasNext()) {
			throw new NoSuchElementException("No more codepoints available in the CharSequence");
		}
		this.index=this.next;
		final Integer codePoint = Character.codePointAt(this.s, this.next);
		this.next+=Character.charCount(codePoint);
		return codePoint;
	}
@Override
	public Integer next() {
		if(!hasNext()) {
			throw new NoSuchElementException("No more codepoints available in the CharSequence");
		}
		this.index=this.next;
		final Integer codePoint = Character.codePointAt(this.s, this.next);
		this.next+=Character.charCount(codePoint);
		return codePoint;
	}
@ Override public Integer next ( ) { if ( ! hasNext ( ) ) { throw new NoSuchElementException ( "No more codepoints available in the CharSequence" ) ; } this . index = this . next ; final Integer codePoint = Character . codePointAt ( this . s , this . next ) ; this . next += Character . charCount ( codePoint ) ; return codePoint ; }
Returns the next code point in the iteration.

@return the next code point in the iteration
@throws NoSuchElementException
if the iteration has no more code points
Returns the next code point in the iteration .