class TokenStream {

    public boolean matches( String expected ) throws IllegalStateException {
        return !completed && (expected == ANY_VALUE || currentToken().matches(expected));
    }

    public  TokenStream( String content,
                        Tokenizer tokenizer,
                        boolean caseSensitive );

}