Cache interface@Deprecated public abstract class Cache<K,V> extends Object
| Constructor and Description |
|---|
Cache()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
clear()
Deprecated.
|
abstract void |
copyKeysInto(Collection<? super K> c)
Deprecated.
|
abstract V |
get(K key)
Deprecated.
|
abstract boolean |
isEmpty()
Deprecated.
|
static <K,V> Cache<K,V> |
newSoftValueCache(int capacity)
Deprecated.
|
static <K,V> Cache<K,V> |
newWeakIdentityCache(int capacity)
Deprecated.
|
static <K,V> Cache<K,V> |
newWeakValueCache(int capacity)
Deprecated.
|
abstract V |
put(K key,
V value)
Deprecated.
|
abstract V |
remove(K key)
Deprecated.
|
abstract int |
size()
Deprecated.
|
public static <K,V> Cache<K,V> newSoftValueCache(int capacity)
public static <K,V> Cache<K,V> newWeakValueCache(int capacity)
public static <K,V> Cache<K,V> newWeakIdentityCache(int capacity)
public abstract int size()
public abstract boolean isEmpty()
public abstract void clear()
public abstract void copyKeysInto(Collection<? super K> c)
Copyright © 2006–2015 Cojen. All rights reserved.