Class InstReplaced<T>

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

    public final class InstReplaced<T>
    extends InstWrap<T>
    Instructions replaced from the list of insides.
    Since:
    0.0.1
    • Constructor Detail

      • InstReplaced

        public InstReplaced​(Instructions<T> instructions,
                            List<Inside> insides,
                            org.cactoos.Func<Inside,​String> regex,
                            org.cactoos.Func<Inside,​String> replacement)
        Ctor.
        Parameters:
        instructions - Instructions
        insides - Insides
        regex - Regex function
        replacement - Replacement function