Class LongArrayElementExtractor

    • Constructor Detail

      • LongArrayElementExtractor

        public LongArrayElementExtractor()
    • Method Detail

      • extract

        public <T,​C2> void extract​(long[] container,
                                         ValueProcessor<T,​? super Long,​C2> perValueProcessor,
                                         T target,
                                         C2 context,
                                         ContainerExtractionContext extractionContext)
        Specified by:
        extract in interface ContainerExtractor<long[],​Long>
        Type Parameters:
        T - The type of the target of the perValueProcessor, i.e. whatever it is supposed to push the result of its processing to.
        C2 - The type of the context of the perValueProcessor, i.e. whatever information it needs that is independent from the target or value.
        Parameters:
        container - A container to extract values from.
        perValueProcessor - A processor for values extracted from the container.
        target - The target to pass to the perValueProcessor.
        context - The context to pass to the perValueProcessor.
        extractionContext - A context for use by the container extractor itself.