Closed tmtron closed 7 years ago
Can we change the builder.add method to accept VarArgs?
I'd prefer to add a method rather than change the existing one, to ensure (binary) compatibility with existing clients.
BTW: Is there a reason why you use explicit boxing of integer types in your tests?
It's habit, really. I work with a lot of code that has soft-realtime requirements (r2, etc) and so my IDE is configured to ensure that boxing is explicit. Makes it clear when code might conceivably create garbage.
Can we change the builder.add method to accept VarArgs?
So instead of
we can additionally use:
e.g. In a branch of my fork, I've implemented it for
Set
: see this changesetBTW: Is there a reason why you use explicit boxing of integer types in your tests?