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

org.genx.javadoc.vo.JavaDocVO Maven / Gradle / Ivy

package org.genx.javadoc.vo;

import org.apache.commons.lang3.StringUtils;

import java.util.HashMap;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * Description: 
 * @author genx
 * @date 2020/3/6 22:53
 */
public class JavaDocVO {
    private Map classDocs = new HashMap(2048);

    private Map includeClassDocs = new HashMap(2048);


    public Map getClassDocs() {
        return classDocs;
    }

    public void setClassDocs(Map classDocs) {
        this.classDocs = classDocs;
    }

    public Map getIncludeClassDocs() {
        return includeClassDocs;
    }

    public void setIncludeClassDocs(Map includeClassDocs) {
        this.includeClassDocs = includeClassDocs;
    }

    public ClassDocVO getClassDoc(String className) {
        if (StringUtils.isBlank(className)) {
            return null;
        }
        ClassDocVO result = this.classDocs.get(className);
        if (result != null) {
            return result;
        }
        return this.includeClassDocs.get(className);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy