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

zmq.util.ValueReference Maven / Gradle / Ivy

The newest version!
package zmq.util;

public class ValueReference
{
    private V value;

    public ValueReference(V value)
    {
        this.value = value;
    }

    public ValueReference()
    {
    }

    public final V get()
    {
        return value;
    }

    public final void set(V value)
    {
        this.value = value;
    }

    @Override
    public String toString()
    {
        return value == null ? "null" : value.toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy