public class ImmutableReference<T>
extends java.lang.Object
null).| Constructor and Description |
|---|
ImmutableReference(T referent)
Create a new ImmutableReference.
|
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Gets the wrapped object, if there is one.
|
public ImmutableReference(T referent)
referent - the object to refer to, or nullpublic T get()
null if
null was passed to the constructorCopyright © 1998-2020 Red Hat. All Rights Reserved.