package cn.timer.api.utils.router; import cn.hutool.core.util.NumberUtil; public class LtCompare extends Compare { public LtCompare(){ super(); } public LtCompare(String strA, String strB){ super(strA,strB); } @Override public boolean GetResutl() { return NumberUtil.compare(Double.parseDouble(strA),Double.parseDouble(strB)) == -1 ? true : false; } }