com.browseengine.bobo.util
Class SearchResultMerger<T>

java.lang.Object
  extended by com.browseengine.bobo.util.SearchResultMerger<T>

public class SearchResultMerger<T>
extends Object


Nested Class Summary
static class SearchResultMerger.MergedIterator<T>
           
 
Method Summary
static
<T> Iterator<T>
mergeIterator(List<Iterator<T>> results, Comparator<T> comparator)
           
static
<T> ArrayList<T>
mergeResult(int offset, int count, List<Iterator<T>> results, Comparator<T> comparator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

mergeIterator

public static <T> Iterator<T> mergeIterator(List<Iterator<T>> results,
                                            Comparator<T> comparator)

mergeResult

public static <T> ArrayList<T> mergeResult(int offset,
                                           int count,
                                           List<Iterator<T>> results,
                                           Comparator<T> comparator)


Copyright © 2011. All Rights Reserved.