private void updateDfaTransitionTable(int stateIndex, int transitionIndex, IFAState newState) {
    dfaTransitionTable.compute(
        stateIndex,
        (k, v) -> {
          if (v == null) {
            v = new HashMap<>();
          }
          v.put(transitionIndex, newState);
          return v;
        });
  }
get next closure

@param nfaGraph
@param curClosure
@param transfer
@return if empty. return true
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/path/fa/dfa/graph/DFAGraph.java