void function ( ) { stepsDone ++ ; int loc0 = ( int ) ( 100 * stepsDone / numberOfSteps ) ; if ( loc0 > 100 ) loc0 = 100 ; while ( loc0 > percent ) { percent ++ ; System . out . print ( '|' ) ; } if ( loc0 == 100 && ! isFinished ) { System . out . println ( "srini_string" ) ; isFinished = Boolean . TRUE ; } }
updates the progress bar concode_field_sep long stepsDone concode_elem_sep long percent concode_elem_sep long numberOfSteps concode_elem_sep boolean isFinished concode_field_sep void reset