![JAR search and dependency download from the Maven repository](/logo.png)
com.github.simonharmonicminor.juu.collection.mutable.MutableValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-useful-utils Show documentation
Show all versions of java-useful-utils Show documentation
Just some useful utils for everyday coding
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