001package com.hammurapi.common.concurrent; 002 003public class StringSubSet extends AbstractSubSet<String> { 004 005 private String separator; 006 007 protected StringSubSet(PropertySet<String> master, String prefix) { 008 this(master, prefix, "/"); 009 } 010 011 protected StringSubSet(PropertySet<String> master, String prefix, String separator) { 012 super(master, prefix); 013 this.separator = separator; 014 } 015 016 @Override 017 protected String buildPath(String prefix, String key) { 018 return prefix+separator+key; 019 } 020 021 @Override 022 public PropertySet<String> createVersion() { 023 throw new UnsupportedOperationException(); 024 } 025 026}