code: public void not() {
          IntBitSet tmp;
  
          tmp = new IntBitSet();
          tmp.addRange(0, used - 1);
          tmp.removeAll(ends);
          ends = tmp;
      }
docs: Negates normal states and end states. If the automaton is deterministic,
  the accepted language is negated.