Class InstDirectives<T>

  • Type Parameters:
    T - Type of instructions to add
    All Implemented Interfaces:
    Iterable<org.xembly.Directive>, Instructions<T>

    public final class InstDirectives<T>
    extends Object
    implements Instructions<T>
    Instructions with directives.
    Since:
    0.0.1
    • Constructor Detail

      • InstDirectives

        public InstDirectives()
        Ctor.
      • InstDirectives

        public InstDirectives​(org.xembly.Directives directives)
        Ctor.
        Parameters:
        directives - Directives
      • InstDirectives

        public InstDirectives​(BiConsumer<org.xembly.Directives,​T> func)
        Ctor.
        Parameters:
        func - Function for modifying directives
      • InstDirectives

        public InstDirectives​(org.xembly.Directives dirs,
                              BiConsumer<org.xembly.Directives,​T> func)
        Ctor.
        Parameters:
        dirs - Directives
        func - Function for modifying directives