JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
SEARCH:
JavaScript is disabled on your browser.
A
C
E
F
G
H
I
M
N
O
P
R
S
T
V
A
accept(Function<TApp<M, A, Self>, T>)
- Method in interface org.smallibs.type.
TApp
accept(Function<TApp<Maybe, T, Maybe<T>>, R>)
- Method in class org.smallibs.data.
Maybe
accept(Function<TApp<Try, T, Try<T>>, R>)
- Method in class org.smallibs.data.
Try
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(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>)
- Method in class org.smallibs.concurrent.asynchronous.impl.
ExecutorImpl
await(Promise<T>, long, TimeUnit)
- Method in interface org.smallibs.concurrent.asynchronous.
Executor
Await method for a given duration
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()
- Method in class org.smallibs.data.
Try
failure(Throwable)
- Static method in class org.smallibs.concurrent.promise.
PromiseHelper
failure(Throwable)
- Static method in class org.smallibs.data.
Try
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 class org.smallibs.data.
Maybe
filter(Predicate<? super T>)
- Method in class org.smallibs.data.
Try
Filter
<
M
,
A
,
Self
extends
TApp
<
M
,
A
,
Self
>> - Interface in
org.smallibs.control
Filter interface
FilterException
- Exception in
org.smallibs.exception
FilterException()
- Constructor for exception org.smallibs.exception.
FilterException
flatmap(Function<? super A, TApp<M, B, NSelf>>)
- Method in interface org.smallibs.control.
Monad
flatmap(Function<? super T, Promise<R>>)
- Method in interface org.smallibs.concurrent.promise.
Promise
Method use to flatmap a function.
flatmap(Function<? super T, Maybe<B>>)
- Method in class org.smallibs.data.
Maybe
flatmap(Function<? super T, Try<B>>)
- Method in class 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()
- Method in class org.smallibs.data.
Maybe
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 class org.smallibs.data.
Maybe
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 class org.smallibs.data.
Try
M
map(Function<? super A, B>)
- Method in interface org.smallibs.control.
Functor
map(Function<? super T, B>)
- Method in class org.smallibs.data.
Maybe
map(Function<? super T, B>)
- Method in class org.smallibs.data.
Try
map(FunctionWithError<? super T, R>)
- Method in interface org.smallibs.concurrent.promise.
Promise
Method use to map a function.
Maybe
<
T
> - Class in
org.smallibs.data
MaybeHelper
- Class in
org.smallibs.data
monad(Promise<T>)
- Static method in class org.smallibs.concurrent.promise.
PromiseHelper
monad(Maybe<T>)
- Static method in class org.smallibs.data.
MaybeHelper
monad(Try<T>)
- Static method in class org.smallibs.data.
TryHelper
Monad
<
M
,
A
,
Self
extends
TApp
<
M
,
A
,
Self
>> - Interface in
org.smallibs.control
N
none()
- Static method in class org.smallibs.data.
Maybe
NoValueException
- Exception in
org.smallibs.exception
NoValueException()
- Constructor for exception org.smallibs.exception.
NoValueException
O
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
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<Throwable>)
- Method in class org.smallibs.data.
Try
onSome(Consumer<T>)
- Method in class org.smallibs.data.
Maybe
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<T>)
- Method in class org.smallibs.data.
Try
orElse(Supplier<T>)
- Method in class org.smallibs.data.
Maybe
orElse(T)
- Method in class org.smallibs.data.
Maybe
orElseRetrieveAndThrow()
- Method in class org.smallibs.data.
Try
orElseRetrieveAndThrow(Function<Throwable, ? extends X>)
- Method in class org.smallibs.data.
Try
orElseThrow(Supplier<? extends X>)
- Method in class org.smallibs.data.
Try
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
- Class in
org.smallibs.concurrent.promise
pure(A)
- Static method in class org.smallibs.control.
Free
R
recoverWith(Function<Throwable, T>)
- Method in class org.smallibs.data.
Try
recoverWith(T)
- Method in class org.smallibs.data.
Try
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 class org.smallibs.data.
Maybe
self()
- Method in class 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 class org.smallibs.data.
Maybe
success()
- Method in class org.smallibs.data.
Try
success(T)
- Static method in class org.smallibs.concurrent.promise.
PromiseHelper
success(T)
- Static method in class 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 class org.smallibs.data.
TryHelper
toTry(Maybe<T>)
- Static method in class org.smallibs.data.
MaybeHelper
Try
<
T
> - Class in
org.smallibs.data
TryHelper
- Class in
org.smallibs.data
TryHelper()
- Constructor for class org.smallibs.data.
TryHelper
V
valueOf(String)
- Static method in enum org.smallibs.concurrent.asynchronous.
ExecutorBuilder
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.
A
C
E
F
G
H
I
M
N
O
P
R
S
T
V
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
JavaScript is disabled on your browser.
Copyright © 2017. All rights reserved.