Package com.intellij.util
Class MergeQuery<T,T1 extends T,T2 extends T>
- java.lang.Object
-
- com.intellij.util.MergeQuery<T,T1,T2>
-
-
Constructor Summary
Constructors Constructor Description MergeQuery(Query<T1> query1, Query<T2> query2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<T>findAll()Get all of the results in theCollectionTfindFirst()Get the first result ornullif no results have been found.booleanforEach(Processor<T> consumer)Process search results one-by-one.Iterator<T>iterator()T[]toArray(T[] a)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
findAll
@NotNull public Collection<T> findAll()
Description copied from interface:QueryGet all of the results in theCollection
-
findFirst
public T findFirst()
Description copied from interface:QueryGet the first result ornullif no results have been found.
-
forEach
public boolean forEach(@NotNull Processor<T> consumer)Description copied from interface:QueryProcess search results one-by-one. All the results will be subsequently fed to aconsumerpassed.
-
-