@Override public boolean equals(DataValue v) { if (v == null) return false; if (Types.isNumericType(v.getDataType())) { return this.compareTo(v) == 0; } else { return false; } }
@Override public boolean supportsCompare(DataValue dv2) { return Types.isNumericType(dv2.getDataType()); }