code: public boolean matches( String expected ) throws IllegalStateException {
          return !completed && (expected == ANY_VALUE || currentToken().matches(expected));
      }
docs: Determine if the current token matches the expected value.
  <p>
  The {@link #ANY_VALUE ANY_VALUE} constant can be used as a wildcard.
  </p>
  
  @param expected the expected value of the current token token
  @return true if the current token did match, or false if the current token did not match
  @throws IllegalStateException if this method was called before the stream was {@link #start() started}