BiCollector

Peter Levart peter.levart at gmail.com
Tue Jun 19 07:52:28 UTC 2018



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



More information about the core-libs-dev mailing list