You could use an AtomicReference<T> instead. There is a closed issue in Guava where someone asked for something similar to apache commons' MutableObject, but they declined because they found AtomicReference to not be "*that* much slower" than a non-atomic mutable reference.

That said, if you don't want to use AtomicReference, I think Container should be renamed MutableReference or something a little more clear than Container