| 
 | Jadex 0.941 | |||||||||
| 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
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)
object - Object to test equality with.
public int hashCode()
| 
 | Jadex 0.941 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.