Re: [concurrency-interest] Durations in existing JDK APIs

2018-06-01 Thread Gregg Wonderly
I am not sure I understand this implementation, but isn’t >long s = convert(duration.getSeconds(), SECONDS); needing to actually be >long s = convert(duration.getSeconds(), NANOSECONDS); so that s+n is in a common unit of measure? Gregg > On May 30, 2018, at 7:19 PM, Martin

Re: [concurrency-interest] We need to add blocking methods to CompletionStage!

2016-09-28 Thread Gregg Wonderly
more prevalent from the start. It inverts programatic logic in some cases, but call backs really are the best way to react to asynchronous eventing in software. Gregg Wonderly > On Sep 21, 2016, at 4:25 PM, Benjamin Manes <ben.ma...@gmail.com> wrote: > > My limite

Re: RFR: JDK-8161230 - Create java.util.stream.Stream from Iterator / Enumeration

2016-08-05 Thread Gregg Wonderly
Sent from my iPad > On Aug 4, 2016, at 11:18 PM, Alan Bateman wrote: > >> On 04/08/2016 10:33, Patrick Reinhart wrote: >> >> Hi Paul, >> >> I was quit busy lately and this comes a bit late, I guess you do not have >> less work ;-) >> >> On 15.07.2016 17:10, Paul