com.opencredo.concourse.domain.functional.Consumers Maven / Gradle / Ivy
package com.opencredo.concourse.domain.functional;
import java.util.function.Consumer;
import java.util.function.Function;
public final class Consumers {
private Consumers() {
}
public static Consumer transform(Consumer c, Function f) {
return i -> c.accept(f.apply(i));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy