Package io.datarouter.bytes
Class ReplacingFunction.NullReplacingFunction<A,B>
java.lang.Object
io.datarouter.bytes.ReplacingFunction<A,B>
io.datarouter.bytes.ReplacingFunction.NullReplacingFunction<A,B>
- All Implemented Interfaces:
Function<A,B>
- Direct Known Subclasses:
ReplacingFunction.NullPassthroughFunction
- Enclosing class:
- ReplacingFunction<A,
B>
Replace nulls with something provided by the Supplier
-
Nested Class Summary
Nested classes/interfaces inherited from class io.datarouter.bytes.ReplacingFunction
ReplacingFunction.NullPassthroughFunction<A,B>, ReplacingFunction.NullReplacingFunction<A, B> -
Method Summary
Methods inherited from class io.datarouter.bytes.ReplacingFunction
apply, of
-
Method Details
-
of
public static <A,B> ReplacingFunction.NullReplacingFunction<A,B> of(Function<A, B> function, Supplier<B> replacementSupplier)
-