Package org.jruby.javasupport.util
Class ObjectProxyCache.WeakEntryRef<T>
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference<T>
org.jruby.javasupport.util.ObjectProxyCache.WeakEntryRef<T>
- All Implemented Interfaces:
ObjectProxyCache.EntryRef<T>
- Enclosing class:
- ObjectProxyCache<T,
A>
private static final class ObjectProxyCache.WeakEntryRef<T>
extends WeakReference<T>
implements ObjectProxyCache.EntryRef<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.ref.Reference
clear, clone, enqueue, get, isEnqueued, reachabilityFence, refersToMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jruby.javasupport.util.ObjectProxyCache.EntryRef
get
-
Field Details
-
hash
final int hash
-
-
Constructor Details
-
WeakEntryRef
WeakEntryRef(int hash, T rawObject, ReferenceQueue<Object> queue)
-
-
Method Details
-
hash
public int hash()- Specified by:
hashin interfaceObjectProxyCache.EntryRef<T>
-