in messages/src/main/java/com/epam/deltix/timebase/messages/schema/IntegralFieldType.java [162:193]
public boolean equals(Object obj) {
if (this == obj) return true;
boolean superEquals = super.equals(obj);
if (!superEquals) return false;
if (!(obj instanceof IntegralFieldType)) return false;
IntegralFieldType other =(IntegralFieldType)obj;
if (hasMinValue() != other.hasMinValue()) return false;
if (hasMinValue()) {
if (getMinValue().length() != other.getMinValue().length()) return false; else {
CharSequence s1 = getMinValue();
CharSequence s2 = other.getMinValue();
if ((s1 instanceof MutableString && s2 instanceof MutableString) || (s1 instanceof String && s2 instanceof String) || (s1 instanceof BinaryAsciiString && s2 instanceof BinaryAsciiString)) {
if (!s1.equals(s2)) return false;
} else {
if (!CharSequenceUtils.equals(s1, s2)) return false;
}
}
}
if (hasMaxValue() != other.hasMaxValue()) return false;
if (hasMaxValue()) {
if (getMaxValue().length() != other.getMaxValue().length()) return false; else {
CharSequence s1 = getMaxValue();
CharSequence s2 = other.getMaxValue();
if ((s1 instanceof MutableString && s2 instanceof MutableString) || (s1 instanceof String && s2 instanceof String) || (s1 instanceof BinaryAsciiString && s2 instanceof BinaryAsciiString)) {
if (!s1.equals(s2)) return false;
} else {
if (!CharSequenceUtils.equals(s1, s2)) return false;
}
}
}
return true;
}