F - The Type of AtlanticFunction that this consumer can be converted to.public interface AtlanticConsumer<PARAM,NEXT extends AtlanticLambda,F extends AtlanticFunction> extends AtlanticLambda
AtlanticFunction that always returns null and has a Void return type.| Modifier and Type | Method and Description |
|---|---|
default NEXT |
downgrade(PARAM param)
Converts this
AtlanticFunction into another that has the same parameters save for the first one. |
NEXT |
downgrade(Supplier<PARAM> paramSupplier) |
F |
toFunction()
Converts this consumer into an
AtlanticFunction that executes this consumer and then returns null. |
default NEXT downgrade(PARAM param)
AtlanticFunction into another that has the same parameters save for the first one. Invocation
of the returned AtlanticLambda will call this one with the provided parameter.param - The parameter that will be passed to this AtlanticFunction.F toFunction()
AtlanticFunction that executes this consumer and then returns null.Copyright © 2019. All rights reserved.