io.github.kongweiguang.bus.core.Oper Maven / Gradle / Ivy
package io.github.kongweiguang.bus.core;
import java.util.HashMap;
import java.util.Map;
import java.util.StringJoiner;
import java.util.function.Consumer;
import static java.util.Objects.isNull;
import static java.util.Objects.nonNull;
/**
* 操作
*
* @param 操作的内容类型
* @param 合并后返回的结果类型
* @author kongweiguang
*/
public final class Oper {
private final long id;
private final String branch;
private final C content;
private Consumer call;
private Map