removed duplicate merge

This commit is contained in:
Cameron Taylor 2024-04-04 05:37:48 -04:00
parent 8f3406cb0e
commit 64cab4d137
1 changed files with 0 additions and 12 deletions

View File

@ -33,18 +33,6 @@ class MapTools
return map.copy();
}
public static function merge<K, T>(a:Map<K, T>, b:Map<K, T>):Map<K, T>
{
var result = a.copy();
for (pair in b.keyValueIterator())
{
result.set(pair.key, pair.value);
}
return result;
}
/**
* Create a new map which is a combination of the two given maps.
* @param a The base map.