Here you can find the source of maxJoinArray(float[] array1, float[] array2)
public static float[] maxJoinArray(float[] array1, float[] array2)
//package com.java2s; //License from project: Open Source License public class Main { public static float[] maxJoinArray(float[] array1, float[] array2) { float[] result = new float[array1.length]; if (array1.length != array2.length) return result; for (int i = 0; i < array1.length; i++) result[i] = Math.max(array1[i], array2[i]); return result; }/*from www . j a v a 2 s . c om*/ }