public abstract class RefCount<Type> extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected AtomicInteger |
refcount |
protected Type |
resource |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract void |
close() |
void |
decref() |
boolean |
equals(Object obj) |
Type |
get() |
int |
getRefcount() |
int |
hashCode() |
RefCount<Type> |
incref() |
protected final Type resource
protected final AtomicInteger refcount
public RefCount(Type resource)
Copyright © 2016 vootoo. All rights reserved.