RFC: draft API for JEP 269 Convenience Collection Factories

Stephen Colebourne scolebourne at joda.org
Wed Oct 14 10:39:09 UTC 2015


On 14 October 2015 at 10:38, Paul Sandoz <paul.sandoz at oracle.com> wrote:
>> On 14 Oct 2015, at 06:18, Stuart Marks <stuart.marks at oracle.com> wrote:
>> I'm not entirely sure what to take from this. If it were clearly exponential, we could say with confidence that above a certain threshold there would be vanishingly little benefit adding more arguments. But since the curve seems to flatten out, maybe this is pushing us to add more pairs than we had originally thought. The current draft API has 8 pairs; that seems to leave a few percent of cases on the table. Obviously we can't get to 100%, but is 97% good enough?

I'd say 5 is definitely too little, without an easy builder fallback
(as Guava provides). I'd say the right number is between 8 and 10.

Stephen



More information about the core-libs-dev mailing list