public TermsEnum intersect(CompiledAutomaton compiled, BytesRef startTerm) throws IOException {if (compiled.type != CompiledAutomaton.AUTOMATON_TYPE.NORMAL) {throw new IllegalArgumentException("please use CompiledAutomaton.getTermsEnum instead");}return new IntersectTermsEnum(this, compiled.automaton, compiled.runAutomaton, compiled.commonSuffixRef, startTerm);}

public override TermsEnum Intersect(CompiledAutomaton compiled, BytesRef startTerm){if (compiled.Type != CompiledAutomaton.AUTOMATON_TYPE.NORMAL){throw new System.ArgumentException("please use CompiledAutomaton.getTermsEnum instead");}return new IntersectEnum(this, compiled, startTerm);}
