Hello fello
Java folk,
I know this would be really simple to implement, but I'm wondering if a standard implementation already exists. I'm looking for a class like Properties, but which maps a list of
string values to a string key. Sort of like the way ServletRequest handles parameters, but with ability to add and remove new ones. I need the methods getPropertyValues(key), addPropertyValue(key, value) and removePropertyValue(key, value). When the last value of a key is removed, the key itself is removed from the collection.
I'm only going to be using this with Strings, but if an implementation exists only for Objects, casting will not present a problem.
Thank you in advance,
Yuriy