Class FilterIterator<ELEMENTTYPE>

  • Type Parameters:
    ELEMENTTYPE - The type to iterate
    All Implemented Interfaces:
    ICommonsIterable<ELEMENTTYPE>, IIterableIterator<ELEMENTTYPE>, Iterable<ELEMENTTYPE>, Iterator<ELEMENTTYPE>

    public class FilterIterator<ELEMENTTYPE>
    extends Object
    implements IIterableIterator<ELEMENTTYPE>
    A simple filter iterator that takes a base iterator and an additional filter and returns only the items that match the filter.
    Author:
    Philip Helger