A C D E F G I M N O Q R S T W 
All Classes All Packages

A

accept(Object) - Method in interface org.bsc.async.AsyncGenerator.EmbedCompletionHandler
 
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.
AsyncGenerator.Embed<E> - Class in org.bsc.async
 
AsyncGenerator.EmbedCompletionHandler - Interface in org.bsc.async
 
AsyncGenerator.WithEmbed<E> - Class in org.bsc.async
An asynchronous generator decorator that allows to generators composition embedding other generators.
AsyncGenerator.WithResult<E> - Class in org.bsc.async
An asynchronous generator decorator that allows retrieving the result value of the asynchronous operation, if any.
AsyncGeneratorQueue - Class in org.bsc.async
Represents a queue-based asynchronous generator.
AsyncGeneratorQueue() - Constructor for class org.bsc.async.AsyncGeneratorQueue
 
AsyncGeneratorQueue.Generator<E> - Class in org.bsc.async
Inner class to generate asynchronous elements from the queue.

C

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

D

Data(CompletableFuture<E>, AsyncGenerator.Embed<E>, Object) - Constructor for class org.bsc.async.AsyncGenerator.Data
 
delegate - Variable in class org.bsc.async.AsyncGenerator.WithResult
 
delegate() - Method in class org.bsc.async.AsyncGenerator.WithResult
 
done() - Static method in class org.bsc.async.AsyncGenerator.Data
 
done(Object) - Static method in class org.bsc.async.AsyncGenerator.Data
 

E

Embed(AsyncGenerator<E>, AsyncGenerator.EmbedCompletionHandler) - Constructor for class org.bsc.async.AsyncGenerator.Embed
 
empty() - Static method in interface org.bsc.async.AsyncGenerator
Returns an empty AsyncGenerator.
error(Throwable) - Static method in class org.bsc.async.AsyncGenerator.Data
 

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

G

Generator(BlockingQueue<AsyncGenerator.Data<E>>) - Constructor for class org.bsc.async.AsyncGeneratorQueue.Generator
Constructs a Generator with the specified queue.
generatorsStack - Variable in class org.bsc.async.AsyncGenerator.WithEmbed
 

I

isDone() - Method in class org.bsc.async.AsyncGenerator.Data
 
isLastGenerator() - Method in class org.bsc.async.AsyncGenerator.WithEmbed
 
iterator() - Method in interface org.bsc.async.AsyncGenerator
Returns an iterator over the elements of this AsyncGenerator.

M

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.
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.

N

next() - Method in interface org.bsc.async.AsyncGenerator
Retrieves the next asynchronous element.
next() - Method in class org.bsc.async.AsyncGenerator.WithEmbed
 
next() - Method in class org.bsc.async.AsyncGenerator.WithResult
 
next() - Method in class org.bsc.async.AsyncGeneratorQueue.Generator
Retrieves the next element from the queue asynchronously.

O

of(E) - Static method in class org.bsc.async.AsyncGenerator.Data
 
of(CompletableFuture<E>) - Static method in class org.bsc.async.AsyncGenerator.Data
 
of(Q, Executor, Consumer<Q>) - Static method in class org.bsc.async.AsyncGeneratorQueue
Deprecated.
use of(Q, Consumer, Executor)
of(Q, Consumer<Q>) - Static method in class org.bsc.async.AsyncGeneratorQueue
Creates an AsyncGenerator from the provided blocking queue and consumer.
of(Q, Consumer<Q>, Executor) - 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
 

Q

queue() - Method in class org.bsc.async.AsyncGeneratorQueue.Generator
 

R

resultValue() - Method in class org.bsc.async.AsyncGenerator.WithResult
Retrieves the result value of the generator, if any.
resultValues() - Method in class org.bsc.async.AsyncGenerator.WithEmbed
 

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.

W

WithEmbed(AsyncGenerator<E>) - Constructor for class org.bsc.async.AsyncGenerator.WithEmbed
 
WithEmbed(AsyncGenerator<E>, AsyncGenerator.EmbedCompletionHandler) - Constructor for class org.bsc.async.AsyncGenerator.WithEmbed
 
WithResult(AsyncGenerator<E>) - Constructor for class org.bsc.async.AsyncGenerator.WithResult
 
A C D E F G I M N O Q R S T W 
All Classes All Packages