Package org.apache.commons.collections4
Class TrieUtils
java.lang.Object
org.apache.commons.collections4.TrieUtils
A collection of
Trie
utilities.- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K,
V> Trie<K, V> unmodifiableTrie
(Trie<K, ? extends V> trie) Returns an unmodifiable instance of aTrie
-
Method Details
-
unmodifiableTrie
Returns an unmodifiable instance of aTrie
- Type Parameters:
K
- the key typeV
- the value type- Parameters:
trie
- the trie to make unmodifiable, must not be null- Returns:
- an unmodifiable trie backed by the given trie
- Throws:
NullPointerException
- if trie is null- See Also:
-