objectintmap putall
There are still a few classes that need these such as intmap but im just adding them as i find the need for them
@@ -148,6 +148,12 @@ public class ObjectIntMap<K> implements Iterable<ObjectIntMap.Entry<K>>{
put(entry.key, entry.value);
}
+ public void putAll(Object... values){
+ for(int i = 0; i < values.length / 2; i++){
+ put((K)values[i * 2], (int)values[i * 2 + 1]);
+ }
+ }
+
/** Skips checks for existing keys. */
private void putResize(K key, int value){
// Check for empty buckets.
