@Override int fill(double[] values, int valueOffset, int typeCode, int skipCount) { int fillcount = values.length - valueOffset; // space left in values int maxCount = count - skipCount; // maximum values this interval can produce if (fillcount > maxCount) { fillcount = maxCount; } for (int i=0; i < fillcount; i++) { values[valueOffset+i] = bitsToDouble(typeCode, bitArray[skipCount+i]); } return fillcount; }
@Override int fill(double[] values, int valueOffset, int typeCode, int skipCount) { int fillcount = values.length - valueOffset; // space left in values int maxCount = count - skipCount; // maximum values this interval can produce if (fillcount > maxCount) { fillcount = maxCount; } for (int i=0; i < fillcount; i++) { values[valueOffset+i] = bitsToDouble(typeCode, bitArray[skipCount+i]); } return fillcount; }
@Override int fill(double[] values, int valueOffset, int typeCode, int skipCount) { int fillcount = values.length - valueOffset; // space left in values int maxCount = count - skipCount; // maximum values this interval can produce if (fillcount > maxCount) { fillcount = maxCount; } long bitValue = firstValue; for (int i=0; i < skipCount; i++) { bitValue += bitIntervals[i]; } for (int i=0; i < fillcount; i++) { bitValue += bitIntervals[skipCount+i]; values[valueOffset+i] = bitsToDouble(typeCode, bitValue); } return fillcount; }
@Override int fill(double[] values, int valueOffset, int typeCode, int skipCount) { int fillcount = values.length - valueOffset; // space left in values int maxCount = count - skipCount; // maximum values this interval can produce if (fillcount > maxCount) { fillcount = maxCount; } long bitValue = firstValue; for (int i=0; i < skipCount; i++) { bitValue += bitIntervals[i]; } for (int i=0; i < fillcount; i++) { bitValue += bitIntervals[skipCount+i]; values[valueOffset+i] = bitsToDouble(typeCode, bitValue); } return fillcount; }
@Override int fill(double[] values, int valueOffset, int typeCode, int skipCount) { int fillcount = values.length - valueOffset; // space left in values int maxCount = count - skipCount; // maximum values this interval can produce if (fillcount > maxCount) { fillcount = maxCount; } long bitValue = firstValue; for (int i=0; i < skipCount; i++) { bitValue += bitIntervals[i]; } for (int i=0; i < fillcount; i++) { bitValue += bitIntervals[skipCount+i]; values[valueOffset+i] = bitsToDouble(typeCode, bitValue); } return fillcount; }
@Override int fill(double[] values, int valueOffset, int typeCode, int skipCount) { int fillcount = values.length - valueOffset; // space left in values int maxCount = count - skipCount; // maximum values this interval can produce if (fillcount > maxCount) { fillcount = maxCount; } long bitValue = firstValue; for (int i=0; i < skipCount; i++) { bitValue += bitIntervals[i]; } for (int i=0; i < fillcount; i++) { bitValue += bitIntervals[skipCount+i]; values[valueOffset+i] = bitsToDouble(typeCode, bitValue); } return fillcount; }
@Override int fill(double[] values, int valueOffset, int typeCode, int skipCount) { int fillcount = values.length - valueOffset; // space left in values int maxCount = count - skipCount; // maximum values this interval can produce if (fillcount > maxCount) { fillcount = maxCount; } long bitValue = firstValue; for (int i=0; i < skipCount; i++) { bitValue += bitIntervals[i]; } for (int i=0; i < fillcount; i++) { bitValue += bitIntervals[skipCount+i]; values[valueOffset+i] = bitsToDouble(typeCode, bitValue); } return fillcount; }
@Override int fill(double[] values, int valueOffset, int typeCode, int skipCount) { int fillcount = values.length - valueOffset; // space left in values int maxCount = count - skipCount; // maximum values this interval can produce if (fillcount > maxCount) { fillcount = maxCount; } long bitValue = firstValue; for (int i=0; i < skipCount; i++) { bitValue += bitIntervals[i]; } for (int i=0; i < fillcount; i++) { bitValue += bitIntervals[skipCount+i]; values[valueOffset+i] = bitsToDouble(typeCode, bitValue); } return fillcount; }
@Override int fill(double[] values, int valueOffset, int typeCode, int skipCount) { int fillcount = values.length - valueOffset; // space left in values int maxCount = count - skipCount; // maximum values this interval can produce if (fillcount > maxCount) { fillcount = maxCount; } double value = bitsToDouble(typeCode, getBits()); for (int i=0; i < fillcount; i++) { values[valueOffset+i] = value; } return fillcount; }
@Override int fill(double[] values, int valueOffset, int typeCode, int skipCount) { int fillcount = values.length - valueOffset; // space left in values int maxCount = count - skipCount; // maximum values this interval can produce if (fillcount > maxCount) { fillcount = maxCount; } double value = bitsToDouble(typeCode, getBits()); for (int i=0; i < fillcount; i++) { values[valueOffset+i] = value; } return fillcount; }
@Override int fill(double[] values, int valueOffset, int typeCode, int skipCount) { int fillcount = values.length - valueOffset; // space left in values int maxCount = count - skipCount; // maximum values this interval can produce if (fillcount > maxCount) { fillcount = maxCount; } long base = getBits(); long interval = getInterval(); base += skipCount * interval; for (int i=0; i < fillcount; i++) { values[valueOffset+i] = bitsToDouble(typeCode, base); base += interval; } return fillcount; }
@Override int fill(double[] values, int valueOffset, int typeCode, int skipCount) { int fillcount = values.length - valueOffset; // space left in values int maxCount = count - skipCount; // maximum values this interval can produce if (fillcount > maxCount) { fillcount = maxCount; } long base = getBits(); long interval = getInterval(); base += skipCount * interval; for (int i=0; i < fillcount; i++) { values[valueOffset+i] = bitsToDouble(typeCode, base); base += interval; } return fillcount; }