Would it make sense to add a new constructor to java.io.SequenceInputStream?

David Alayachew davidalayachew at gmail.com
Thu Oct 17 03:47:52 UTC 2024


Hello Core Libs Dev Team,

Currently, java.io.SequenceInputStream only has 2 constructors -- one that
takes in 2 instances of InputStream, and another that takes in an
Enumeration of type InputStream.

Would it make sense to add a third constructor that takes in multiple
instances of InputStream? I don't know if a list, an array, varargs, etc
makes more sense. But I would think a 3rd constructor would improve this
API.

Thank you for your time and help.
David Alayachew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20241016/5087f1b3/attachment.htm>


More information about the core-libs-dev mailing list