Class SimpleCacheImpl.EntrySet

    • Constructor Detail

      • EntrySet

        protected EntrySet()
    • Method Detail

      • iterator

        public org.infinispan.commons.util.CloseableIterator<Map.Entry<K,​V>> iterator()
        Description copied from interface: org.infinispan.commons.util.CloseableIteratorCollection

        This iterator should be explicitly closed when iteration upon it is completed. Failure to do so could cause resources to not be freed properly

        Specified by:
        iterator in interface org.infinispan.commons.util.CloseableIteratorCollection<Map.Entry<K,​V>>
        Specified by:
        iterator in interface Collection<Map.Entry<K,​V>>
        Specified by:
        iterator in interface Iterable<Map.Entry<K,​V>>
        Specified by:
        iterator in interface Set<Map.Entry<K,​V>>
      • spliterator

        public org.infinispan.commons.util.CloseableSpliterator<Map.Entry<K,​V>> spliterator()
        Description copied from interface: org.infinispan.commons.util.CloseableIteratorCollection

        This spliterator should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly

        Specified by:
        spliterator in interface org.infinispan.commons.util.CloseableIteratorCollection<Map.Entry<K,​V>>
        Specified by:
        spliterator in interface org.infinispan.commons.util.CloseableIteratorSet<Map.Entry<K,​V>>
        Specified by:
        spliterator in interface Collection<Map.Entry<K,​V>>
        Specified by:
        spliterator in interface Iterable<Map.Entry<K,​V>>
        Specified by:
        spliterator in interface Set<Map.Entry<K,​V>>
      • stream

        public CacheStream<Map.Entry<K,​V>> stream()
        Description copied from interface: org.infinispan.commons.util.CloseableIteratorCollection

        This stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly

        Specified by:
        stream in interface CacheCollection<Map.Entry<K,​V>>
        Specified by:
        stream in interface org.infinispan.commons.util.CloseableIteratorCollection<Map.Entry<K,​V>>
        Specified by:
        stream in interface Collection<Map.Entry<K,​V>>
      • parallelStream

        public CacheStream<Map.Entry<K,​V>> parallelStream()
        Description copied from interface: org.infinispan.commons.util.CloseableIteratorCollection

        This stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly

        Specified by:
        parallelStream in interface CacheCollection<Map.Entry<K,​V>>
        Specified by:
        parallelStream in interface org.infinispan.commons.util.CloseableIteratorCollection<Map.Entry<K,​V>>
        Specified by:
        parallelStream in interface Collection<Map.Entry<K,​V>>