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 theCollection
T
findFirst()
Get the first result ornull
if no results have been found.boolean
forEach(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:Query
Get all of the results in theCollection
-
findFirst
public T findFirst()
Description copied from interface:Query
Get the first result ornull
if no results have been found.
-
forEach
public boolean forEach(@NotNull Processor<T> consumer)
Description copied from interface:Query
Process search results one-by-one. All the results will be subsequently fed to aconsumer
passed.
-
-