| Package | Description |
|---|---|
| net.openhft.chronicle.wire.domestic.extractor | |
| net.openhft.chronicle.wire.domestic.reduction | |
| net.openhft.chronicle.wire.domestic.stream |
| 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
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. |
Copyright © 2024. All rights reserved.