All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gitee.beiding.template_excel.ExtractCell Maven / Gradle / Ivy

package com.gitee.beiding.template_excel;

        import java.util.Collections;
        import java.util.Map;

 abstract class ExtractCell {


     int blankToken = 0;

     Merge merge;

    void setMerge(Merge merge) {
        this.merge = merge;
    }


    void setToken(int blankToken) {
        this.blankToken = blankToken;
    }

    boolean takeToke() {
        if (blankToken > 0) {
            blankToken--;
            return true;
        }
        return false;
    }

    static Map emptyMap = Collections.emptyMap();

    //统一使用Object接受参数
    abstract Map extract(Object obj, Merge merge);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy