public class DefaultDoubleFacetIterator extends DoubleFacetIterator
| Modifier and Type | Field and Description |
|---|---|
TermDoubleList |
_valList |
facetcount| Constructor and Description |
|---|
DefaultDoubleFacetIterator(TermDoubleList valList,
int[] countarray,
int countlength,
boolean zeroBased) |
| Modifier and Type | Method and Description |
|---|---|
String |
format(double val) |
String |
format(Object 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.
|
double |
nextDouble() |
double |
nextDouble(int minHits) |
void |
remove() |
public TermDoubleList _valList
public DefaultDoubleFacetIterator(TermDoubleList valList, int[] countarray, int countlength, boolean zeroBased)
public String getFacet()
public String format(double val)
format in class DoubleFacetIteratorpublic 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 double nextDouble()
nextDouble in class DoubleFacetIteratorpublic void remove()
public String next(int minHits)
FacetIteratornext in class FacetIteratorpublic double nextDouble(int minHits)
nextDouble in class DoubleFacetIteratorCopyright © 2005–2013. All rights reserved.