duplicate all the items in a bag . concode_field_sep int numberOfEntries concode_elem_sep int DEFAULT_CAPACITY concode_elem_sep T[] bag concode_elem_sep int MAX_CAPACITY concode_elem_sep boolean initialized concode_field_sep boolean add concode_elem_sep int getFrequencyOf concode_elem_sep T removeEntry concode_elem_sep void checkInitialization concode_elem_sep boolean isEmpty concode_elem_sep void clear concode_elem_sep T remove concode_elem_sep boolean remove concode_elem_sep int getCurrentSize concode_elem_sep void removeDuplicates concode_elem_sep boolean contains concode_elem_sep int getIndexOf concode_elem_sep boolean isArrayFull concode_elem_sep boolean equals concode_elem_sep T[] toArray concode_elem_sep void Sort concode_elem_sep String toString
boolean function ( ) { checkInitialization ( ) ; boolean loc0 = false ; int loc1 = numberOfEntries * 2 ; if ( bag . length >= loc1 ) { int loc2 = numberOfEntries ; int loc3 = 0 ; loc0 = true ; while ( loc2 < loc1 ) { add ( bag [ loc3 ] ) ; loc3 ++ ; loc2 ++ ; } } return loc0 ; }