T
public final class Reference<T> extends Object
static <V> Reference<V>
borrowed(V value)
deref()
boolean
isOwned()
Optional<T>
owned()
owned(V value)
String
toString()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public T deref()
public Optional<T> owned()
public boolean isOwned()
public String toString()
toString
Object
public static <V> Reference<V> owned(V value)
public static <V> Reference<V> borrowed(V value)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.