"void" // 0 byte
};
-
+
/**
* Primitive data types in C++ to map the primitives list
*/
map.put(arrKey[i], arrVal[i]);
}
}
+
+ // Inserting array members into a Map object
+ // that maps arrKey to arrVal objects
+ public static void arraysToMap(Map<Object,Object> map, Object[] arrKey, Object[] arrVal) {
+
+ for(int i = 0; i < arrKey.length; i++) {
+
+ map.put(arrKey[i], arrVal[i]);
+ }
+ }
}