add new elements to this bag . if the new elements would take this bag beyond its current capacity , then the capacity is increased before adding the new elements . concode_field_sep int[] data concode_elem_sep int manyItems concode_field_sep void add concode_elem_sep int countOccurrences concode_elem_sep void trimToSize concode_elem_sep int size concode_elem_sep void addAll concode_elem_sep IntArrayBag clone concode_elem_sep void ensureCapacity concode_elem_sep IntArrayBag union concode_elem_sep boolean remove concode_elem_sep int getCapacity
void function ( int ... arg0 ) { if ( manyItems + arg0 . length > data . length ) { ensureCapacity ( ( manyItems + arg0 . length ) * 2 ) ; } System . arraycopy ( arg0 , 0 , data , manyItems , arg0 . length ) ; manyItems += arg0 . length ; }