Class DirectivesModuleProvided

java.lang.Object
org.eolang.jeo.representation.directives.DirectivesModuleProvided
All Implemented Interfaces:
Iterable<org.xembly.Directive>

public final class DirectivesModuleProvided extends Object implements Iterable<org.xembly.Directive>
Directives for module provided. JVM Specification: { u2 provides_index; {@link #service} u2 provides_with_count; {@link #providers.size()} u2 provides_with_index[provides_with_count]; {@link #providers} }
Since:
0.15.0
  • Constructor Details

    • DirectivesModuleProvided

      public DirectivesModuleProvided(Format format, String service, List<String> providers)
      Constructor.
      Parameters:
      format - Directive format.
      service - The internal name of the service.
      providers - The internal names of the implementations of the service.
  • Method Details

    • iterator

      public Iterator<org.xembly.Directive> iterator()
      Specified by:
      iterator in interface Iterable<org.xembly.Directive>