[java] Fastest way to set all values of an array?