Class CacheSetMapper<E,R>

All Implemented Interfaces:
Iterable<R>, Collection<R>, Set<R>, CacheCollection<R>, CacheSet<R>, CloseableIteratorCollection<R>, CloseableIteratorSet<R>

public class CacheSetMapper<E,R> extends SetMapper<E,R> implements CacheSet<R>
A CacheSet that allows for a different set to be mapped as a different instance wtih values replaced on request. This is useful as a cache set is normally lazily evaluated to prevent having to pull all values into memory which can be a lot faster when checking single values and can also prevent out of memory issues.