org.apache.commons.collections4
Class TrieUtils

java.lang.Object
  extended by org.apache.commons.collections4.TrieUtils

public class TrieUtils
extends Object

A collection of Trie utilities.

Since:
4.0
Version:
$Id: TrieUtils.java 1493523 2013-06-16 15:56:35Z tn $

Method Summary
static
<K,V> Trie<K,V>
unmodifiableTrie(Trie<K,V> trie)
          Returns an unmodifiable instance of a Trie
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

unmodifiableTrie

public static <K,V> Trie<K,V> unmodifiableTrie(Trie<K,V> trie)
Returns an unmodifiable instance of a Trie

Type Parameters:
K - the key type
V - the value type
Parameters:
trie - the trie to make unmodifiable, must not be null
Returns:
an unmodifiable trie backed by the given trie
See Also:
Collections.unmodifiableMap(java.util.Map)


Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.