AtomicReference introduced

AtomicReference (and the Atomic* classes for primitive values) is useful to modify variables within lambdas/inner classes, to avoid side-effects which might be introduced when employing fields.