if (other.is_set_emitted()) { java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>> __this__emitted = new java.util.HashMap<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>>(other.emitted.size()); for (java.util.Map.Entry<java.lang.String, java.util.Map<java.lang.String,java.lang.Long>> other_element : other.emitted.entrySet()) {
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); } switch (field) { case EMITTED: return is_set_emitted(); case TRANSFERRED: return is_set_transferred(); case SPECIFIC: return is_set_specific(); case RATE: return is_set_rate(); } throw new java.lang.IllegalStateException(); }
@Override public int hashCode() { int hashCode = 1; hashCode = hashCode * 8191 + ((is_set_emitted()) ? 131071 : 524287); if (is_set_emitted()) hashCode = hashCode * 8191 + emitted.hashCode(); hashCode = hashCode * 8191 + ((is_set_transferred()) ? 131071 : 524287); if (is_set_transferred()) hashCode = hashCode * 8191 + transferred.hashCode(); hashCode = hashCode * 8191 + ((is_set_specific()) ? 131071 : 524287); if (is_set_specific()) hashCode = hashCode * 8191 + specific.hashCode(); hashCode = hashCode * 8191 + org.apache.storm.thrift.TBaseHelper.hashCode(rate); return hashCode; }
return true; boolean this_present_emitted = true && this.is_set_emitted(); boolean that_present_emitted = true && that.is_set_emitted(); if (this_present_emitted || that_present_emitted) { if (!(this_present_emitted && that_present_emitted))
lastComparison = java.lang.Boolean.valueOf(is_set_emitted()).compareTo(other.is_set_emitted()); if (lastComparison != 0) { return lastComparison; if (is_set_emitted()) { lastComparison = org.apache.storm.thrift.TBaseHelper.compareTo(this.emitted, other.emitted); if (lastComparison != 0) {
public void validate() throws org.apache.storm.thrift.TException { // check for required fields if (!is_set_emitted()) { throw new org.apache.storm.thrift.protocol.TProtocolException("Required field 'emitted' is unset! Struct:" + toString()); } if (!is_set_transferred()) { throw new org.apache.storm.thrift.protocol.TProtocolException("Required field 'transferred' is unset! Struct:" + toString()); } if (!is_set_specific()) { throw new org.apache.storm.thrift.protocol.TProtocolException("Required field 'specific' is unset! Struct:" + toString()); } if (!is_set_rate()) { throw new org.apache.storm.thrift.protocol.TProtocolException("Required field 'rate' is unset! Struct:" + toString()); } // check for sub-struct validity }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_emitted = true && (is_set_emitted()); list.add(present_emitted); if (present_emitted) list.add(emitted); boolean present_transferred = true && (is_set_transferred()); list.add(present_transferred); if (present_transferred) list.add(transferred); boolean present_specific = true && (is_set_specific()); list.add(present_specific); if (present_specific) list.add(specific); boolean present_rate = true; list.add(present_rate); if (present_rate) list.add(rate); return list.hashCode(); }
if (other.is_set_emitted()) { Map<String,Map<String,Long>> __this__emitted = new HashMap<String,Map<String,Long>>(other.emitted.size()); for (Map.Entry<String, Map<String,Long>> other_element : other.emitted.entrySet()) {
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case EMITTED: return is_set_emitted(); case TRANSFERRED: return is_set_transferred(); case SPECIFIC: return is_set_specific(); case RATE: return is_set_rate(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(is_set_emitted()).compareTo(other.is_set_emitted()); if (lastComparison != 0) { return lastComparison; if (is_set_emitted()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.emitted, other.emitted); if (lastComparison != 0) {
return false; boolean this_present_emitted = true && this.is_set_emitted(); boolean that_present_emitted = true && that.is_set_emitted(); if (this_present_emitted || that_present_emitted) { if (!(this_present_emitted && that_present_emitted))
public void validate() throws org.apache.thrift.TException { // check for required fields if (!is_set_emitted()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'emitted' is unset! Struct:" + toString()); } if (!is_set_transferred()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'transferred' is unset! Struct:" + toString()); } if (!is_set_specific()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'specific' is unset! Struct:" + toString()); } if (!is_set_rate()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'rate' is unset! Struct:" + toString()); } // check for sub-struct validity }