Searched refs:diffArray (Results 1 – 1 of 1) sorted by relevance
137 double[] diffArray = new double[array.length]; in findClosest() local139 diffArray[i] = Math.abs(value - array[i]); in findClosest()143 if (diffArray[i] < diffArray[index]) { in findClosest()145 if (diffArray[index] == 0) { in findClosest()