Uses of Class
org.klojang.check.aux.Result
Package
Description
The central package of this Java module.
A small collection of classes and interfaces that do not themselves take part in
the validation framework, but are treated as first-class citizens by it.
-
Uses of Result in org.klojang.check
Modifier and TypeMethodDescriptionstatic <T> ComposablePredicate
<Result<T>> CommonChecks.available()
Verifies that a result is available. -
Uses of Result in org.klojang.check.aux
Modifier and TypeMethodDescriptionstatic <T> Result
<T> Result.notAvailable()
Returns a specialResult
instance signifying the absence of a result.static <T> Result
<T> Result.of
(T value) Returns aResult
containing the specified value (possiblynull
).Returns thisResult
if it contains a proper result value (possiblynull
), else the providedResult
.