| Modifier and Type | Class and Description |
|---|---|
| public static interface | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ConcurrentHashMap | |
| private static final Logger | |
| private final ReferenceQueue |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| protected Reference | |
| public V | |
| public V | |
| public V |
| backing | back to summary |
|---|---|
| private final ConcurrentHashMap<Reference<K>, V> backing | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| referenceQueue | back to summary |
|---|---|
| private final ReferenceQueue<K> referenceQueue | |
| WeakIdentityHashMap | back to summary |
|---|---|
| public WeakIdentityHashMap() | |
| clean | back to summary |
|---|---|
| private void clean() | |
| createReference | back to summary |
|---|---|
| protected Reference | |
| get | back to summary |
|---|---|
| public V get(K key) | |
| putIfAbsent | back to summary |
|---|---|
| public V putIfAbsent(K key, V value) | |
| remove | back to summary |
|---|---|
| public V remove(K key) | |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| clean | back to summary |
|---|---|
| public void clean() | |
| Modifier and Type | Field and Description |
|---|---|
| private final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public int |
| hashCode | back to summary |
|---|---|
| private final int hashCode | |
| IdentityWeakReference | back to summary |
|---|---|
| public IdentityWeakReference(T t) | |
| IdentityWeakReference | back to summary |
|---|---|
| public IdentityWeakReference(T t, ReferenceQueue<? super T> rq) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |