Which is equivalent:
AtomicReference<SomeClass> ref = new AtomicReference<SomeClass>( ... );
but without the cost of synchronization. Note that I want to wrap the link inside another object.
I looked at classes extending the abstract abstract class, but I lost a little among all the options.
I need something really simple, not weak and phantom, as well as all other links except one. Which class should I use?
source share