Interface Filterator<T>

  • All Superinterfaces:
    All Known Implementing Classes:
    AbstractFlowScanner, DepthFirstScanner, ForkScanner, LinearBlockHoppingScanner, LinearScanner

    public interface Filterator<T>
    extends Iterator<T>
    Iterator that may be navigated through a filtered wrapper.

    As a rule, assume that returned Filterators wrap an iterator and pass calls to it. Thus the iterator position will change if next() is called on the filtered versions. Note also: you may filter a filterator, if needed.

    Sam Van Oort
    • Method Detail

      • filter

        Filterator<T> filter​(@NonNull
                   <T> matchCondition)
        Returns a filtered view of the iterator, which calls the iterator until matches are found