use of org.trie4j.louds.TailLOUDSTrie.NodeListener in project trie4j by takawitter.
the class TailLOUDSTrieWithSuffixTrieTailArrayWikipediaMonitoredSBVTest method buildSecondTrie.
@Override
protected Trie buildSecondTrie(Trie first) {
bv.resetCounts();
TailLOUDSTrie t = new TailLOUDSTrie(first, new LOUDSBvTree(bv), new SuffixTrieTailArray(first.size()), new NodeListener() {
@Override
public void listen(Node node, int id) {
}
});
t.trimToSize();
return t;
}
Aggregations