org.ardverk.collection
Class Tries

java.lang.Object
  extended by org.ardverk.collection.Tries

public class Tries
extends java.lang.Object

A collection of Trie utilities


Method Summary
static
<K,V> Trie<K,V>
synchronizedTrie(Trie<K,V> trie)
          Returns a synchronized instance of a Trie
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

synchronizedTrie

public static <K,V> Trie<K,V> synchronizedTrie(Trie<K,V> trie)
Returns a synchronized instance of a Trie

See Also:
Collections.synchronizedMap(Map)

unmodifiableTrie

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

See Also:
Collections.unmodifiableMap(Map)


Copyright © 2005-2009 Roger Kapsi, Sam Berlin. All Rights Reserved.