public ShortBuffer put(short[] src, int srcOffset, int shortCount) {Arrays.checkOffsetAndCount(src.length, srcOffset, shortCount);if (shortCount > remaining()) {throw new BufferOverflowException();}for (int i = srcOffset; i < srcOffset + shortCount; ++i) {put(src[i]);}return this;}
public virtual java.nio.ShortBuffer put(short[] src, int srcOffset, int shortCount){java.util.Arrays.checkOffsetAndCount(src.Length, srcOffset, shortCount);if (shortCount > remaining()){throw new java.nio.BufferOverflowException();}{for (int i = srcOffset; i < srcOffset + shortCount; ++i){put(src[i]);}}return this;}