in messages/src/main/java/com/epam/deltix/timebase/messages/universal/L3EntryNew.java [217:240]
public boolean equals(Object obj) {
if (this == obj) return true;
boolean superEquals = super.equals(obj);
if (!superEquals) return false;
if (!(obj instanceof L3EntryNewInfo)) return false;
L3EntryNewInfo other =(L3EntryNewInfo)obj;
if (hasSide() != other.hasSide()) return false;
if (hasSide() && getSide() != other.getSide()) return false;
if (hasInsertType() != other.hasInsertType()) return false;
if (hasInsertType() && getInsertType() != other.getInsertType()) return false;
if (hasInsertBeforeQuoteId() != other.hasInsertBeforeQuoteId()) return false;
if (hasInsertBeforeQuoteId()) {
if (getInsertBeforeQuoteId().length() != other.getInsertBeforeQuoteId().length()) return false; else {
CharSequence s1 = getInsertBeforeQuoteId();
CharSequence s2 = other.getInsertBeforeQuoteId();
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;
}