Perhaps we should just add a comment to MapUtils.swapKeysValues() to the effect of 
"results are undefined if the source map is not a bijection".  

This gives us some flexiblity in defining a new implementation, either that makes 
non-bijection swaps meaningful (e.g., "duplicate" keys the destination map point to a 
*set* of values), or that happens to change the behavior in the non-bijection case.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to