Package org.apache.lucene.facet.taxonomy
Class IntTaxonomyFacets.IntAggregatedValue
- java.lang.Object
-
- org.apache.lucene.facet.taxonomy.TaxonomyFacets.AggregatedValue
-
- org.apache.lucene.facet.taxonomy.IntTaxonomyFacets.IntAggregatedValue
-
- Enclosing class:
- IntTaxonomyFacets
protected class IntTaxonomyFacets.IntAggregatedValue extends TaxonomyFacets.AggregatedValue
An accumulator for an integer aggregated value.
-
-
Constructor Summary
Constructors Constructor Description IntAggregatedValue(int value)Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaggregate(int ord)Aggregate the value corresponding to the given ordinal into this value.Numberget()Retrieve the encapsulated value.
-
-
-
Method Detail
-
aggregate
public void aggregate(int ord)
Description copied from class:TaxonomyFacets.AggregatedValueAggregate the value corresponding to the given ordinal into this value.- Specified by:
aggregatein classTaxonomyFacets.AggregatedValue
-
get
public Number get()
Description copied from class:TaxonomyFacets.AggregatedValueRetrieve the encapsulated value.- Specified by:
getin classTaxonomyFacets.AggregatedValue
-
-