All Downloads are FREE. Search and download functionalities are using the official Maven repository.

graphql.util.MutableRef Maven / Gradle / Ivy

There is a newer version: 230521-nf-execution
Show newest version
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