/** * Takes the given value and puts it in each position in the 'values' array. * @param value */ private void setValue(double value) { this.m_value = value; long[] times = getTimestamps(); if( times != null ) { int count = times.length; double[] values = new double[count]; for (int i = 0; i < count; i++) { values[i] = m_value; } setValues(values); } }