@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_aze = true && (is_set_aze()); list.add(present_aze); if (present_aze) list.add(aze); return list.hashCode(); }
/** 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 AZE: return is_set_aze(); } throw new IllegalStateException(); }
@Override public int compareTo(result_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(is_set_aze()).compareTo(other.is_set_aze()); if (lastComparison != 0) { return lastComparison; } if (is_set_aze()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.aze, other.aze); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(result_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(is_set_aze()).compareTo(other.is_set_aze()); if (lastComparison != 0) { return lastComparison; } if (is_set_aze()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.aze, other.aze); if (lastComparison != 0) { return lastComparison; } } return 0; }
public boolean equals(result_result that) { if (that == null) return false; boolean this_present_aze = true && this.is_set_aze(); boolean that_present_aze = true && that.is_set_aze(); if (this_present_aze || that_present_aze) { if (!(this_present_aze && that_present_aze)) return false; if (!this.aze.equals(that.aze)) return false; } return true; }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_aze = true && (is_set_aze()); list.add(present_aze); if (present_aze) list.add(aze); return list.hashCode(); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, result_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.is_set_aze()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.is_set_aze()) { struct.aze.write(oprot); } }
/** 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 AZE: return is_set_aze(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public result_result(result_result other) { if (other.is_set_aze()) { this.aze = new AuthorizationException(other.aze); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, result_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.is_set_aze()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.is_set_aze()) { struct.aze.write(oprot); } }
public boolean equals(result_result that) { if (that == null) return false; boolean this_present_aze = true && this.is_set_aze(); boolean that_present_aze = true && that.is_set_aze(); if (this_present_aze || that_present_aze) { if (!(this_present_aze && that_present_aze)) return false; if (!this.aze.equals(that.aze)) return false; } return true; }
/** * Performs a deep copy on <i>other</i>. */ public result_result(result_result other) { if (other.is_set_aze()) { this.aze = new AuthorizationException(other.aze); } }