experience trying out lambda-8-b74

Brian Goetz brian.goetz at oracle.com
Mon Jan 28 06:40:01 PST 2013


> Wouldn't it be better also for
> the stream-factory methods to throw UncheckedIOException and for
> CloseableStream.close() to also throw UncheckedIOException (that means,
> only inheriting from AutoCloseable, not Closeable and co-variant-ly
> redefining the throws declaration):
>
> public interface CloseableStream<T> extends Stream<T>, AutoCloseable {

Already there :)


More information about the lambda-dev mailing list