Class CoherenceCacheEntryEventFilteringIterator<K,V>

java.lang.Object
com.tangosol.coherence.jcache.common.CoherenceCacheEntryEventFilteringIterator<K,V>
Type Parameters:
K - the type of keys
V - the type of value
All Implemented Interfaces:
Iterator<javax.cache.event.CacheEntryEvent<K,V>>

public class CoherenceCacheEntryEventFilteringIterator<K,V> extends Object implements Iterator<javax.cache.event.CacheEntryEvent<K,V>>
An Iterators to allow filtering of CacheEntryEvents.
Since:
Coherence 12.1.3
Author:
jf 2013.10.24
  • Constructor Details

    • CoherenceCacheEntryEventFilteringIterator

      public CoherenceCacheEntryEventFilteringIterator(Iterator<javax.cache.event.CacheEntryEvent<K,V>> iterator, javax.cache.event.CacheEntryEventFilter<? super K,? super V> filter)
      Parameters:
      iterator - the underlying m_iterator to m_filter
      filter - the m_filter to apply to entries in the m_iterator
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<K>
    • next

      public javax.cache.event.CacheEntryEvent<K,V> next()
      Specified by:
      next in interface Iterator<K>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<K>