Class ListIterableParallelIterable.ListIterableParallelBatchLazyIterable

    • Constructor Detail

      • ListIterableParallelBatchLazyIterable

        private ListIterableParallelBatchLazyIterable()
    • Method Detail

      • each

        public void each​(Procedure<? super RootListBatch<T>> procedure)
        Description copied from interface: RichIterable
        The procedure is executed for each element in the iterable.

        Example using a Java 8 lambda expression:

         people.each(person -> LOGGER.info(person.getName()));
         

        Example using an anonymous inner class:

         people.each(new Procedure<Person>()
         {
             public void value(Person person)
             {
                 LOGGER.info(person.getName());
             }
         });
         
        This method is a variant of InternalIterable.forEach(Procedure) that has a signature conflict with Iterable.forEach(java.util.function.Consumer).
        See Also:
        InternalIterable.forEach(Procedure), Iterable.forEach(java.util.function.Consumer)