public static class RangeEndpointCalculator.DoubleRangeEndpointCalculator extends RangeEndpointCalculator<Double>
RangeEndpointCalculator.DateRangeEndpointCalculator, RangeEndpointCalculator.DoubleRangeEndpointCalculator, RangeEndpointCalculator.FacetRange, RangeEndpointCalculator.FloatRangeEndpointCalculator, RangeEndpointCalculator.IntegerRangeEndpointCalculator, RangeEndpointCalculator.LongRangeEndpointCalculator
field, request
Constructor and Description |
---|
RangeEndpointCalculator.DoubleRangeEndpointCalculator(RangeFacetRequest request) |
Modifier and Type | Method and Description |
---|---|
Double |
parseAndAddGap(Double value,
String gap)
Adds the String gap param to a low Range endpoint value to determine
the corrisponding high Range endpoint value.
|
protected Double |
parseVal(String rawval)
Parses a String param into an Range endpoint.
|
addGap, create, formatValue, getGap, getRanges, getValue, parseGap
public RangeEndpointCalculator.DoubleRangeEndpointCalculator(RangeFacetRequest request)
protected Double parseVal(String rawval)
RangeEndpointCalculator
parseVal
in class RangeEndpointCalculator<Double>
public Double parseAndAddGap(Double value, String gap)
RangeEndpointCalculator
parseAndAddGap
in class RangeEndpointCalculator<Double>
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.