Interface Foreachable<T>

    • Method Detail

      • foreach

        void foreach​(Processor<T> processor)
        Will call processor for every element in the instance. This is NOT recursive. E.g. in case of collection of collections the processor will NOT be called for elements of the inner collections. If you need recursion please have a look at Visitor.