public class Holder<T> extends Object
| Constructor and Description |
|---|
Holder()
Constructs a new Holder with null instance.
|
Holder(T value)
Constructs a new Holder.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getValue()
Get the instance reference.
|
void |
setValue(T value)
Set the instance reference.
|
public Holder()
public Holder(T value)
value - the instance or nullCopyright © 2021. All rights reserved.