code: public RangeSet getConditionsTo(NFAState<T> state)
      {
          RangeSet rs = new RangeSet();
          for (CharRange range : transitions.keySet())
          {
              if (range != null)
              {
                  Set<Transition<NFAState<T>>> set2 = transitions.get(range);
                  for (Transition<NFAState<T>> tr : set2)
                  {
                      if (state.equals(tr.getTo()))
                      {
                          rs.add(range);
                      }
                  }
              }
          }
          return rs;
  
      }
docs: Returns non epsilon confitions to transit to given state
  @param state
  @return