text: public FSTCompletion(FST<object> automaton, bool higherWeightsFirst, bool exactFirst){this.automaton = automaton;if (automaton != null){this.rootArcs = CacheRootArcs(automaton);}else{this.rootArcs = new FST.Arc<object>[0];}this.higherWeightsFirst = higherWeightsFirst;this.exactFirst = exactFirst;}