StringPairArray::containsValue


#1

Hi Jules,

could you add a function StringPairArray::containsValue() to the StringPairArray class?

Chris


#2

It doesn't really need one - you can call getAllValues().containsValue()


#3

You’re right although it’d be a bit shorter and is similar to containsKey(). Does the latter predate getAllKeys()?


#4

Yes, it probably does predate it. This doesn't feel to me like something that would justify an extra method.