graphql.util.MutableRef Maven / Gradle / Ivy
package graphql.util;
import graphql.Internal;
/**
* 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 {@link java.util.concurrent.atomic.AtomicReference}
* to gain mutability. Use this very carefully - Its not expected to be commonly used.
*
* @param for two
*/
@Internal
public class MutableRef {
public T value;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy