com.browseengine.bobo.facets.impl
Class CombinedFacetIterator
java.lang.Object
com.browseengine.bobo.api.FacetIterator
com.browseengine.bobo.facets.impl.CombinedFacetIterator
- All Implemented Interfaces:
- Iterator<Comparable>
public class CombinedFacetIterator
- extends FacetIterator
- Author:
- nnarkhed
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CombinedFacetIterator
public CombinedFacetIterator(List<FacetIterator> iterators)
next
public Comparable next()
- Description copied from class:
FacetIterator
- Moves the iteration to the next facet
- Specified by:
next in interface Iterator<Comparable>- Specified by:
next in class FacetIterator
- Returns:
- the next facet value
next
public Comparable next(int minHits)
- This version of the next() method applies the minHits from the facet spec before returning the facet and its hitcount
- Specified by:
next in class FacetIterator
- Parameters:
minHits - the minHits from the facet spec for CombinedFacetAccessible
- Returns:
- The next facet that obeys the minHits
hasNext
public boolean hasNext()
remove
public void remove()
format
public String format(Object val)
- Specified by:
format in class FacetIterator
Copyright © 2011. All Rights Reserved.