@Override
	public boolean equals(Object o) {
		if (o == this) {
			return true;
		}
		if (o == null) {
			return false;
		}

		if (!(getClass().equals(o.getClass()))) {
			return false;
		}

		SingleValueColumnConstraint<?> otherConstraint = (SingleValueColumnConstraint<?>) o;

		return getConstraintValue().equals(otherConstraint.getConstraintValue());

	}
subclasses must override to generate new versions of themselves but with new comparison value.

@param newValue the new value to compare column values against.
@return a new ColumnConstraint that is the same type as this constraint but with a new comparison value.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/constraint/SingleValueColumnConstraint.java