public class Caches extends Object
Constructor and Description |
---|
Caches() |
Modifier and Type | Method and Description |
---|---|
static <K,L,V> Cache<K,V> |
mapKeys(Cache<L,V> cache,
KeyBimap<K,L> keymap) |
static <K,L,V> LoaderCache<K,V> |
mapKeys(LoaderCache<L,V> cache,
KeyBimap<K,L> keymap) |
static <K,L,V,D> LoaderRemoverCache<K,V,D> |
mapKeys(LoaderRemoverCache<L,V,D> cache,
KeyBimap<K,L> keymap) |
static <K,L,V,D> RemoverCache<K,V,D> |
mapKeys(RemoverCache<L,V,D> cache,
KeyBimap<K,L> keymap) |
static <K,V> UncheckedCache<K,V> |
unchecked(Cache<K,V> cache) |
static <K,V> UncheckedVolatileCache<K,V> |
unchecked(VolatileCache<K,V> cache) |
static <K,V> Cache<K,V> |
withLoader(LoaderCache<K,V> cache,
CacheLoader<K,V> loader) |
static <K,V> VolatileCache<K,V> |
withLoader(VolatileLoaderCache<K,V> cache,
VolatileCacheLoader<K,V> loader) |
static <K,V,D> LoaderCache<K,V> |
withRemover(LoaderRemoverCache<K,V,D> cache,
CacheRemover<K,V,D> removalListener) |
public static <K,L,V> LoaderCache<K,V> mapKeys(LoaderCache<L,V> cache, KeyBimap<K,L> keymap)
public static <K,L,V,D> LoaderRemoverCache<K,V,D> mapKeys(LoaderRemoverCache<L,V,D> cache, KeyBimap<K,L> keymap)
public static <K,L,V,D> RemoverCache<K,V,D> mapKeys(RemoverCache<L,V,D> cache, KeyBimap<K,L> keymap)
public static <K,V> VolatileCache<K,V> withLoader(VolatileLoaderCache<K,V> cache, VolatileCacheLoader<K,V> loader)
public static <K,V> Cache<K,V> withLoader(LoaderCache<K,V> cache, CacheLoader<K,V> loader)
public static <K,V,D> LoaderCache<K,V> withRemover(LoaderRemoverCache<K,V,D> cache, CacheRemover<K,V,D> removalListener)
public static <K,V> UncheckedCache<K,V> unchecked(Cache<K,V> cache)
public static <K,V> UncheckedVolatileCache<K,V> unchecked(VolatileCache<K,V> cache)
Copyright © 2015–2022 ImgLib2. All rights reserved.