code: public void addTransition(RangeSet rs, NFAState<T> to)
      {
          for (CharRange c : rs)
          {
              addTransition(c, to);
          }
          edges.add(to);
          to.inStates.add(this);
      }
docs: Adds a set of transitions
  @param rs
  @param to