Class ToListHandler<T>

  • Type Parameters:
    T - the type of object contained in the input iterable
    All Implemented Interfaces:
    OperationHandler<ToList<T>>, OutputOperationHandler<ToList<T>,​List<? extends T>>

    public class ToListHandler<T>
    extends Object
    implements OutputOperationHandler<ToList<T>,​List<? extends T>>
    The ToListHandler handles ToList operations by collecting the items in the input Iterable into a List. Use of this operation will cause all of the items present in the input iterable to be brought into memory, so this operation is not suitable for situations where the size of the input iterable is very large.