src/file_handling/XMLParser.java
private void fillSimulationMap(){
		if(POSSIBLE_SIM_STRINGS.length == POSSIBLE_SIM_TYPES.length){  //Provides a check for anybody adding more SimulationTypes
			for(int i = 0; i < POSSIBLE_SIM_STRINGS.length; i++){
				mySimulationMap.put(POSSIBLE_SIM_STRINGS[i], POSSIBLE_SIM_TYPES[i]);
			}
		} else {
			throw new XMLException(myResources.getString("FinalsIncorrect"));
		}
	}
/**
	 * Fills mySimulationMap, mapping a String representing each possible SimulationType
	 * to an instance of that SimulationType.
	 */
Fills mySimulationMap, mapping a String representing each possible SimulationType
to an instance of that SimulationType.
Fills mySimulationMap mapping a String representing each possible SimulationType to an instance of that SimulationType .
private void fillSimulationMap(){
		if(POSSIBLE_SIM_STRINGS.length == POSSIBLE_SIM_TYPES.length){  
			for(int i = 0; i < POSSIBLE_SIM_STRINGS.length; i++){
				mySimulationMap.put(POSSIBLE_SIM_STRINGS[i], POSSIBLE_SIM_TYPES[i]);
			}
		} else {
			throw new XMLException(myResources.getString("FinalsIncorrect"));
		}
	}
private void fillSimulationMap ( ) { if ( POSSIBLE_SIM_STRINGS . length == POSSIBLE_SIM_TYPES . length ) { for ( int i = 0 ; i < POSSIBLE_SIM_STRINGS . length ; i ++ ) { mySimulationMap . put ( POSSIBLE_SIM_STRINGS [ i ] , POSSIBLE_SIM_TYPES [ i ] ) ; } } else { throw new XMLException ( myResources . getString ( "FinalsIncorrect" ) ) ; } }
Fills mySimulationMap, mapping a String representing each possible SimulationType
 to an instance of that SimulationType.
Fills mySimulationMap mapping a String representing each possible SimulationType to an instance of that SimulationType .
//Provides a check for anybody adding more SimulationTypes