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 ScatterplotFacetState
addValue(double x, double y, boolean inView)
boolean
equals(Object other)
boolean[]
getInView()
int
getValuesCount()
double[]
getValuesX()
double[]
getValuesY()
int
hashCode()
String
toString()
-
-
-
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)
-
-