| Modifier and Type | Field and Description |
|---|---|
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Implements org. Removes all mappings from a map (optional operation). |
| public Object | |
| private Object | |
| public Object | put(Object
value to be used as key key, Object value to be stored value, int estimated size sizeEstimate)Implements org.
|
| public Object | remove(Object
the key of the to be removed object key)Implements org.
|
| cache | back to summary |
|---|---|
| private final Map<Object, SoftReference<?>> cache | |
| SoftReferenceCache | back to summary |
|---|---|
| public SoftReferenceCache() | |
| clear | back to summary |
|---|---|
| public void clear() Implements org. Doc from org. Removes all mappings from a map (optional operation).
| |
| get | back to summary |
|---|---|
| public Object get(Object key) Implements org.
| |
| getValueNullSafe | back to summary |
|---|---|
| private Object getValueNullSafe(SoftReference<?> softReference) | |
| put | back to summary |
|---|---|
| public Object put(Object key, Object value, int sizeEstimate) Implements org.
| |
| remove | back to summary |
|---|---|
| public Object remove(Object key) Implements org.
| |