C E F H I M O R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- catching(Class<E>) - Static method in class ch.codexs.util.Result
- ch.codexs.util - package ch.codexs.util
- combineAllSuccessful(Collection<Result<T, I>>) - Static method in class ch.codexs.util.Result
-
Combines the provided results into one single
Result<List<T>, I>. - combineWith(Result<U, I>) - Method in class ch.codexs.util.Result
-
Combines this result with another one
E
- elseGetContent() - Method in class ch.codexs.util.Result.ElseValueProcessor
-
Get the content, null or non-null.
- ElseValueProcessor() - Constructor for class ch.codexs.util.Result.ElseValueProcessor
- equals(Object) - Method in class ch.codexs.util.Result
F
- failed(I, I...) - Static method in class ch.codexs.util.Result
-
Builds a result without a content (failed).
- failed(List<I>) - Static method in class ch.codexs.util.Result
-
Builds a result without a content (failed).
- flatMap(Function<T, Result<U, I>>) - Method in class ch.codexs.util.Result
-
Map the content (if any) to another
Result.
H
- hasFailed() - Method in class ch.codexs.util.Result
-
Indicates if the result has failed, in other words, is there a content in it.
- hashCode() - Method in class ch.codexs.util.Result
I
- ifFailedDo(Consumer<List<I>>) - Method in class ch.codexs.util.Result
-
Give conditional access to the issues.
- ifFailedTransform(Function<List<I>, R>) - Method in class ch.codexs.util.Result
-
Transforms the issues into an output in case of missing content, using the given function.
- ifIssuesExistDo(Consumer<List<I>>) - Method in class ch.codexs.util.Result
-
Give conditional access to the issues.
- ifSucceededDo(BiConsumer<T, List<I>>) - Method in class ch.codexs.util.Result.ValueProcessor
-
Give conditional access to the content and the issues.
- ifSucceededDo(Consumer<T>) - Method in class ch.codexs.util.Result.ValueProcessor
-
Give conditional access to the content.
- issues() - Method in class ch.codexs.util.Result
-
Get the issues.
M
- map(Function<T, U>) - Method in class ch.codexs.util.Result
-
Map the content (if any).
- mapBoth(Function<T, U>, Function<I, J>) - Method in class ch.codexs.util.Result
-
Map both the content and the issues to build a new
Resultwith them. - mapIssues(Function<I, J>) - Method in class ch.codexs.util.Result
-
Map the issues to transform them.
- mergeFlatMap(BiFunction<T, U, Result<V, I>>) - Method in class ch.codexs.util.Result.BiCombiner
- mergeMap(BiFunction<T, U, V>) - Method in class ch.codexs.util.Result.BiCombiner
-
Merges the contents of the two results.
O
- orElse(Function<List<I>, T>) - Method in class ch.codexs.util.Result.IssueTransformer
-
Transforms the issues into a returned value.
- orElseUnwrap(BiFunction<T, List<I>, R>) - Method in class ch.codexs.util.Result.ValueTransformer
-
Give access to both the content and the issues in order to build an output.
R
- Result<T,I> - Class in ch.codexs.util
- Result(T, List<I>) - Constructor for class ch.codexs.util.Result
-
Construct a
Resultin a simple way. - Result.BiCombiner<U> - Class in ch.codexs.util
- Result.Catcher<E extends java.lang.Throwable> - Class in ch.codexs.util
- Result.ElseValueProcessor - Class in ch.codexs.util
- Result.IssueTransformer<T,I> - Class in ch.codexs.util
- Result.ThenValueProcessor - Class in ch.codexs.util
- Result.ThrowingSupplier<T,E extends java.lang.Throwable> - Interface in ch.codexs.util
- Result.ValueProcessor - Class in ch.codexs.util
- Result.ValueTransformer<R> - Class in ch.codexs.util
- run(Result.ThrowingSupplier<T, E>) - Method in class ch.codexs.util.Result.Catcher
-
Runs the provided
ThrowingSupplier, gets its result and build aResultout of it.
S
- succeeded(U) - Static method in class ch.codexs.util.Result
-
Builds a result with a content.
- succeeded(U, I, I...) - Static method in class ch.codexs.util.Result
-
Builds a result with a content and issues.
- supply() - Method in interface ch.codexs.util.Result.ThrowingSupplier
T
- thenGetContent() - Method in class ch.codexs.util.Result.ThenValueProcessor
-
Get the content, null or non-null.
- ThenValueProcessor() - Constructor for class ch.codexs.util.Result.ThenValueProcessor
U
- unwrap(BiFunction<T, List<I>, U>) - Method in class ch.codexs.util.Result
-
Give access to both the content and the issues in order to build an output.
V
- ValueProcessor() - Constructor for class ch.codexs.util.Result.ValueProcessor
W
- withAddedIssues(I...) - Method in class ch.codexs.util.Result
-
Creates a new
Result, copy of this one, but with added issues at the end. - withAddedIssues(Iterable<I>...) - Method in class ch.codexs.util.Result
-
Creates a new
Result, copy of this one, but with added issues at the end.
All Classes All Packages