public class TrieUtils
extends java.lang.Object
Trie utilities.| 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)
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 © 2010 - 2023 Adobe. All Rights Reserved