Class LazyBag.BagIntersectionIterator

  • All Implemented Interfaces:
    java.util.Iterator<E>
    Enclosing class:
    LazyBag<E>

    public class LazyBag.BagIntersectionIterator
    extends LazyCollection.CachingIterator
    LazyCollection.ReadOnlyIterator that returns only elements contained in both underlying collections, where the element occurs as often as in the collection with the least occurrences of the element.