OpenText Interview Question

How hashmap can be synchronized?