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

com.github.simonharmonicminor.juu.collection.mutable.MutableValue Maven / Gradle / Ivy

There is a newer version: 1.2
Show newest version
package com.github.simonharmonicminor.juu.collection.mutable;

/**
 * Container which allows to hold a value and change it if necessary
 *
 * @param  the type of the value
 * @see MutableBoolean
 * @see MutableByte
 * @see MutableChar
 * @see MutableDouble
 * @see MutableFloat
 * @see MutableInt
 * @see MutableLong
 * @see MutableShort
 */
public class MutableValue {
    private T value;

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

    public T getValue() {
        return value;
    }

    public void setValue(T value) {
        this.value = value;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy