Uses of Interface
io.blt.util.functional.ThrowingFunction
-
Uses of ThrowingFunction in io.blt.util
Modifier and TypeMethodDescriptionstatic <K,
V, E extends Throwable>
VCtr.computeIfAbsent
(Map<K, V> map, K key, ThrowingFunction<? super K, ? extends V, E> compute) For the specifiedmap
, if there is no value for the specifiedkey
thencompute
will be called and the result entered into the map.Ctr.transformValues
(Map<K, V> source, ThrowingFunction<? super V, R, E> transform)