class CategorizedLine extends AbstractCategorizedLegend<LineParameters> {

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

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

}