E
- The type of the boxed itempublic class StrongReference<E> extends Object
Constructor and Description |
---|
StrongReference(E val)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
E |
getValue()
Retrieves the stored value
|
StrongReference<E> |
setValue(E val)
Sets the stored value
|
public StrongReference(E val)
val
- The value to setpublic E getValue()
public StrongReference<E> setValue(E val)
val
- The value to setStrongReference
instance (chained)Copyright © 2015. All rights reserved.