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

holmos.reflect.reflectCheck.difference.HolmosClassDifference Maven / Gradle / Ivy

package holmos.reflect.reflectCheck.difference;

import holmos.reflect.reflectCheck.HolmosDifferenceVisitor;

/**类的类型区别类
 * @author 吴银龙(15857164387)
 * */
public class HolmosClassDifference extends HolmosDifference{
	/***/
	private Class leftClass;
	/***/
    public Class getLeftClass() {
		return leftClass;
	}
    /***/
	public Class getRightClass() {
		return rightClass;
	}
	/***/
	private Class rightClass;
	/**HolmosClassDifference的构造器
* @param left 参与比较的第一个参数,左参数 * @param right 参与比较的第二个参数,右参数 * @param message 描述两个参与比较的参数的不同的信息*/ public HolmosClassDifference(Object leftValue, Object rightValue,ClassleftClass, ClassrightClass,String message) { super(leftValue, rightValue, message); this.leftClass=leftClass; this.rightClass=rightClass; } @Override public T accept(HolmosDifferenceVisitor visitor, A argument) { return visitor.visit(this, argument); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy