Skip navigation links
A C E F G H I J M N O P R S T U V 

A

accept(Function<HK2<M, F, A, Self>, T>) - Method in interface org.smallibs.type.HK2
 
and(FunctionWithError<? super T, R>) - Method in interface org.smallibs.concurrent.promise.Promise
Method used when a new computation must be done when the current one succeed.
applicative(Promise<T>) - Static method in enum org.smallibs.concurrent.promise.PromiseHelper
 
Applicative<M,A,Self extends HK<M,A,Self>> - Interface in org.smallibs.control
 
apply(Functor<M, Function<? super A, ? extends B>, ?>) - Method in interface org.smallibs.control.Applicative
 
apply(Function<HK<Maybe, T, Maybe<T>>, R>) - Method in interface org.smallibs.data.Maybe
 
apply(Function<HK<Try, T, Try<T>>, R>) - Method in interface org.smallibs.data.Try
 
apply(Function<HK<M, A, Self>, T>) - Method in interface org.smallibs.type.HK
 
apply(T) - Method in interface org.smallibs.util.FunctionWithError
 
async(Callable<T>) - Method in interface org.smallibs.concurrent.execution.Executor
Async method
async(Executor.RunnableWithError) - Method in interface org.smallibs.concurrent.execution.Executor
Async method
async(Callable<T>) - Method in class org.smallibs.concurrent.execution.impl.ExecutorImpl
 
async(Executor.RunnableWithError) - Method in class org.smallibs.concurrent.execution.impl.ExecutorImpl
 
await(Promise<T>, Duration) - Static method in enum org.smallibs.concurrent.execution.ExecutorHelper
Await method

C

cancel(boolean) - Method in class org.smallibs.concurrent.promise.impl.SolvableFuture
 
completableFuture(Promise<T>) - Static method in interface org.smallibs.concurrent.utils.CompletableFutureHelper
 
CompletableFutureHelper - Interface in org.smallibs.concurrent.utils
 
create(ExecutorService) - Static method in enum org.smallibs.concurrent.execution.ExecutorHelper
Factory
createFuture(Consumer<Try<T>>) - Method in class org.smallibs.concurrent.promise.impl.RunnablePromise
 
createFuture(Consumer<Try<T>>) - Method in class org.smallibs.concurrent.promise.impl.SolvablePromise
 

E

Executor - Interface in org.smallibs.concurrent.execution
 
Executor.RunnableWithError - Interface in org.smallibs.concurrent.execution
 
ExecutorHelper - Enum in org.smallibs.concurrent.execution
Asynchronous execution builder
ExecutorImpl - Class in org.smallibs.concurrent.execution.impl
Asynchronous execution media
ExecutorImpl(ExecutorService) - Constructor for class org.smallibs.concurrent.execution.impl.ExecutorImpl
Constructor
exists(Promise...) - Static method in enum org.smallibs.concurrent.promise.PromiseHelper
 

F

failure(Throwable) - Static method in enum org.smallibs.concurrent.promise.PromiseHelper
 
failure(Throwable) - Static method in interface org.smallibs.data.Try
 
Filter<M,A,Self extends HK<M,A,Self>> - Interface in org.smallibs.control
Filter interface
filter(Predicate<? super A>) - Method in interface org.smallibs.control.Filter
Method called when the current data must be filtered using a given predicate.
filter(Predicate<? super T>) - Method in interface org.smallibs.data.Maybe
 
filter(Predicate<? super T>) - Method in interface org.smallibs.data.Try
 
FilterException - Exception in org.smallibs.exception
 
FilterException() - Constructor for exception org.smallibs.exception.FilterException
 
flatmap(Function<? super T, Promise<R>>) - Method in interface org.smallibs.concurrent.promise.Promise
Method used to flatmap a function.
flatmap(Function<? super A, HK<M, B, NSelf>>) - Method in interface org.smallibs.control.Monad
 
flatmap(Function<? super T, Maybe<B>>) - Method in interface org.smallibs.data.Maybe
 
flatmap(Function<? super T, Maybe<B>>) - Method in class org.smallibs.data.Maybe.None
 
flatmap(Function<? super T, Maybe<B>>) - Method in class org.smallibs.data.Maybe.Some
 
flatmap(Function<? super T, Try<B>>) - Method in class org.smallibs.data.Try.Failure
 
flatmap(Function<? super T, Try<B>>) - Method in interface org.smallibs.data.Try
 
flatmap(Function<? super T, Try<B>>) - Method in class org.smallibs.data.Try.Success
 
fold(Function<? super T, B>, Supplier<B>) - Method in interface org.smallibs.data.Maybe
 
fold(Function<? super T, B>, Function<? super Throwable, B>) - Method in interface org.smallibs.data.Try
 
forall(Promise...) - Static method in enum org.smallibs.concurrent.promise.PromiseHelper
 
Free<F extends Functor<F,A,Free<F,A>>,A> - Interface in org.smallibs.control
 
fromFunction(Function<T, R>) - Static method in interface org.smallibs.util.FunctionsHelper
 
FunctionsHelper - Interface in org.smallibs.util
 
FunctionWithError<T,R> - Interface in org.smallibs.util
 
functor(Promise<T>) - Static method in enum org.smallibs.concurrent.promise.PromiseHelper
 
Functor<M,A,Self extends HK<M,A,Self>> - Interface in org.smallibs.control
 

G

get() - Method in class org.smallibs.concurrent.promise.impl.SolvableFuture
 
get(long, TimeUnit) - Method in class org.smallibs.concurrent.promise.impl.SolvableFuture
 
getFuture() - Method in class org.smallibs.concurrent.promise.impl.SolvablePromise
 
getFuture() - Method in interface org.smallibs.concurrent.promise.Promise
Provides the underlying future able to capture and returns the result or the error for a given execution

H

hasSome() - Method in interface org.smallibs.data.Maybe
 
hasSome() - Method in class org.smallibs.data.Maybe.None
 
hasSome() - Method in class org.smallibs.data.Maybe.Some
 
HK<M,A,Self extends HK<M,A,Self>> - Interface in org.smallibs.type
 
HK2<M,F,A,Self extends HK2<M,F,A,Self>> - Interface in org.smallibs.type
 

I

isCancelled() - Method in class org.smallibs.concurrent.promise.impl.SolvableFuture
 
isDone() - Method in class org.smallibs.concurrent.promise.impl.SolvableFuture
 
isSuccess() - Method in interface org.smallibs.data.Try
 

J

join(Promise...) - Static method in enum org.smallibs.concurrent.promise.PromiseHelper
 

M

map(FunctionWithError<? super T, ? extends R>) - Method in interface org.smallibs.concurrent.promise.Promise
Method used to map a function.
map(Function<? super A, ? extends B>) - Method in interface org.smallibs.control.Functor
 
map(Function<? super T, ? extends B>) - Method in interface org.smallibs.data.Maybe
 
map(Function<? super T, ? extends B>) - Method in interface org.smallibs.data.Try
 
Maybe<T> - Interface in org.smallibs.data
 
Maybe.None<T> - Class in org.smallibs.data
None implementation
Maybe.Some<T> - Class in org.smallibs.data
Some implementation
MaybeHelper - Enum in org.smallibs.data
 
monad(Promise<T>) - Static method in enum org.smallibs.concurrent.promise.PromiseHelper
 
Monad<M,A,Self extends HK<M,A,Self>> - Interface in org.smallibs.control
 
monad(Maybe<T>) - Static method in enum org.smallibs.data.MaybeHelper
 
monad(Try<T>) - Static method in enum org.smallibs.data.TryHelper
 

N

none() - Static method in interface org.smallibs.data.Maybe
 
None() - Constructor for class org.smallibs.data.Maybe.None
 
NoValueException - Exception in org.smallibs.exception
 
NoValueException() - Constructor for exception org.smallibs.exception.NoValueException
 

O

onComplete(Consumer<Try<T>>) - Method in class org.smallibs.concurrent.promise.impl.SolvablePromise
 
onComplete(Consumer<Try<T>>) - Method in interface org.smallibs.concurrent.promise.Promise
Callback called when the computation terminates
onFailure(Consumer<Throwable>) - Method in class org.smallibs.concurrent.promise.impl.SolvablePromise
 
onFailure(Consumer<Throwable>) - Method in interface org.smallibs.concurrent.promise.Promise
Method called when the computation fails
onFailure(Consumer<? super Throwable>) - Method in class org.smallibs.data.Try.Failure
 
onFailure(Consumer<? super Throwable>) - Method in interface org.smallibs.data.Try
 
onFailure(Consumer<? super Throwable>) - Method in class org.smallibs.data.Try.Success
 
onNone(Runnable) - Method in class org.smallibs.data.Maybe.None
 
onNone(Runnable) - Method in interface org.smallibs.data.Maybe
 
onNone(Runnable) - Method in class org.smallibs.data.Maybe.Some
 
onSome(Consumer<T>) - Method in class org.smallibs.data.Maybe.None
 
onSome(Consumer<T>) - Method in interface org.smallibs.data.Maybe
 
onSome(Consumer<T>) - Method in class org.smallibs.data.Maybe.Some
 
onSuccess(Consumer<T>) - Method in class org.smallibs.concurrent.promise.impl.SolvablePromise
 
onSuccess(Consumer<T>) - Method in interface org.smallibs.concurrent.promise.Promise
Method called when the computation succeed
onSuccess(Consumer<? super T>) - Method in class org.smallibs.data.Try.Failure
 
onSuccess(Consumer<? super T>) - Method in interface org.smallibs.data.Try
 
onSuccess(Consumer<? super T>) - Method in class org.smallibs.data.Try.Success
 
orElse(Supplier<T>) - Method in class org.smallibs.data.Maybe.None
 
orElse(T) - Method in interface org.smallibs.data.Maybe
 
orElse(Supplier<T>) - Method in interface org.smallibs.data.Maybe
 
orElse(Supplier<T>) - Method in class org.smallibs.data.Maybe.Some
 
orElseThrow(Function<? super Throwable, ? extends X>) - Method in class org.smallibs.data.Try.Failure
 
orElseThrow(Supplier<? extends X>) - Method in interface org.smallibs.data.Try
 
orElseThrow() - Method in interface org.smallibs.data.Try
 
orElseThrow(Function<? super Throwable, ? extends X>) - Method in interface org.smallibs.data.Try
 
orElseThrow(Function<? super Throwable, ? extends X>) - Method in class org.smallibs.data.Try.Success
 
org.smallibs.concurrent.execution - package org.smallibs.concurrent.execution
 
org.smallibs.concurrent.execution.impl - package org.smallibs.concurrent.execution.impl
 
org.smallibs.concurrent.promise - package org.smallibs.concurrent.promise
 
org.smallibs.concurrent.promise.impl - package org.smallibs.concurrent.promise.impl
 
org.smallibs.concurrent.utils - package org.smallibs.concurrent.utils
 
org.smallibs.control - package org.smallibs.control
 
org.smallibs.data - package org.smallibs.data
 
org.smallibs.exception - package org.smallibs.exception
 
org.smallibs.type - package org.smallibs.type
 
org.smallibs.util - package org.smallibs.util
 

P

Promise<T> - Interface in org.smallibs.concurrent.promise
A promise is a component denoting an asynchronous computation.
promise(CompletableFuture<T>) - Static method in interface org.smallibs.concurrent.utils.CompletableFutureHelper
 
PromiseHelper - Enum in org.smallibs.concurrent.promise
 
PromisesSet - Class in org.smallibs.concurrent.promise.impl
 
PromisesSet(PromisesSet.Strategy, Promise...) - Constructor for class org.smallibs.concurrent.promise.impl.PromisesSet
 
PromisesSet.Strategy - Enum in org.smallibs.concurrent.promise.impl
 

R

recoverWith(Function<? super Throwable, T>) - Method in class org.smallibs.data.Try.Failure
 
recoverWith(T) - Method in interface org.smallibs.data.Try
 
recoverWith(Function<? super Throwable, T>) - Method in interface org.smallibs.data.Try
 
recoverWith(Function<? super Throwable, T>) - Method in class org.smallibs.data.Try.Success
 
run() - Method in interface org.smallibs.concurrent.execution.Executor.RunnableWithError
 
run() - Method in class org.smallibs.concurrent.promise.impl.RunnablePromise
 
RunnablePromise<T> - Class in org.smallibs.concurrent.promise.impl
 
RunnablePromise(Callable<T>) - Constructor for class org.smallibs.concurrent.promise.impl.RunnablePromise
 

S

self() - Method in interface org.smallibs.data.Maybe
 
self() - Method in interface org.smallibs.data.Try
 
self() - Method in interface org.smallibs.type.HK
 
self() - Method in interface org.smallibs.type.HK2
 
SolvableFuture<T> - Class in org.smallibs.concurrent.promise.impl
 
SolvableFuture(Consumer<Try<T>>) - Constructor for class org.smallibs.concurrent.promise.impl.SolvableFuture
 
SolvablePromise<T> - Class in org.smallibs.concurrent.promise.impl
 
SolvablePromise() - Constructor for class org.smallibs.concurrent.promise.impl.SolvablePromise
 
solve(Try<T>) - Method in class org.smallibs.concurrent.promise.impl.SolvableFuture
 
solve(Try<T>) - Method in class org.smallibs.concurrent.promise.impl.SolvablePromise
 
SolvedPromise<T> - Class in org.smallibs.concurrent.promise.impl
 
SolvedPromise(Try<T>) - Constructor for class org.smallibs.concurrent.promise.impl.SolvedPromise
 
some(T) - Static method in interface org.smallibs.data.Maybe
 
success(T) - Static method in enum org.smallibs.concurrent.promise.PromiseHelper
 
success(T) - Static method in interface org.smallibs.data.Try
 

T

then(Function<? super T, Promise<R>>) - Method in interface org.smallibs.concurrent.promise.Promise
Method used when a new asynchronous computation must be done when the current one succeed.
toFunction(FunctionWithError<T, R>) - Static method in interface org.smallibs.util.FunctionsHelper
 
toMaybe(Try<T>) - Static method in enum org.smallibs.data.TryHelper
 
toTry(Maybe<T>) - Static method in enum org.smallibs.data.MaybeHelper
 
Try<T> - Interface in org.smallibs.data
 
Try.Failure<T> - Class in org.smallibs.data
Failure implementation
Try.Success<T> - Class in org.smallibs.data
Success implementation
TryHelper - Enum in org.smallibs.data
 

U

Unit - Enum in org.smallibs.data
 

V

valueOf(String) - Static method in enum org.smallibs.concurrent.execution.ExecutorHelper
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.smallibs.concurrent.promise.impl.PromisesSet.Strategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.smallibs.concurrent.promise.PromiseHelper
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.smallibs.data.MaybeHelper
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.smallibs.data.TryHelper
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.smallibs.data.Unit
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.smallibs.concurrent.execution.ExecutorHelper
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.smallibs.concurrent.promise.impl.PromisesSet.Strategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.smallibs.concurrent.promise.PromiseHelper
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.smallibs.data.MaybeHelper
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.smallibs.data.TryHelper
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.smallibs.data.Unit
Returns an array containing the constants of this enum type, in the order they are declared.
A C E F G H I J M N O P R S T U V 
Skip navigation links

Copyright © 2020. All rights reserved.