sketch of java/lang/ref/*

This commit is contained in:
Joel Dice
2007-07-19 18:18:47 -06:00
parent 32dff71994
commit b213ec0ef8
5 changed files with 93 additions and 0 deletions

View File

@ -0,0 +1,11 @@
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);
}
}