class CategorizedLine extends AbstractCategorizedLegend<LineParameters> {

    @Override
    public LineParameters remove(Object o) {
        if(!(o instanceof Double)){
            throw new IllegalArgumentException("Keys are double values in this map");
        }
        Double d = (Double)o;
        forceMapping(d);
        LineParameters ret = null;
        if(containsKey(d)){
            ret = get(d);
        }
        color.remove(d);
        opacity.remove(d);
        width.remove(d);
        dash.remove(d);
        return ret;
    }

    public  CategorizedLine();
    public  CategorizedLine(LineSymbolizer ls);

}