public int addLast ( KTypeContainer < ? extends KType > container ) { int size = container . size ( ) ; ensureBufferSpace ( size ) ; for ( KTypeCursor < ? extends KType > cursor : container ) { addLast ( cursor . value ) ; } return size ; }
Inserts all elements from the given container to the end of this deque .