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() |
boolean |
isNull()
Tells whether the current value is
null . |
MutableReference |
set(T value)
Sets the value as given.
|
String |
toString() |
public MutableReference()
null
value.public MutableReference(T value)
public T get()
public boolean isNull()
null
.public MutableReference set(T value)
Copyright © 2023 Hazelcast, Inc.. All rights reserved.