public void add ( KType [ ] elements , int start , int length ) { assert length >= 0 : "Length must be >= 0" ; ensureBufferSpace ( length ) ; System . arraycopy ( elements , start , buffer , elementsCount , length ) ; elementsCount += length ; }
Add all elements from a range of given array to the list .