Class DocumentSearchModuleGenerator.EmptySearchResultsIterable<A extends AmetysObject>
- java.lang.Object
-
- org.ametys.plugins.workspaces.search.module.DocumentSearchModuleGenerator.EmptySearchResultsIterable<A>
-
- All Implemented Interfaces:
Iterable<SearchResult<A>>
,SearchResultsIterable<SearchResult<A>>
- Enclosing class:
- DocumentSearchModuleGenerator
class DocumentSearchModuleGenerator.EmptySearchResultsIterable<A extends AmetysObject> extends Object implements SearchResultsIterable<SearchResult<A>>
-
-
Constructor Summary
Constructors Constructor Description EmptySearchResultsIterable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getSize()
Returns the number of elements in this iterable.SearchResultsIterator<SearchResult<A>>
iterator()
-
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
-
-
-
-
Constructor Detail
-
EmptySearchResultsIterable
EmptySearchResultsIterable()
-
-
Method Detail
-
getSize
public long getSize()
Description copied from interface:SearchResultsIterable
Returns the number of elements in this iterable.- Specified by:
getSize
in interfaceSearchResultsIterable<A extends AmetysObject>
- Returns:
- the number of elements in this iterable.
-
iterator
public SearchResultsIterator<SearchResult<A>> iterator()
- Specified by:
iterator
in interfaceIterable<A extends AmetysObject>
- Specified by:
iterator
in interfaceSearchResultsIterable<A extends AmetysObject>
-
-