class CategorizedArea extends AbstractCategorizedLegend<AreaParameters> implements EnablesStroke {

    @Override
    public AreaParameters remove(Object o) {
        if(!(o instanceof Double)){
            throw new IllegalArgumentException("Keys are double values in this map");
        }
        Double inp = (Double)o;
        forceMapping(inp);
        AreaParameters ret;
        if(containsKey(inp)){
            ret = get(inp);
        } else {
            return null;
        }
        if(strokeEnabled){
            colorStroke.remove(inp);
            opacityStroke.remove(inp);
            widthStroke.remove(inp);
            dashStroke.remove(inp);
        }
        colorFill.remove(inp);
        opacityFill.remove(inp);
        return ret;

    }

    public  CategorizedArea();
    public  CategorizedArea(AreaSymbolizer as);

}