java - This is a run length encoding program for our partner assignment. -


we trying carry out instruction on javadoc. far have confused index paramter

 * read next run (or single character) , return index of symbol following run (or symbol read).    * store count , symbol run in run parameter.    * @param line - input line being processed    * @param index - index of first character in next "run" (which might single character)    * @param run - store symbol , count run    * @return index of symbol following run read    */   static int getnext(string line, int index, run run) {     line.charat(index); //char first, line     return ?.symbol;//store values     run.count= ?.count; //the given number of specific symbol or repetition     enter code here     run.symbol= ?.symbol; //whatever symbol first see     // completed      return index+1;// make advance starter program doesn't loop infinitely   } } 


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -