@Override public int compareTo(HawkChangeEvent other) { int lastComparison = org.apache.thrift.TBaseHelper.compareTo(getSetField(), other.getSetField()); if (lastComparison == 0) { return org.apache.thrift.TBaseHelper.compareTo(getFieldValue(), other.getFieldValue()); } return lastComparison; }
public boolean equals(HawkChangeEvent other) { return other != null && getSetField() == other.getSetField() && getFieldValue().equals(other.getFieldValue()); }