public class WeakEntry<T> extends WeakObject<T>
ActionReferenceQueue
,
Serialized FormConstructor and Description |
---|
WeakEntry(T object,
Object arg)
Construct a new reference.
|
WeakEntry(T object,
Object arg,
ReferenceQueue<? super T> queue)
Construct a WeakObject.
|
Modifier and Type | Method and Description |
---|---|
Object |
getArgument()
Get the argument.
|
equals, hashCode
clear, enqueue, get, isEnqueued
public WeakEntry(T object, Object arg)
object
- Object to reference.arg
- The argument.public WeakEntry(T object, Object arg, ReferenceQueue<? super T> queue)
object
- Object to reference.arg
- The argument.queue
- Reference queue.public Object getArgument()
Copyright © 2012. All Rights Reserved.