Sunday, February 5, 2012


On the previous article, I've talked about AtomicInteger and AtomicLong.
Now I'm going to show you another Atomic object that can ben used independently of the type of the object, taking advantage of Java Generics: AtomicReference.
AtomicReference is also used for an object that may be updated atomically, but this time the object is generic.

No comments:

Post a Comment