LimeWire collection component api

org.limewire.collection
Class TrieUtils

java.lang.Object
  extended by org.limewire.collection.TrieUtils

public final class TrieUtils
extends java.lang.Object

Miscellaneous utilities for Tries. See Trie for more information.


Method Summary
static
<K,V> java.util.List<V>
select(Trie<K,V> trie, K key, int count)
           
static
<K,V> java.util.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> java.util.List<V> select(Trie<K,V> trie,
                                             K key,
                                             int count)

select

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

LimeWire collection component api

Copyright © 2009 Lime Wire LLC. All Rights Reserved.