Hi All:

When I use APIs like StatUtils.mean() I have to write:

StatUtils.mean(new double[]{ var1, var2, var2});

instead of:

StatUtils.mean(var1, var2, var2);

Are there any objections to changing the API sigs from foo(double[] values)
to foo(double... values) ?

This would not be possible for APIs like mean(double, int, int) but it's a
start at least.


Gary
-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to