GtCompare.java 376 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
package cn.timer.api.utils.router;

import cn.hutool.core.util.NumberUtil;

public class GtCompare extends Compare {

	public GtCompare(){
		super();
	}
	
	public GtCompare(String strA, String strB){
		super(strA,strB);
	}

	@Override
	public boolean GetResutl() {
		return NumberUtil.compare(Double.parseDouble(strA),Double.parseDouble(strB)) == 1 
				? true : false;
	}

}