T
- referenced object typepublic class MutableReference<T> extends Object
Constructor and Description |
---|
MutableReference()
Creates a new instance with a
null value. |
MutableReference(T value)
Creates a new instance with the specified value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
T |
get()
Returns the current value.
|
int |
hashCode() |
MutableReference |
set(T value)
Sets the value as given.
|
String |
toString() |
public MutableReference()
null
value.public MutableReference(T value)
public T get()
public MutableReference set(T value)
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.