| 
 | Jadex 0.96-beta1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.ref.Reference
java.lang.ref.WeakReference
jadex.util.WeakObject
public final class WeakObject
Weakreference has the disadvantage that it does not support transparent equals() and hashcode() methods. WeakObject provides this support.
| Constructor Summary | |
|---|---|
| WeakObject(Object object)Construct a new reference. | |
| WeakObject(Object obj,
           ReferenceQueue queue)Construct a WeakObject. | |
| Method Summary | |
|---|---|
|  boolean | equals(Object object)Check the equality of an object with this. | 
|  int | hashCode()Return the hash code of the nested object. | 
| Methods inherited from class java.lang.ref.Reference | 
|---|
| clear, enqueue, get, isEnqueued | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public WeakObject(Object object)
object - Object to reference.
public WeakObject(Object obj,
                  ReferenceQueue queue)
obj - Object to reference.queue - Reference queue.| Method Detail | 
|---|
public boolean equals(Object object)
equals in class Objectobject - Object to test equality with.
public int hashCode()
hashCode in class Object| 
 | Jadex 0.96-beta1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.