Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,17 @@
import java.util.SortedMap;

import org.apache.commons.collections4.OrderedMapIterator;
import org.apache.commons.collections4.Trie;

/**
* This class implements the base PATRICIA algorithm and everything that
* is related to the {@link Map} interface.
*
* @param <K> the type of the keys in this map
* @param <V> the type of the values in this map
* @since 4.0
*/
abstract class AbstractPatriciaTrie<K, V> extends AbstractBitwiseTrie<K, V> {
public abstract class AbstractPatriciaTrie<K, V> extends AbstractBitwiseTrie<K, V> {

private static final long serialVersionUID = 5155253417231339498L;

Expand All @@ -66,6 +69,11 @@ abstract class AbstractPatriciaTrie<K, V> extends AbstractBitwiseTrie<K, V> {
*/
protected transient int modCount;

/**
* Constructs a new {@link Trie} using the given {@link KeyAnalyzer}.
*
* @param keyAnalyzer the {@link KeyAnalyzer} to use
*/
protected AbstractPatriciaTrie(final KeyAnalyzer<? super K> keyAnalyzer) {
super(keyAnalyzer);
}
Expand Down