I don’t have anything publicly available. I’ll see if i can dig something out 
and send it to you directly.

Paul. 

> On Jun 11, 2018, at 11:28 AM, Peter Levart <peter.lev...@gmail.com> wrote:
> 
> Hi Paul,
> 
> Can you point me to some BiStream code (if it is available publicly)?
> 
> Thanks, Peter
> 
> On 06/11/18 19:10, Paul Sandoz wrote:
>> Hi Peter,
>> 
>> I like it and can see it being useful, thanks for sharing. 
>> 
>> I am hesitating a little about it being in the JDK because there is the 
>> larger abstraction of a BiStream, where a similar form of collection would 
>> naturally fit (but perhaps without the intersection constraints for the 
>> characteristics?). We experimented a few times with BiStream and got quite 
>> far but decided pull back due to the lack of value types and specialized 
>> generics. So i dunno how this might turn out in the future and if your 
>> BiCollector fits nicely into such a future model.
>> 
>> What are you thoughts on this?
>> 
>> FWIW i would call it a “splitting” or “bisecting" collector e.g. 
>> “s.collect(bisecting(…))”
>> 
>> Paul.

Reply via email to