T
- type of the valuepublic final class Reference<T> extends Object
Modifier and Type | Method and Description |
---|---|
static <V> Reference<V> |
borrowed(V value) |
T |
deref() |
boolean |
isOwned() |
Optional<T> |
owned()
Returns the value if it is owned.
|
static <V> Reference<V> |
owned(V value) |
String |
toString() |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.