On Thu, 14 Mar 2019 at 19:45, Brian Goetz <brian.go...@oracle.com> wrote: > Why not make `Iterator` implement `IterableOnce`? The default method > would obviously just return `this`. > > Such a default would not conform to the contract, as IO requires that > subsequent calls throw.
IterableOnce.wrap(iterator) ? Not providing some kind of connection between these types will look pretty silly I think. Stephen