All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.datastax.data.exploration.dto.BoxPlotData Maven / Gradle / Ivy

package com.datastax.data.exploration.dto;

import java.util.ArrayList;
import java.util.List;

/**
 * 箱形图数据传输对象
 * @author charles create on 12/18/17
 */
public class BoxPlotData {
    private List prop;

    public BoxPlotData() {
        this.prop = new ArrayList<>();
    }

    public void put(String name, String type, String format, List data) {
        this.prop.add(new Prop(name, type, format, data));
    }

    public List getProp() {
        return prop;
    }

    private class Prop {
        private String name;
        private String type;
        private String format;
        private List data;

        Prop(String name, String type, String format, List data) {
            this.name = name;
            this.type = type;
            this.format = format;
            this.data = data;
        }

        public String getName() {
            return name;
        }

        public String getType() {
            return type;
        }

        public String getFormat() {
            return format;
        }

        public List getData() {
            return data;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy