Interface IterableModuleFinder

    • Method Detail

      • iterateModules

        @Deprecated(forRemoval=true)
        default java.util.Iterator<ModuleIdentifier> iterateModules​(ModuleIdentifier baseIdentifier,
                                                                    boolean recursive)
        Deprecated, for removal: This API element is subject to removal in a future version.
        This method returns an empty iterator and should not be used by new code.
        Parameters:
        baseIdentifier - the identifier to start with, or null to iterate all modules
        recursive - true to find recursively nested modules, false to only find immediately nested modules
        Returns:
        an iterator for the modules in this module finder
      • iterateModules

        @Deprecated
        default java.util.Iterator<java.lang.String> iterateModules​(java.lang.String baseName,
                                                                    boolean recursive)
        Iterate the modules which can be located via this module finder.
        Parameters:
        baseName - the identifier to start with, or null to iterate all modules; ignored if this module loader does not have a concept of nested modules
        recursive - true to find recursively nested modules, false to only find immediately nested modules; ignored if this module finder does not have a concept of nested modules
        Returns:
        an iterator for the modules in this module finder
      • iterateModules

        default java.util.Iterator<java.lang.String> iterateModules​(java.lang.String baseName,
                                                                    boolean recursive,
                                                                    ModuleLoader delegateLoader)