Class SetBatchCollector<E>

Type Parameters:
E -
All Implemented Interfaces:
BatchCollector<Set<E>>, ItemizedBatchCollector<Set<E>,E>, ItemizedSizedBatchCollector<Set<E>,E>, SizedBatchCollector<Set<E>>

@Deprecated public class SetBatchCollector<E> extends CollectionBatchCollector<Set<E>,E>
Deprecated.
the functionality available in this package is provided by project Reactor and we recommend to switch to that. @see ReactorUtils
Uses HashSet as default and the default max size provided by AbstractSizedBatchCollector.
Author:
brandizi
Date:
25 Nov 2019
  • Constructor Details

    • SetBatchCollector

      public SetBatchCollector(Supplier<Set<E>> batchFactory, int maxBatchSize)
      Deprecated.
    • SetBatchCollector

      public SetBatchCollector(int maxBatchSize)
      Deprecated.
    • SetBatchCollector

      public SetBatchCollector()
      Deprecated.