liqp.nodes.GtNode Maven / Gradle / Ivy
package liqp.nodes;
import liqp.exceptions.IncompatibleTypeComparisonException;
import java.util.Optional;
public class GtNode extends ComparingExpressionNode {
public GtNode(LNode lhs, LNode rhs) {
super(lhs, rhs, true);
}
@SuppressWarnings("unchecked")
@Override
Object doCompare(Object a, Object b, boolean strictTypedExpressions) {
if (a instanceof Comparable && a.getClass().isInstance(b)) {
return ((Comparable
© 2015 - 2025 Weber Informatics LLC | Privacy Policy