Skip navigation links
A C D E F I M N O S T 

A

AsyncGenerator<E> - Interface in org.bsc.async
An asynchronous generator interface that allows generating asynchronous elements.
AsyncGenerator.Data<E> - Class in org.bsc.async
Represents a data element in the AsyncGenerator.
AsyncGeneratorQueue - Class in org.bsc.async
Represents a queue-based asynchronous generator.
AsyncGeneratorQueue() - Constructor for class org.bsc.async.AsyncGeneratorQueue
 

C

collect(Iterator<E>, BiConsumer<E, Consumer<CompletableFuture<U>>>) - Static method in interface org.bsc.async.AsyncGenerator
Collects asynchronous elements from an iterator.
collect(Collection<E>, BiConsumer<E, Consumer<CompletableFuture<U>>>) - Static method in interface org.bsc.async.AsyncGenerator
Collects asynchronous elements from a collection.
collectAsync(R, Consumer<E>) - Method in interface org.bsc.async.AsyncGenerator
Collects elements from the AsyncGenerator asynchronously into a list.

D

Data(CompletableFuture<E>, boolean) - Constructor for class org.bsc.async.AsyncGenerator.Data
 
done() - Static method in class org.bsc.async.AsyncGenerator.Data
 

E

empty() - Static method in interface org.bsc.async.AsyncGenerator
Returns an empty AsyncGenerator.

F

forEachAsync(Consumer<E>) - Method in interface org.bsc.async.AsyncGenerator
Asynchronously iterates over the elements of the AsyncGenerator and applies the given consumer to each element.

I

iterator() - Method in interface org.bsc.async.AsyncGenerator
Returns an iterator over the elements of this AsyncGenerator.

M

map(Iterator<E>, Function<E, CompletableFuture<U>>) - Static method in interface org.bsc.async.AsyncGenerator
create a generator, mapping each element to an asynchronous counterpart.
map(Collection<E>, Function<E, CompletableFuture<U>>) - Static method in interface org.bsc.async.AsyncGenerator
create a generator, mapping each element to an asynchronous counterpart.

N

next() - Method in interface org.bsc.async.AsyncGenerator
Retrieves the next asynchronous element.

O

of(CompletableFuture<E>) - Static method in class org.bsc.async.AsyncGenerator.Data
 
of(Q, Consumer<Q>) - Static method in class org.bsc.async.AsyncGeneratorQueue
Creates an AsyncGenerator from the provided blocking queue and consumer.
of(Q, Executor, Consumer<Q>) - Static method in class org.bsc.async.AsyncGeneratorQueue
Creates an AsyncGenerator from the provided queue, executor, and consumer.
org.bsc.async - package org.bsc.async
 

S

stream() - Method in interface org.bsc.async.AsyncGenerator
Returns a sequential Stream with the elements of this AsyncGenerator.

T

toCompletableFuture() - Method in interface org.bsc.async.AsyncGenerator
Converts the AsyncGenerator to a CompletableFuture.
A C D E F I M N O S T 
Skip navigation links

Copyright © 2024. All rights reserved.