Package org.eclipse.rdf4j.rio.helpers
Class CodePointIterator
- java.lang.Object
-
- org.eclipse.rdf4j.rio.helpers.CodePointIterator
-
public class CodePointIterator extends Object implements Iterator<Integer>
Helper class for quickly iterating over a String and receiving each character code point (taking care to handle surrogate pairs correctly).- Author:
- Jeen Broekstra
- See Also:
CodePointSequence
-
-
Constructor Summary
Constructors Constructor Description CodePointIterator(String source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Integer
next()
void
remove()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
CodePointIterator
public CodePointIterator(String source)
-
-