public DoubleBuffer put(double[] src,int srcOffset,int doubleCount){
  Arrays.checkOffsetAndCount(src.length,srcOffset,doubleCount);
  if (doubleCount > remaining()) {
    throw new BufferOverflowException();
  }
  for (int i=srcOffset; i < srcOffset + doubleCount; ++i) {
    put(src[i]);
  }
  return this;
}

public DoubleBuffer put ( double [ ] src , int srcOffset , int doubleCount ) { Arrays . checkOffsetAndCount ( src . length , srcOffset , doubleCount ) ; if ( doubleCount > remaining ( ) ) { throw new BufferOverflowException ( ) ; } for ( int i = srcOffset ; i < srcOffset + doubleCount ; ++ i ) { put ( src [ i ] ) ; } return this ; }
writes doubles from the given double array , starting from the specified offset , to the current position and increases the position by the number of doubles written .
