com.fatwire.gst.foundation.facade.search
Class SearchResultIterable

java.lang.Object
  extended by com.fatwire.gst.foundation.facade.search.SearchResultIterable
All Implemented Interfaces:
Iterable<com.fatwire.cs.core.search.data.ResultRow>

public final class SearchResultIterable
extends Object
implements Iterable<com.fatwire.cs.core.search.data.ResultRow>

Iterable wrapper over a SearchResult so that the API can be used in a for-each loop.

Since:
Feb 16, 2011
Author:
Tony Field

Constructor Summary
SearchResultIterable(com.fatwire.cs.core.search.engine.SearchResult<com.fatwire.cs.core.search.data.ResultRow> searchResult)
           
 
Method Summary
 Iterator<com.fatwire.cs.core.search.data.ResultRow> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchResultIterable

public SearchResultIterable(com.fatwire.cs.core.search.engine.SearchResult<com.fatwire.cs.core.search.data.ResultRow> searchResult)
Method Detail

iterator

public Iterator<com.fatwire.cs.core.search.data.ResultRow> iterator()
Specified by:
iterator in interface Iterable<com.fatwire.cs.core.search.data.ResultRow>


Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.