Modifier and Type | Method and 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)
Trie
K
- the key typeV
- the value typetrie
- the trie to make unmodifiable, must not be nullNullPointerException
- if trie is nullCollections.unmodifiableMap(java.util.Map)
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.