Package graphql.util
Class MutableRef<T>
java.lang.Object
graphql.util.MutableRef<T>
- Type Parameters:
T
- for two
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 an
AtomicReference
to gain mutability. Use this very carefully - Its not expected to be commonly used.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
value
-
-
Constructor Details
-
MutableRef
public MutableRef()
-