src/file_handling/SimulationType.java
protected List<String> createCellList(List<String> data){
		if(getCellData().size() > 0){  //If given cell data is invalid, then the default cell data will be used
			return data;
		}else{
			CellDataGenerator gen = new CellDataGenerator(defaultCellData, this.getDimension());
			CellDataDecoder dec = new CellDataDecoder(gen);
			return dec.decodeData(DEFAULT_CELL_TYPE);
		}		
	}
/**
	 * Takes the raw cell data from the file and uses a CellDataGenerator
	 * and CellDataDecoder to translate it to location-based data that
	 * SimulationTypes can use.
	 * 
	 * @param data - Raw cell data from file
	 * @return List of cell data strings formatted as an x-coordinate, y-coordinate, and cell type
	 */
Takes the raw cell data from the file and uses a CellDataGenerator
and CellDataDecoder to translate it to location-based data that
SimulationTypes can use.

@param data - Raw cell data from file
@return List of cell data strings formatted as an x-coordinate, y-coordinate, and cell type
Takes the raw cell data from the file and uses a CellDataGenerator and CellDataDecoder to translate it to location - based data that SimulationTypes can use . @param data - Raw cell data from file @return List of cell data strings formatted as an x - coordinate y - coordinate and cell type
protected List<String> createCellList(List<String> data){
		if(getCellData().size() > 0){  
			return data;
		}else{
			CellDataGenerator gen = new CellDataGenerator(defaultCellData, this.getDimension());
			CellDataDecoder dec = new CellDataDecoder(gen);
			return dec.decodeData(DEFAULT_CELL_TYPE);
		}		
	}
protected List < String > createCellList ( List < String > data ) { if ( getCellData ( ) . size ( ) > 0 ) { return data ; } else { CellDataGenerator gen = new CellDataGenerator ( defaultCellData , this . getDimension ( ) ) ; CellDataDecoder dec = new CellDataDecoder ( gen ) ; return dec . decodeData ( DEFAULT_CELL_TYPE ) ; } }
Takes the raw cell data from the file and uses a CellDataGenerator
 and CellDataDecoder to translate it to location-based data that
 SimulationTypes can use.
Takes the raw cell data from the file and uses a CellDataGenerator and CellDataDecoder to translate it to location - based data that SimulationTypes can use .
//If given cell data is invalid, then the default cell data will be used