On 4 July 2011 23:13, Jörg Schaible <joerg.schai...@gmx.de> wrote:
> Sorry, why is setValue more vague - isn't it the other way round?
As a method name, replace is explicit, set slightly less so. Either
work here, so if you want to change it go ahead.

More generally, I now think the index suffix scheme is wrong. It
should collect a list of data for the same key, because otherwise you
can't look up the data later (as the key has been silently changed
behind your back). API methods:

List<String> getValues(String key)
String getFirstValue(String key)

If its pluggable then an alternative implementation could not use a
list and only keep the first or last value. The default implementation
should keep all the values.

Stephen

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to