Hi Jules,

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



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


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


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