public class MutableObject<T>
extends java.lang.Object
Constructor and Description |
---|
MutableObject(T mutable)
Creates a new MutableObject
|
Modifier and Type | Method and Description |
---|---|
static <T> MutableObject<T> |
create(T mutable)
Creates a new MutableObject
|
boolean |
equals(java.lang.Object obj) |
T |
get() |
int |
hashCode() |
void |
set(T mutableObject) |
java.lang.String |
toString() |
public MutableObject(T mutable)
mutable
- public static <T> MutableObject<T> create(T mutable)
mutable
- public void set(T mutableObject)
public T get()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object