Class RemoteValues.ValuesIterator<K,​V>

  • Type Parameters:
    K - the type of the cache keys
    V - the type of the cache values
    All Implemented Interfaces:
    Iterator<V>
    Enclosing class:
    RemoteValues<K,​V>

    protected static class RemoteValues.ValuesIterator<K,​V>
    extends Object
    implements Iterator<V>
    An Iterator to iterate over the cache values.
    • Field Detail

      • f_iterator

        protected final Iterator<Map.Entry<K,​V>> f_iterator
        The paged iterator to use to iterate over the cache values one page at a time.
      • m_currentEntry

        protected Map.Entry<K,​V> m_currentEntry
        The current entry in the iterator.
    • Method Detail

      • hasNext

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

        public V next()
        Specified by:
        next in interface Iterator<K>
      • remove

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