Class DirectivesNullable

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

public final class DirectivesNullable extends Object implements Iterable<org.xembly.Directive>
Directives for data that might be nullable.
Since:
0.4
  • Constructor Details

    • DirectivesNullable

      public DirectivesNullable(String name, T data)
      Constructor.
      Type Parameters:
      T - Type of data.
      Parameters:
      name - The name of data to store.
      data - Data to store.
    • DirectivesNullable

      public DirectivesNullable(String name, HexData data)
      Constructor.
      Parameters:
      name - The name of data to store.
      data - Data to store.
  • Method Details

    • iterator

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