src/file_handling/SimulationType.java
protected Map<String, String> createDataMap(Map<String, String> values){
		HashMap<String, String> map = new HashMap<String, String>();
		
		for(String tag: this.dataTypes){
			if(!tag.equals(CELLS)){ //Cells must be handled separately
				if(values.containsKey(tag)){
					map.put(tag, values.get(tag));
				}else{
					map.put(tag, this.dataDefaults.get(tag));
				}
			}
		}
		return map;
	}
/**
	 * Creates a map for the Simulation's data, using default values when parameters aren't passed in.
	 * 
	 * @return Map containing the Simulation's data.
	 */
Creates a map for the Simulation's data, using default values when parameters aren't passed in.

@return Map containing the Simulation's data.
Creates a map for the Simulation ' s data using default values when parameters aren ' t passed in . @return Map containing the Simulation ' s data .
protected Map<String, String> createDataMap(Map<String, String> values){
		HashMap<String, String> map = new HashMap<String, String>();
		for(String tag: this.dataTypes){
			if(!tag.equals(CELLS)){ 
				if(values.containsKey(tag)){
					map.put(tag, values.get(tag));
				}else{
					map.put(tag, this.dataDefaults.get(tag));
				}
			}
		}
		return map;
	}
protected Map < String , String > createDataMap ( Map < String , String > values ) { HashMap < String , String > map = new HashMap < String , String > ( ) ; for ( String tag : this . dataTypes ) { if ( ! tag . equals ( CELLS ) ) { if ( values . containsKey ( tag ) ) { map . put ( tag , values . get ( tag ) ) ; } else { map . put ( tag , this . dataDefaults . get ( tag ) ) ; } } } return map ; }
Creates a map for the Simulation's data, using default values when parameters aren't passed in.
Creates a map for the Simulation ' s data using default values when parameters aren ' t passed in .
//Cells must be handled separately