Package com.intellij.util
Class EmptyQuery<R>
- java.lang.Object
-
- com.intellij.util.EmptyQuery<R>
-
-
Constructor Summary
Constructors Constructor Description EmptyQuery()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<R>findAll()Get all of the results in theCollectionRfindFirst()Get the first result ornullif no results have been found.booleanforEach(Processor<R> consumer)Process search results one-by-one.static <T> Query<T>getEmptyQuery()Iterator<R>iterator()R[]toArray(R[] 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<R> findAll()
Description copied from interface:QueryGet all of the results in theCollection
-
findFirst
public R findFirst()
Description copied from interface:QueryGet the first result ornullif no results have been found.
-
forEach
public boolean forEach(@NotNull Processor<R> consumer)Description copied from interface:QueryProcess search results one-by-one. All the results will be subsequently fed to aconsumerpassed.
-
getEmptyQuery
public static <T> Query<T> getEmptyQuery()
-
-