@Test public void testGetValueIndexInArray() { assertEquals(1, SpikeInterpolation.arrayIndex(useAr, 1.3)); assertEquals(3, SpikeInterpolation.arrayIndex(useAr, 2)); }
static int arrayIndex(double[] values, double val) { return Doubles.asList(values).indexOf(val); }
SpikeInterpolation { static int arrayIndex(double[] values, double val) { return Doubles.asList(values).indexOf(val); } }
SpikeInterpolation { static int arrayIndex(double[] values, double val) { return Doubles.asList(values).indexOf(val); }  }
SpikeInterpolation { static int arrayIndex(double[] values, double val) { return Doubles.asList(values).indexOf(val); }   }
SpikeInterpolation { static int arrayIndex(double[] values, double val) { return Doubles.asList(values).indexOf(val); }    }