Package hudson.search
Class UnionSearchIndex
- java.lang.Object
-
- 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
Constructors Constructor Description UnionSearchIndex(SearchIndex lhs, SearchIndex rhs)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchIndex
combine(SearchIndex... sets)
void
find(String token, List<SearchItem> result)
void
suggest(String token, List<SearchItem> result)
This method returns the superset ofSearchIndex.find(String, List)
.
-
-
-
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 interfaceSearchIndex
-
suggest
public void suggest(String token, List<SearchItem> result)
Description copied from interface:SearchIndex
This method returns the superset ofSearchIndex.find(String, List)
.- Specified by:
suggest
in interfaceSearchIndex
-
-