com.unbxd.client.search.response.RangeFacet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unbxd-java-sdk Show documentation
Show all versions of unbxd-java-sdk Show documentation
The project is a Unbxd Java Library
The newest version!
package com.unbxd.client.search.response;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
/**
* Created with IntelliJ IDEA.
* User: sourabh
* Date: 08/07/14
* Time: 11:02 AM
* To change this template use File | Settings | File Templates.
*/
public class RangeFacet extends Facet{
private double _gap;
protected List _rangeFacetEntries;
protected RangeFacet(String facetName, Map params) {
super(facetName, params);
this._gap = ((Number) ((Map)params.get("values")).get("gap")).doubleValue();
}
@Override
protected void generateEntries(List