Private class to iterate over a string. This has a next() and hasNext() inspired by the standard Iterator interface. (It might appear that java.text.StringCharacterIterator would work, but its implementation of next() doesn't match the standard iterator - it returns the value after incrementing the index, and so always skips the first character).
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.