I have this piece of code:
AtomicReference> atomicStrings = new AtomicReference<>(); atomicStrings.set(someFunc()); Thread.slee