public class EntryIterableFromStreamImpl<K,V> extends TrackingEntryIterableFromStream<K,V,V> implements EntryIterable<K,V>
Constructor and Description |
---|
EntryIterableFromStreamImpl(KeyValueFilter<? super K,? super V> filter,
EnumSet<Flag> flags,
Cache<K,V> cache) |
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, iterator
forEach, spliterator
public <C> CloseableIterable<CacheEntry<K,C>> converter(Converter<? super K,? super V,C> converter)
EntryIterable
CloseableIterable
that will change the type of the returned
value for the entry using the already provided filter in addition to the converter.converter
in interface EntryIterable<K,V>
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 © 2018 JBoss, a division of Red Hat. All rights reserved.