Example #1
0
 /**
  * Utility method to split the list into two
  *
  * @param left : Starting index for split
  * @param right : Ending index for the split
  * @return : Returns an object of the BigArithmetic class with the list split
  */
 public G05_BigArithmetic split(int left, int right) {
   G05_BigArithmetic temp = new G05_BigArithmetic();
   for (int i = left; i < right; i++) {
     temp.number.add(this.number.get(i));
   }
   temp.effectiveSize = temp.number.size();
   return temp;
 }