hudson.search
Class UnionSearchIndex

java.lang.Object
  extended by hudson.search.UnionSearchIndex
All Implemented Interfaces:
SearchIndex

public class UnionSearchIndex
extends Object
implements SearchIndex

Union of two sets.

Author:
Kohsuke Kawaguchi

Field Summary
 
Fields inherited from interface hudson.search.SearchIndex
EMPTY
 
Constructor Summary
UnionSearchIndex(SearchIndex lhs, SearchIndex rhs)
           
 
Method Summary
static SearchIndex combine(SearchIndex... sets)
           
 void find(String token, List<SearchItem> result)
           
 void suggest(String token, List<SearchItem> result)
          This method returns the superset of SearchIndex.find(String, List).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnionSearchIndex

public UnionSearchIndex(SearchIndex lhs,
                        SearchIndex rhs)
Method Detail

combine

public static SearchIndex combine(SearchIndex... sets)

find

public void find(String token,
                 List<SearchItem> result)
Specified by:
find in interface SearchIndex

suggest

public void suggest(String token,
                    List<SearchItem> result)
Description copied from interface: SearchIndex
This method returns the superset of SearchIndex.find(String, List).

Specified by:
suggest in interface SearchIndex


Copyright © 2004-2013. All Rights Reserved.