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

com.almworks.jira.structure.api.util.Ref Maven / Gradle / Ivy

The newest version!
package com.almworks.jira.structure.api.util;

/**
 * A simple value holder, used to provide outgoing parameters. Similar to AtomicReference, but without the volatile modifier.
 *
 * todo To be merged with Ref introduced in a parallel PR
 */
public class Ref {
  public T value;

  public Ref() {}

  public Ref(T value) {
    this.value = value;
  }

  @Override
  public String toString() {
    return String.valueOf(value);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy