net.sf.eos.trie
Class TrieUtils

java.lang.Object
  extended by net.sf.eos.trie.TrieUtils

public final class TrieUtils
extends Object

Miscellaneous utilities for Tries. See Trie for more information.

Note: Taken from Limewire sourcecode and repackaged by Sascha Kohlmann.


Method Summary
static
<K,V> List<V>
select(Trie<K,V> trie, K key, int count)
           
static
<K,V> List<V>
select(Trie<K,V> trie, K key, int count, Trie.Cursor<K,V> cursor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

select

public static <K,V> List<V> select(Trie<K,V> trie,
                                   K key,
                                   int count)

select

public static <K,V> List<V> select(Trie<K,V> trie,
                                   K key,
                                   int count,
                                   Trie.Cursor<K,V> cursor)


Copyright © 2008. All Rights Reserved.