Class ImmutableListCollector<T>

java.lang.Object
org.simpleflatmapper.util.ImmutableListCollector<T>
Type Parameters:
T - the type of the callback argument
All Implemented Interfaces:
Consumer<T>, CheckedConsumer<T>, Consumer<T>

public final class ImmutableListCollector<T> extends Object implements Consumer<T>
Implementation of Consumer that collect all the value into a list.

Equivalent to a Collectors.toList().

  • Constructor Details

    • ImmutableListCollector

      public ImmutableListCollector()
  • Method Details