class Preset {

    private final String name;
    private final boolean dark;
    private final int hMin;
    private final int hMax;
    private final float cMin;
    private final float cMax;
    private final float lMin;
    private final float lMax;

    public Preset(String name, boolean dark, int hMin, int hMax, float cMin, float cMax, float lMin, float lMax) {
        this.name = name;
        this.dark = dark;
        this.hMin = hMin;
        this.hMax = hMax;
        this.cMin = cMin;
        this.cMax = cMax;
        this.lMin = lMin;
        this.lMax = lMax;
    }

    public String getName() {
        return name;
    }

    public boolean isDark() {
        return dark;
    }

    public int gethMin() {
        return hMin;
    }

    public int gethMax() {
        return hMax;
    }

    public float getcMin() {
        return cMin;
    }

    public float getcMax() {
        return cMax;
    }

    public float getlMin() {
        return lMin;
    }

    public float getlMax() {
        return lMax;
    }

    public float[] toArray() {<FILL_FUNCTION_BODY>}

    @Override
    public String toString() {
        return name;
    }
}

        return new float[] {hMin, hMax, cMin, cMax, lMin, lMax};
    
<no_super_class>