text: public static DoubleBuffer wrap(double[] array, int start, int doubleCount) {Arrays.checkOffsetAndCount(array.length, start, doubleCount);DoubleBuffer buf = new ReadWriteDoubleArrayBuffer(array);buf.position = start;buf.limit = start + doubleCount;return buf;}