code: final boolean lookahead(char c, int n)
    {
  
      int pos = (m_queueMark + n);
      boolean b;
  
      if ((pos <= m_ops.getTokenQueueSize()) && (pos > 0)
              && (m_ops.getTokenQueueSize() != 0))
      {
        String tok = ((String) m_ops.m_tokenQueue.elementAt(pos - 1));
  
        b = (tok.length() == 1) ? (tok.charAt(0) == c) : false;
      }
      else
      {
        b = false;
      }
  
      return b;
    }
docs: Look ahead of the current token in order to
  make a branching decision.
  
  @param c the character to be tested for.
  @param n number of tokens to look ahead.  Must be
  greater than 1.
  
  @return true if the next token matches the character argument.