Stream vs BaseStream

Brian Goetz brian.goetz at
Mon Feb 4 09:16:44 PST 2013

Stream <: BaseStream
IntStream <: BaseStream

but IntStream is NOT a subtype of Stream<Integer>.

On 2/4/2013 11:55 AM, Paul Benedict wrote:
> For any API designers out there, what is the deal with Stream and
> BaseStream? My OOAD skills say Stream should naturally be the "base"
> abstraction .. so what is so "base" about BaseStream then that Stream
> cannot fulfill?
> Paul

More information about the lambda-dev mailing list