querqy.rewrite.commonrules.model.TrieMapRulesCollectionBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of querqy-core Show documentation
Show all versions of querqy-core Show documentation
Querqy library for query rewriting: Querqy Core
/**
*
*/
package querqy.rewrite.commonrules.model;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import querqy.ComparableCharSequence;
import querqy.CompoundCharSequence;
import querqy.trie.State;
import querqy.trie.States;
import querqy.trie.TrieMap;
/**
* @author René Kriegler, @renekrie
*
*/
public class TrieMapRulesCollectionBuilder implements RulesCollectionBuilder {
final TrieMap> map = new TrieMap<>();
private final Set