corda/classpath/java/lang/ref/PhantomReference.java
2007-07-19 19:07:30 -06:00

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;
}
}