void function ( int arg0 , int arg1 ) { if ( arg1 >= this . elementsCount ) { this . add ( arg0 ) ; return ; } tryGrow ( ) ; for ( int loc0 = this . elementsCount - 1 ; loc0 >= arg1 ; loc0 -- ) { this . array [ loc0 + 1 ] = this . array [ loc0 ] ; } this . array [ arg1 ] = arg0 ; this . elementsCount ++ ; }
inserts an element to the list at specific index . if the index is bigger , then to the count of the elements of the list just add the new element to the end . concode_field_sep int elementsCount concode_elem_sep int REDUCER concode_elem_sep double GROWING_FACTOR concode_elem_sep int[] array concode_elem_sep int INITIAL_SIZE concode_elem_sep int REDUCING_FACTOR concode_field_sep void add concode_elem_sep int getREDUCER concode_elem_sep SequentialList splitAt concode_elem_sep void deleteAt concode_elem_sep void splice concode_elem_sep void tryReduce concode_elem_sep void tryGrow concode_elem_sep int[] getArray concode_elem_sep SequentialList reverse concode_elem_sep int getREDUCING_FACTOR concode_elem_sep SequentialList removeDuplicates concode_elem_sep int getINITIAL_SIZE concode_elem_sep void print concode_elem_sep int size concode_elem_sep int get concode_elem_sep boolean equals concode_elem_sep double getGROWING_FACTOR concode_elem_sep int getElementsCount concode_elem_sep SequentialList copy concode_elem_sep boolean removeElement concode_elem_sep int indexOf