Something like this:

```scala
  val xs = Collections.newSetFromMap[Long](new ConcurrentHashMap[Long, String])
```