- mustExist
Ensures that the given map contains the specified key and returns the mapped
value. Otherwise, an ex
- mustBeTrue
Ensures that the given Boolean test value is true. Otherwise, an exception
specified by the given ex
- withMessage
Creates a supplier of a custom Throwable that is constructed using a given
(lazily evaluated) messag
- ifAbsent
Returns the given value if it is non- null, otherwise a value produced by the
given supplier is retu
- give
Obtains a checked supplier of the given value. The supplier's type parameter
indicates that it may
- ifEither
A hybrid of #ifPresent(Object,CheckedFunction) and
#ifAbsent(Object,CheckedSupplier), returning the
- ifPresent
Evaluates a given mapper function, passing it the given value if the latter is
non- null, returning
- mapCollection
Maps elements from the source collection to a new collection instance, using the
given mapping funct
- mustBeEqual
Ensures that the given expected and actual values are equal. Otherwise, an
exception specified by th
- mustBeFalse
Ensures that the given Boolean test value is false. Otherwise, an exception
specified by the given e
- parallelMapStream
Collects elements from the source stream in parallel, having applied a mapping
function, to a new co