Uses of Class java.lang.module.ModuleDescriptor.Exports (Java SE 21 & JDK 21)
Description: use: module: java.base, package: java.lang.module, class: ModuleDescriptor, class: Exports

# Uses of Class
java.lang.module.ModuleDescriptor.Exports

Packages that use ModuleDescriptor.Exports
Package
Description
java.lang.module
Classes to support module descriptors and creating configurations of modules by means of resolution and service binding.

- ## Uses of ModuleDescriptor.Exports in java.lang.module

  Methods in java.lang.module that return types with arguments of type ModuleDescriptor.Exports
  Modifier and Type
  Method
  Description
  `Set<ModuleDescriptor.Exports>`
  ModuleDescriptor.`exports()`
  Returns the set of `Exports` objects representing the exported packages.
  Methods in java.lang.module with parameters of type ModuleDescriptor.Exports
  Modifier and Type
  Method
  Description
  `int`
  ModuleDescriptor.Exports.`compareTo(ModuleDescriptor.Exports that)`
  Compares this module export to another.
  `ModuleDescriptor.Builder`
  ModuleDescriptor.Builder.`exports(ModuleDescriptor.Exports e)`
  Adds an exported package.