| Modifier and Type | Method and Description |
|---|---|
default DocumentExtractor<T> |
DocumentExtractor.filter(@NotNull Predicate<? super T> predicate)
Creates and returns a new DocumentExtractor consisting of the elements of this DocumentExtractor that match
the provided
predicate. |
default <R> DocumentExtractor<R> |
DocumentExtractor.map(@NotNull Function<? super T,? extends R> mapper)
Creates and returns a new DocumentExtractor consisting of the results (of type R) of applying the provided
mapper to the elements of this DocumentExtractor. |
default <T> DocumentExtractor<T> |
ToDoubleDocumentExtractor.mapToObj(@NotNull DoubleFunction<? extends T> mapper)
Creates and returns a new DocumentExtractor consisting of applying the provided
mapper to the elements of this DocumentExtractor. |
default <T> DocumentExtractor<T> |
ToLongDocumentExtractor.mapToObj(@NotNull LongFunction<? extends T> mapper)
Creates and returns a new DocumentExtractor consisting of applying the provided
mapper to the elements of this ToLongDocumentExtractor. |
| Modifier and Type | Method and Description |
|---|---|
static <E> Reduction.ReductionBuilder<E> |
Reduction.of(@NotNull DocumentExtractor<E> extractor)
Creates and returns a new ReductionBuilder that will use the provided
{@code extractor) to extract elements of type E.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> @NotNull Iterator<T> |
Streams.iterator(@NotNull MarshallableIn documentProvider,
@NotNull DocumentExtractor<T> extractor)
Creates and returns a new
Iterator whose elements are obtained
by successively applying the provided extractor on excerpts from the
provided documentProvider. |
static <T> @NotNull Stream<T> |
Streams.of(@NotNull MarshallableIn documentProvider,
@NotNull DocumentExtractor<T> extractor)
Creates and returns a new sequential ordered
Stream whose elements are obtained
by successively applying the provided extractor on excerpts from the
provided documentProvider. |
static <T> @NotNull Spliterator<T> |
Streams.spliterator(@NotNull MarshallableIn documentProvider,
@NotNull DocumentExtractor<T> extractor)
Creates and returns a new ordered
Spliterator whose elements are obtained
by successively applying the provided extractor on excerpts from the
provided documentProvider, with no initial size estimate. |
| Modifier and Type | Method and Description |
|---|---|
@NotNull DocumentExtractor<E> |
DocumentExtractorBuilder.build() |
static <I,E> DocumentExtractor<E> |
DocumentExtractorUtil.ofMethod(@NotNull Class<I> type,
@NotNull BiConsumer<? super I,? super E> methodReference,
@Nullable Supplier<? extends E> supplier) |
| Constructor and Description |
|---|
CollectorReduction(@NotNull DocumentExtractor<E> extractor,
@NotNull Collector<E,A,? extends R> collector) |
VanillaReductionBuilder(@NotNull DocumentExtractor<E> extractor) |
| Constructor and Description |
|---|
ExcerptIterator(@NotNull MarshallableIn tailer,
@NotNull DocumentExtractor<T> extractor) |
Copyright © 2023. All rights reserved.