Package graphql.util
Class MutableRef<T>
- java.lang.Object
-
- graphql.util.MutableRef<T>
-
- Type Parameters:
T
- for two
public class MutableRef<T> extends java.lang.Object
This class is useful for creating a mutable reference to a variable that can be changed when you are in an effectively final bit of code. Its more performant than anAtomicReference
to gain mutability. Use this very carefully - Its not expected to be commonly used.
-
-
Constructor Summary
Constructors Constructor Description MutableRef()
-
-
-
Field Detail
-
value
public T value
-
-