static L syncMap(O f, Map map) {
ret syncMap(map, f);
}
// map: func(key, value) -> list element
static L syncMap(Map map, O f) {
ret map(cloneLinkedHashMap(map), f); // TODO: use a temporary list instead
}
static Map syncMap() {
ret synchroHashMap();
}
static Map syncMap(Map map) {
ret synchronizedMap(map);
}