src/file_handling/CellDataGenerator.java
public List<String> generatePercentageData(){
		List<String> midList = new ArrayList<String>();
		
		for(String data: cellData){
			String[] splitData = data.split(" ");			
			midList.add(percentToNumber(splitData[0]) + " " + splitData[1]);
		}
		
		return generateNumberData(midList);
	}
/**
	 * Generates a list of Cells and their location given
	 * a Cell type and the percentage of the grid that cell
	 * should fill.
	 * Assumes percentage of cell comes first, then cell type.
	 * 
	 * To prevent duplication of code, the percentage data is
	 * converted to number data, then passed to generateNumberData.
	 * 
	 * @return List of cell locations and states
	 */
Generates a list of Cells and their location given
a Cell type and the percentage of the grid that cell
should fill.
Assumes percentage of cell comes first, then cell type.

To prevent duplication of code, the percentage data is
converted to number data, then passed to generateNumberData.

@return List of cell locations and states
Generates a list of Cells and their location given a Cell type and the percentage of the grid that cell should fill . Assumes percentage of cell comes first then cell type . To prevent duplication of code the percentage data is converted to number data then passed to generateNumberData . @return List of cell locations and states
public List<String> generatePercentageData(){
		List<String> midList = new ArrayList<String>();
		for(String data: cellData){
			String[] splitData = data.split(" ");			
			midList.add(percentToNumber(splitData[0]) + " " + splitData[1]);
		}
		return generateNumberData(midList);
	}
public List < String > generatePercentageData ( ) { List < String > midList = new ArrayList < String > ( ) ; for ( String data : cellData ) { String [ ] splitData = data . split ( " " ) ; midList . add ( percentToNumber ( splitData [ 0 ] ) + " " + splitData [ 1 ] ) ; } return generateNumberData ( midList ) ; }
Generates a list of Cells and their location given
 a Cell type and the percentage of the grid that cell
 should fill.
Generates a list of Cells and their location given a Cell type and the percentage of the grid that cell should fill .