corda/classpath/java/lang/ref/PhantomReference.java

16 lines
295 B
Java
Raw Normal View History

2007-07-20 00:18:47 +00:00
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);
}
2007-07-20 01:07:30 +00:00
public T get() {
return null;
}
2007-07-20 00:18:47 +00:00
}