/* Generate Distribution of Ratios in Registry */ for (String it : registry_ratios) { String[] temparray; temparray = it.split("\t"); if(temparray.length == 3 && temparray[2] != null) { double ratio = Double.parseDouble(temparray[2]); if(ratio >= 0 && ratio < 50000) { zero_fifty++; } else if(ratio >= 50000 && ratio < 100000) { fifty_hundred++; } else if(ratio >= 100000) { hundred_plus++; } } if(temparray.length == 4 && temparray[3] != null) { double quadrant = Double.parseDouble(temparray[3]); if(quadrant == 4) { cost_saving++; } else if(quadrant == 1) { dominated++; } } } /* Add the Distribution results to the ArrayList */ distribution_registry.add(cost_saving); distribution_registry.add(zero_fifty); distribution_registry.add(fifty_hundred); distribution_registry.add(hundred_plus); distribution_registry.add(dominated);