@Override
  public boolean equals(Object o) {
    if (!(o instanceof TokenTuple))
      return false;
    TokenTuple t = (TokenTuple)o;
    return tokenType.equals(t.tokenType) && token.equals(t.token);
  }