On 06/19/18 09:43, Peter Levart wrote:
We already have some toXxx() methods (toList, toSet, toCollection, toMap, ...), so toBoth seems to me as a natural extension of that naming principle:

Well, on a second thought, toList, toSet, etc... they all name a type that is a result of the collection (List, Set, etc.). But we don't have a type called Both (yet).

So, please, continue with suggestions...

Peter

Reply via email to