Package com.google.gerrit.server.ioutil
Class RegexListSearcher<T>
- java.lang.Object
-
- com.google.gerrit.server.ioutil.RegexListSearcher<T>
-
public final class RegexListSearcher<T> extends Object
Helper to search sorted lists for elements matching aRegExp
.
-
-
Constructor Summary
Constructors Constructor Description RegexListSearcher(String re, Function<T,String> toStringFunc)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegexListSearcher<String>
ofStrings(String re)
Stream<T>
search(List<T> list)
-