class UriBuilderImpl extends UriBuilder implements Cloneable {

    @Override
    public UriBuilder replaceMatrixParam(String name, Object... values) throws IllegalArgumentException {
        if (name == null) {
            throw new IllegalArgumentException("name is null");
        }
        if (values != null && values.length >= 1 && values[0] != null) {
            matrix.put(name, toStringList(true, values));
        } else {
            matrix.remove(name);
        }
        return this;
    }

    public  UriBuilderImpl();
    public  UriBuilderImpl(Map<String, Object> properties);
    public  UriBuilderImpl(URI uri);

}