Class ToArrayHandler<T>

  • Type Parameters:
    T - the type of object in the input iterable
    All Implemented Interfaces:
    OperationHandler<ToArray<T>>, OutputOperationHandler<ToArray<T>,​T[]>

    public class ToArrayHandler<T>
    extends Object
    implements OutputOperationHandler<ToArray<T>,​T[]>
    A ToArrayHandler handles ToArray operations. The input Iterable of objects is converted into an array. 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.