class AddressTemplate implements Iterable<String> {

    @JsIgnore
    public AddressTemplate append(String template) {
        String slashTemplate = template.startsWith("/") ? template : "/" + template;
        return AddressTemplate.of(this.template + slashTemplate);
    }

    private  AddressTemplate(String template);

}