class IntervalMapSparklinesGraphicsComponentProvider extends AbstractSparklinesGraphicsComponentProvider {

    public IntervalMapSparklinesGraphicsComponentProvider(GraphModelProvider graphModelProvider, JXTable table) {
        super(graphModelProvider, table);
    }

    @Override
    public String getTextFromValue(Object value) {
        if (value == null) {
            return null;
        }

        TimeFormat timeFormat = graphModelProvider.getGraphModel().getTimeFormat();
        DateTimeZone timeZone = graphModelProvider.getGraphModel().getTimeZone();

        return ((IntervalMap) value).toString(timeFormat, timeZone);
    }

    @Override
    public Number[][] getSparklinesXAndYNumbers(Object value) {<FILL_FUNCTION_BODY>}
}

        IntervalMap intervalMap = (IntervalMap) value;

        ArrayList<Number> xValues = new ArrayList<>();
        ArrayList<Number> yValues = new ArrayList<>();
        if (intervalMap == null) {
            return new Number[2][0];
        }

        Interval[] intervals = intervalMap.toKeysArray();
        Object[] values = intervalMap.toValuesArray();
        Number n;
        for (int i = 0; i < intervals.length; i++) {
            n = (Number) values[i];
            if (n != null) {
                xValues.add(intervals[i].getLow());
                yValues.add(n);
            }
        }

        return new Number[][] {xValues.toArray(new Number[0]), yValues.toArray(new Number[0])};
    
<methods>public void <init>(org.gephi.desktop.datalab.utils.GraphModelProvider, JXTable) ,public abstract java.lang.Number[][] getSparklinesXAndYNumbers(java.lang.Object) ,public abstract java.lang.String getTextFromValue(java.lang.Object) ,public void setImagePainter(java.lang.Object, boolean) <variables>protected static final java.awt.Color SELECTED_BACKGROUND,protected static final java.awt.Color UNSELECTED_BACKGROUND,protected final non-sealed org.gephi.desktop.datalab.utils.GraphModelProvider graphModelProvider,protected final non-sealed java.awt.Color lineColor,protected JRendererLabel rendererLabel,protected final non-sealed JXTable table