public class DefaultShortFacetIterator extends ShortFacetIterator
| Modifier and Type | Field and Description |
|---|---|
TermShortList |
_valList |
facetcount| Constructor and Description |
|---|
DefaultShortFacetIterator(TermShortList valList,
int[] countarray,
int countlength,
boolean zeroBased) |
| Modifier and Type | Method and Description |
|---|---|
String |
format(Object val) |
String |
format(short val) |
String |
getFacet() |
int |
getFacetCount() |
boolean |
hasNext() |
String |
next()
Moves the iteration to the next facet
|
String |
next(int minHits)
Moves the iteration to the next facet whose hitcount >= minHits.
|
short |
nextShort() |
short |
nextShort(int minHits) |
void |
remove() |
public TermShortList _valList
public DefaultShortFacetIterator(TermShortList valList, int[] countarray, int countlength, boolean zeroBased)
public String getFacet()
public String format(short val)
format in class ShortFacetIteratorpublic String format(Object val)
format in class FacetIteratorpublic int getFacetCount()
public boolean hasNext()
public String next()
FacetIteratornext in interface Iterator<Comparable>next in class FacetIteratorpublic short nextShort()
nextShort in class ShortFacetIteratorpublic void remove()
public String next(int minHits)
FacetIteratornext in class FacetIteratorpublic short nextShort(int minHits)
nextShort in class ShortFacetIteratorCopyright © 2005–2013. All rights reserved.