Class DirectivesValues

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

public final class DirectivesValues extends Object implements Iterable<org.xembly.Directive>
Array representation of some values as Xembly directives. We used to use "tuple" for this, but it leads to some confusion. You can read more about this problem here
Since:
0.6
  • Constructor Details

    • DirectivesValues

      @SafeVarargs public DirectivesValues(T... vaues)
      Constructor.
      Type Parameters:
      T - Values type.
      Parameters:
      vaues - Values themselves.
    • DirectivesValues

      @SafeVarargs public DirectivesValues(String name, T... vals)
      Constructor.
      Type Parameters:
      T - Values type.
      Parameters:
      name - Group of values name.
      vals - Values themselves.
  • Method Details

    • iterator

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