Which class implements IdGenerator in a thread-safe manner, so that no threads can get a duplicate id value current access?
Which fragment puts a key/value pair in partList without the responsibility of overwriting an existing key?