Package jadex.commons.collection
Class WeakEntry<T>
- java.lang.Object
-
- java.lang.ref.Reference<T>
-
- java.lang.ref.WeakReference<T>
-
- jadex.commons.collection.WeakObject<T>
-
- jadex.commons.collection.WeakEntry<T>
-
public class WeakEntry<T> extends WeakObject<T>
A weak entry is a reference with an additional argument that can be inspected the referent is garbage collected. E.g. the action reference queue interprets the argument as a runnable to be executed.- See Also:
ActionReferenceQueue
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
arg
Optional command argument.-
Fields inherited from class jadex.commons.collection.WeakObject
hashcode
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getArgument()
Get the argument.-
Methods inherited from class jadex.commons.collection.WeakObject
equals, hashCode
-
-