Package org.openrefine.browsing.util
Class ScatterplotFacetState
- java.lang.Object
-
- org.openrefine.browsing.util.ScatterplotFacetState
-
- All Implemented Interfaces:
Serializable,FacetState
public class ScatterplotFacetState extends Object implements FacetState
Stores the x and y coordinates of all points encountered so far by the facet aggregator.- Author:
- Antonin Delpeuch
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description int_valuesCount
-
Constructor Summary
Constructors Constructor Description ScatterplotFacetState(double[] valuesX, double[] valuesY, boolean[] inView, int valuesCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScatterplotFacetStateaddValue(double x, double y, boolean inView)booleanequals(Object other)boolean[]getInView()intgetValuesCount()double[]getValuesX()double[]getValuesY()inthashCode()StringtoString()
-
-
-
Method Detail
-
getValuesX
public double[] getValuesX()
-
getValuesY
public double[] getValuesY()
-
getInView
public boolean[] getInView()
-
getValuesCount
public int getValuesCount()
-
addValue
public ScatterplotFacetState addValue(double x, double y, boolean inView)
-
-