index.js
function createMatchplan(matchPlanArr, encounters, matchDetails) {
    var matchPlan = new Matchplan();
    matchPlanArr.forEach(function(currentValue, index, array) {
        matchplanEntry = new MatchplanEntry(currentValue, null, encounters[index], null, matchDetails[index]);
        matchPlan.addEntry(matchplanEntry);
    });
	return matchPlan;
}
function createMatchplan(matchPlanArr, encounters, matchDetails) {
    var matchPlan = new Matchplan();
    matchPlanArr.forEach(function(currentValue, index, array) {
        matchplanEntry = new MatchplanEntry(currentValue, null, encounters[index], null, matchDetails[index]);
        matchPlan.addEntry(matchplanEntry);
    });
	return matchPlan;
}
function createMatchplan ( matchPlanArr , encounters , matchDetails ) { var matchPlan = new Matchplan ( ) ; matchPlanArr . forEach ( function ( currentValue , index , array ) { matchplanEntry = new MatchplanEntry ( currentValue , null , encounters [ index ] , null , matchDetails [ index ] ) ; matchPlan . addEntry ( matchplanEntry ) ; } ) ; return matchPlan ; }
Create the match plan.

@param {String[]} matchPlanArr
@param {Encounter[]} encounters
@param {URL[]} matchDetails
@returns {Matchplan}
Create the match plan .