/[classpath]/classpath/java/lang/ref/Reference.java
ViewVC logotype

Diff of /classpath/java/lang/ref/Reference.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by mark, Sat Jul 2 20:32:39 2005 UTC revision 1.8 by tromey, Tue Sep 13 22:19:15 2005 UTC
# Line 68  package java.lang.ref; Line 68  package java.lang.ref;
68   * work.  It is useful to keep track, when an object is finalized.   * work.  It is useful to keep track, when an object is finalized.
69   *   *
70   * @author Jochen Hoenicke   * @author Jochen Hoenicke
71   * @see java.util.WeakHashtable   * @see java.util.WeakHashMap
72   */   */
73  public abstract class Reference  public abstract class Reference
74  {  {
# Line 104  public abstract class Reference Line 104  public abstract class Reference
104     * Creates a new reference that is not registered to any queue.     * Creates a new reference that is not registered to any queue.
105     * Since it is package private, it is not possible to overload this     * Since it is package private, it is not possible to overload this
106     * class in a different package.       * class in a different package.  
107     * @param referent the object we refer to.     * @param ref the object we refer to.
108     */     */
109    Reference(Object ref)    Reference(Object ref)
110    {    {
# Line 115  public abstract class Reference Line 115  public abstract class Reference
115     * Creates a reference that is registered to a queue.  Since this is     * Creates a reference that is registered to a queue.  Since this is
116     * package private, it is not possible to overload this class in a     * package private, it is not possible to overload this class in a
117     * different package.       * different package.  
118     * @param referent the object we refer to.     * @param ref the object we refer to.
119     * @param q the reference queue to register on.     * @param q the reference queue to register on.
120     * @exception NullPointerException if q is null.     * @exception NullPointerException if q is null.
121     */     */

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26