public void refineByAppraisalPercentageRange(int selectedItemPosition){
  int lowest;
  int highest;
switch (selectedItemPosition) {
case 1:
    lowest=81;
  highest=100;
break;
case 2:
lowest=66;
highest=80;
break;
case 3:
lowest=51;
highest=65;
break;
case 4:
lowest=0;
highest=50;
break;
default :
lowest=0;
highest=100;
}
ArrayList<IVCombination> refinedList=new ArrayList<>();
for (IVCombination comb : iVCombinations) {
if (comb.percentPerfect >= lowest && comb.percentPerfect <= highest) {
refinedList.add(comb);
}
}
iVCombinations=refinedList;
}

public void refineByAppraisalPercentageRange ( int selectedItemPosition ) { int lowest ; int highest ; switch ( selectedItemPosition ) { case 1 : lowest = 81 ; highest = 100 ; break ; case 2 : lowest = 66 ; highest = 80 ; break ; case 3 : lowest = 51 ; highest = 65 ; break ; case 4 : lowest = 0 ; highest = 50 ; break ; default : lowest = 0 ; highest = 100 ; } ArrayList < IVCombination > refinedList = new ArrayList < > ( ) ; for ( IVCombination comb : iVCombinations ) { if ( comb . percentPerfect >= lowest && comb . percentPerfect <= highest ) { refinedList . add ( comb ) ; } } iVCombinations = refinedList ; }
removes any iv combination that is outside the scope of the input percentage range . 1 : 81 - 100 % 2 : 66 - 80 % 3 : 51 - 65 % 4 : 0 - 50 %
