@ 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 .