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

A

accept(Function<TApp<Maybe, T, Maybe<T>>, R>) - Method in interface org.smallibs.data.Maybe
 
accept(Function<TApp<Try, T, Try<T>>, R>) - Method in interface org.smallibs.data.Try
 
accept(Function<TApp<M, A, Self>, T>) - Method in interface org.smallibs.type.TApp
 
and(FunctionWithError<? super T, R>) - Method in interface org.smallibs.concurrent.promise.Promise
Method use when a new computation must be done when the current one succeed.
Applicative<M,A,Self extends TApp<M,A,Self>> - Interface in org.smallibs.control
 
apply(Functor<M, Function<? super A, ? extends B>, ?>) - Method in interface org.smallibs.control.Applicative
 
apply(T) - Method in interface org.smallibs.util.FunctionWithError
 
async(Callable<T>) - Method in interface org.smallibs.concurrent.asynchronous.Executor
Async method
async(Callable<T>) - Method in class org.smallibs.concurrent.asynchronous.impl.ExecutorImpl
 
await(Promise<T>) - Method in interface org.smallibs.concurrent.asynchronous.Executor
Await method
await(Promise<T>, long, TimeUnit) - Method in interface org.smallibs.concurrent.asynchronous.Executor
Await method for a given duration
await(Promise<T>) - Method in class org.smallibs.concurrent.asynchronous.impl.ExecutorImpl
 
await(Promise<T>, long, TimeUnit) - Method in class org.smallibs.concurrent.asynchronous.impl.ExecutorImpl
 

C

cancel(boolean) - Method in class org.smallibs.concurrent.promise.impl.RunnablePromise
 
create(ExecutorService) - Static method in enum org.smallibs.concurrent.asynchronous.ExecutorBuilder
Factory

E

Executor - Interface in org.smallibs.concurrent.asynchronous
 
ExecutorBuilder - Enum in org.smallibs.concurrent.asynchronous
Asynchronous execution builder
ExecutorImpl - Class in org.smallibs.concurrent.asynchronous.impl
Asynchronous execution media
ExecutorImpl(ExecutorService) - Constructor for class org.smallibs.concurrent.asynchronous.impl.ExecutorImpl
Constructor

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 TApp<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 use to flatmap a function.
flatmap(Function<? super A, TApp<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
 
Free<M,A> - Class in org.smallibs.control
Free Monad
fromFunction(Function<T, R>) - Static method in interface org.smallibs.util.FunctionsWithError
 
FunctionsWithError - Interface in org.smallibs.util
 
FunctionWithError<T,R> - Interface in org.smallibs.util
 
Functor<M,A,Self extends TApp<M,A,Self>> - Interface in org.smallibs.control
 

G

get() - Method in class org.smallibs.concurrent.promise.impl.RunnablePromise
 
get(long, TimeUnit) - Method in class org.smallibs.concurrent.promise.impl.RunnablePromise
 
getFuture() - Method in class org.smallibs.concurrent.promise.impl.RunnablePromise
 
getFuture() - Method in class org.smallibs.concurrent.promise.impl.SolvedPromise
 
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
 

I

impure(TApp<M, Free<M, A>, Self>) - Static method in class org.smallibs.control.Free
 
isCancelled() - Method in class org.smallibs.concurrent.promise.impl.RunnablePromise
 
isDone() - Method in class org.smallibs.concurrent.promise.impl.RunnablePromise
 
isSuccess() - Method in interface org.smallibs.data.Try
 

M

map(FunctionWithError<? super T, R>) - Method in interface org.smallibs.concurrent.promise.Promise
Method use to map a function.
map(Function<? super A, B>) - Method in interface org.smallibs.control.Functor
 
map(Function<? super T, B>) - Method in interface org.smallibs.data.Maybe
 
map(Function<? super T, 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 TApp<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.RunnablePromise
 
onComplete(Consumer<Try<T>>) - Method in class org.smallibs.concurrent.promise.impl.SolvedPromise
 
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.RunnablePromise
 
onFailure(Consumer<Throwable>) - Method in class org.smallibs.concurrent.promise.impl.SolvedPromise
 
onFailure(Consumer<Throwable>) - Method in interface org.smallibs.concurrent.promise.Promise
Callback 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
 
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.RunnablePromise
 
onSuccess(Consumer<T>) - Method in class org.smallibs.concurrent.promise.impl.SolvedPromise
 
onSuccess(Consumer<T>) - Method in interface org.smallibs.concurrent.promise.Promise
Callback 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.asynchronous - package org.smallibs.concurrent.asynchronous
 
org.smallibs.concurrent.asynchronous.impl - package org.smallibs.concurrent.asynchronous.impl
 
org.smallibs.concurrent.promise - package org.smallibs.concurrent.promise
 
org.smallibs.concurrent.promise.impl - package org.smallibs.concurrent.promise.impl
 
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.
PromiseException - Exception in org.smallibs.exception
 
PromiseException(Throwable) - Constructor for exception org.smallibs.exception.PromiseException
 
PromiseHelper - Enum in org.smallibs.concurrent.promise
 
pure(A) - Static method in class org.smallibs.control.Free
 

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

TApp<M,A,Self extends TApp<M,A,Self>> - Interface in org.smallibs.type
 
then(Function<? super T, Promise<R>>) - Method in interface org.smallibs.concurrent.promise.Promise
Method use when a new asynchronous computation must be done when the current one succeed.
toFunction(FunctionWithError<T, R>) - Static method in interface org.smallibs.util.FunctionsWithError
 
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
 

V

valueOf(String) - Static method in enum org.smallibs.concurrent.asynchronous.ExecutorBuilder
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.
values() - Static method in enum org.smallibs.concurrent.asynchronous.ExecutorBuilder
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.
A C E F G H I M N O P R S T V 
Skip navigation links

Copyright © 2017. All rights reserved.