Class FilteringIterator<E>

  • All Implemented Interfaces:
    Iterator<E>

    @Deprecated
    public class FilteringIterator<E>
    extends Object
    implements Iterator<E>
    Deprecated.
    Filtering turned out to be more complex than this. Filter has been superseded by TreeFilter.
    A decorator over the Iterator impls that can leave out the elements of incompatible types that optionally don't conform to provided filter.

    This implementation does NOT support null elements returned by the decorated iterator.

    Since:
    0.1
    Author:
    Lukas Krejci