Class BaseTreeFilterProvider

    • Constructor Detail

      • BaseTreeFilterProvider

        public BaseTreeFilterProvider()
    • Method Detail

      • filterFor

        public <E extends Element<E>> Optional<TreeFilter<E>> filterFor​(ArchiveAnalyzer<E> archiveAnalyzer)
        Description copied from interface: TreeFilterProvider
        Creates a new filter specifically for use with the provided analyzer. Can return null if this forest filter cannot understand elements provided by the analyzer.
        Specified by:
        filterFor in interface TreeFilterProvider
        Parameters:
        archiveAnalyzer - the archive analyzer to produce a new filter for
        Returns:
        a new filter for given analyzer or empty if this forest filter is not compatible with the analyzer