The world doesn't change, we change

  • 14
  • Locked
Analyze ConcurrentHashMap. In a separate file, create a Producer class that will: 1. every half second, add a key and value to a ConcurrentHashMap, where the key is the counter starting from 1, and the value is a phrase like "Some text for i", e.g. "Some text for 1".
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
dnlklnhfr
Level 30 , Karlsruhe, Germany
25 July 2020, 10:46
Hint: Although 2.) says "the value is a phrase like "Some text for i", e.g. "Some text for 1"." the validator actually only accepts exactly this phrase.