void function ( T arg0 ) { if ( position >= max ) { position = 0 ; haveOverflow = true ; } if ( circularArray . size ( ) > position ) { circularArray . remove ( position ) ; } circularArray . add ( position , arg0 ) ; position ++ ; }
add an entry concode_field_sep List<T> circularArray concode_elem_sep int max concode_elem_sep int position concode_elem_sep boolean haveOverflow concode_field_sep int size concode_elem_sep String toString