return result;
}
@Override
public Collection<String> getValues(String format) {
NamingPolicy namingPolicy = getDatabase().getNamingPolicy();
try {
Map<T, String> map = getValueDescriptions();
List<String> list = new ArrayList<String>(map.size());
for (Map.Entry<T, String> e : map.entrySet()) {
String value = toString(e.getKey());
String descr = e.getValue();
if (descr != null && descr.length() > 0) {
if (format == null)
value = namingPolicy.joinValueAndDescription(value, descr);
else
value = String.format(format, value, descr);
}
list.add(value);
}