| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static <K, V> WeakCARCache | Returns: A WeakCARCache that is emptyThe computable that is used to get the V from the given K computable, int The maximumSize of the cache maxSize, boolean if true this will keep weak keyes, if false the keys will
be hard and will not go away even if they do not exist anywhere else
but this cache isWeak)Returns a WEAKCarCache with the given computable and the given maximum value size of the cache. |
| CacheUtilities | back to summary |
|---|---|
| public CacheUtilities() | |
| createWeakCARCache | back to summary |
|---|---|
| public static <K, V> WeakCARCache Returns a WEAKCarCache with the given computable and the given maximum value size of the cache.
The Cache returned will have weak keys, so that when the key becomes only weakly reachable it
will be removed from the cache. However, values will only be removed from the Cache when an operation
is performed on the cache or the method
| |