public interface EntryIterable<K,V> extends CloseableIterable<CacheEntry<K,V>>
Iterable
instance that allows the user to iterate over the entries in the cache. This
also implements Closeable
of which the Closeable.close()
should be invoked
when iteration of all needed Iterables is complete.Modifier and Type | Method and Description |
---|---|
<C> CloseableIterable<CacheEntry<K,C>> |
converter(Converter<? super K,? super V,C> converter)
This returns a
CloseableIterable that will change the type of the returned
value for the entry using the already provided filter in addition to the converter. |
close, iterator
forEach, spliterator
<C> CloseableIterable<CacheEntry<K,C>> converter(Converter<? super K,? super V,C> converter)
CloseableIterable
that will change the type of the returned
value for the entry using the already provided filter in addition to the converter.C
- The type of the converted valueconverter
- The converter to apply to the iterator that is produced. Callbacks to to this converter will
never provide a key or value that is null.Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.