Class DocumentSearchModuleGenerator.EmptySearchResultsIterator<A extends AmetysObject>
- java.lang.Object
-
- org.ametys.plugins.workspaces.search.module.DocumentSearchModuleGenerator.EmptySearchResultsIterator<A>
-
- All Implemented Interfaces:
Iterator<SearchResult<A>>
,SearchResultsIterator<SearchResult<A>>
- Enclosing class:
- DocumentSearchModuleGenerator
class DocumentSearchModuleGenerator.EmptySearchResultsIterator<A extends AmetysObject> extends Object implements SearchResultsIterator<SearchResult<A>>
-
-
Constructor Summary
Constructors Constructor Description EmptySearchResultsIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
SearchResult<A>
next()
void
skip(long skipNum)
Skip a number of elements in the iterator.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Constructor Detail
-
EmptySearchResultsIterator
EmptySearchResultsIterator()
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceIterator<A extends AmetysObject>
-
next
public SearchResult<A> next()
- Specified by:
next
in interfaceIterator<A extends AmetysObject>
-
skip
public void skip(long skipNum)
Description copied from interface:SearchResultsIterator
Skip a number of elements in the iterator.- Specified by:
skip
in interfaceSearchResultsIterator<A extends AmetysObject>
- Parameters:
skipNum
- the non-negative number of elements to skip
-
-