Code example for CharacterIterator

Methods: next

    private Object token;
    private StringBuffer buf = new StringBuffer();
    private boolean readingKey = false;
    private char next() { 
        c =;
        return c;
    private void skipWhiteSpace() { 
        while (Character.isWhitespace(c)) {
    public Object read(CharacterIterator ci, int start) {
        it = ci;
        switch (start) {
        case FIRST:
            c = it.first();
Connect your IDE to all the code out there  Get Codota for Java