public class TrieUtils
extends java.lang.Object
Trie utilities.| Modifier and Type | Method | Description |
|---|---|---|
static <K,V> Trie<K,V> |
unmodifiableTrie(Trie<K,? extends V> trie) |
Returns an unmodifiable instance of a
Trie |
public static <K,V> Trie<K,V> unmodifiableTrie(Trie<K,? extends V> trie)
TrieK - the key typeV - the value typetrie - the trie to make unmodifiable, must not be nulljava.lang.NullPointerException - if trie is nullCollections.unmodifiableMap(java.util.Map)Copyright © 2001-2019 - Apache Software Foundation