Skip to content

Commit

Permalink
Make AbstractPatriciaTrie public (#407)
Browse files Browse the repository at this point in the history
* Make AbstractPatriciaTrie public

* Added javadocs
  • Loading branch information
vad0 committed Jul 27, 2023
1 parent 99473df commit 66d6b9e
Showing 1 changed file with 9 additions and 1 deletion.
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

0 comments on commit 66d6b9e

Please sign in to comment.