public boolean processAll(@NotNull Processor<? super DfaInstructionState> processor) {
    for (DfaInstructionState state : myQueue) {
      if (!processor.process(state)) return false;
    }
    return true;
  }
public boolean processAll(@NotNull Processor<? super DfaInstructionState> processor)