mirror of
https://github.com/corda/corda.git
synced 2025-01-04 04:04:27 +00:00
16 lines
295 B
Java
16 lines
295 B
Java
package java.lang.ref;
|
|
|
|
public class PhantomReference<T> extends Reference<T> {
|
|
public PhantomReference(T target, ReferenceQueue<? super T> queue) {
|
|
super(target, queue);
|
|
}
|
|
|
|
public PhantomReference(T target) {
|
|
this(target, null);
|
|
}
|
|
|
|
public T get() {
|
|
return null;
|
|
}
|
|
}
|