-
Field Summary
Fields
private int
(package private) final V
-
Constructor Summary
Constructors
-
Method Summary
Increment refCount and acquire a reference to value.
(package private) boolean
Decrement refCount and return true if it has reached 0.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
-
refCount
private int refCount
-
-
Method Details
-
acquire
Increment refCount and acquire a reference to value.
-
release
boolean release()
Decrement refCount and return true if it has reached 0.