code: public Set<Integer> getTransitions(int state, int inputIdx) { // TODO: replace by primitive specialization
          Set<Integer> transition = transitions[toMemoryIndex(state, inputIdx)];
  
          return transition == null ? Collections.emptySet() : transition;
      }
docs: public TIntSet getTransitions(int state, int inputIdx) {