Class MutableObject<T>
java.lang.Object
edu.internet2.middleware.grouperClientExt.org.apache.commons.lang3.mutable.MutableObject<T>
- Type Parameters:
T
- the type to set and get
- All Implemented Interfaces:
Mutable<T>
,Serializable
A mutable
Object
wrapper.- Since:
- 2.1
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new MutableObject with the default value ofnull
.MutableObject
(T value) Constructs a new MutableObject with the specified value. -
Method Summary
-
Constructor Details
-
MutableObject
public MutableObject()Constructs a new MutableObject with the default value ofnull
. -
MutableObject
Constructs a new MutableObject with the specified value.- Parameters:
value
- the initial value to store
-
-
Method Details
-
getValue
Gets the value. -
setValue
Sets the value. -
equals
Compares this object against the specified object. The result is
true
if and only if the argument is notnull
and is aMutableObject
object that contains the sameT
value as this object. -
hashCode
public int hashCode()Returns the value's hash code or0
if the value isnull
. -
toString
Returns the String value of this mutable.
-