src/main/java/org/jsoup/parser/TokenQueue.java
/**
     * Retrieves the next run of word type (letter or digit) off the queue.
     * @return String of word characters from queue, or empty string if none.
     */
Retrieves the next run of word type (letter or digit) off the queue.
@return String of word characters from queue, or empty string if none.
Retrieves the next run of word type ( letter or digit ) off the queue . @return String of word characters from queue or empty string if none .
public String consumeWord() {
        StringBuilder wordAccum = new StringBuilder();
        while (!queue.isEmpty() && Character.isLetterOrDigit(queue.peek())) {
            wordAccum.append(queue.removeFirst());
        }
        return wordAccum.toString();
    }
public String consumeWord ( ) { StringBuilder wordAccum = new StringBuilder ( ) ; while ( ! queue . isEmpty ( ) && Character . isLetterOrDigit ( queue . peek ( ) ) ) { wordAccum . append ( queue . removeFirst ( ) ) ; } return wordAccum . toString ( ) ; }
Retrieves the next run of word type (letter or digit) off the queue.
Retrieves the next run of word type ( letter or digit ) off the queue .