public class RefCount<T>
extends java.lang.Object
release() to do custom logic when reference counting hits 0.| Modifier and Type | Method and Description |
|---|---|
void |
decRef()
Decrements the reference counting of this object.
|
T |
get() |
int |
getRefCount()
Returns the current reference count.
|
void |
incRef()
Increments the reference count.
|
public RefCount(T object)
public final void decRef()
throws java.io.IOException
release().java.io.IOExceptionpublic final T get()
public final int getRefCount()
public final void incRef()
decRef().Copyright © 2010 - 2024 Adobe. All Rights Reserved