public Complex deepCopy() { return new Complex(this); }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof Complex) return this.equals((Complex)that); return false; }
public Object getFieldValue(_Fields field) { switch (field) { case AINT: return getAint(); case A_STRING: return getAString(); case LINT: return getLint(); case L_STRING: return getLString(); case LINT_STRING: return getLintString(); case M_STRING_STRING: return getMStringString(); case ATTRIBUTES: return getAttributes(); case UNION_FIELD1: return getUnionField1(); case UNION_FIELD2: return getUnionField2(); case UNION_FIELD3: return getUnionField3(); } throw new IllegalStateException(); }
/** 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 AINT: return isSetAint(); case A_STRING: return isSetAString(); case LINT: return isSetLint(); case L_STRING: return isSetLString(); case LINT_STRING: return isSetLintString(); case M_STRING_STRING: return isSetMStringString(); case ATTRIBUTES: return isSetAttributes(); case UNION_FIELD1: return isSetUnionField1(); case UNION_FIELD2: return isSetUnionField2(); case UNION_FIELD3: return isSetUnionField3(); } throw new IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case AINT: return isSetAint(); case A_STRING: return isSetAString(); case LINT: return isSetLint(); case L_STRING: return isSetLString(); case LINT_STRING: return isSetLintString(); case M_STRING_STRING: return isSetMStringString(); } throw new IllegalStateException(); }
public Object getFieldValue(_Fields field) { switch (field) { case AINT: return new Integer(getAint()); case A_STRING: return getAString(); case LINT: return getLint(); case L_STRING: return getLString(); case LINT_STRING: return getLintString(); case M_STRING_STRING: return getMStringString(); } throw new IllegalStateException(); }
boolean this_present_aString = true && this.isSetAString(); boolean that_present_aString = true && that.isSetAString(); if (this_present_aString || that_present_aString) { if (!(this_present_aString && that_present_aString)) boolean this_present_lint = true && this.isSetLint(); boolean that_present_lint = true && that.isSetLint(); if (this_present_lint || that_present_lint) { if (!(this_present_lint && that_present_lint)) boolean this_present_lString = true && this.isSetLString(); boolean that_present_lString = true && that.isSetLString(); if (this_present_lString || that_present_lString) { if (!(this_present_lString && that_present_lString)) boolean this_present_lintString = true && this.isSetLintString(); boolean that_present_lintString = true && that.isSetLintString(); if (this_present_lintString || that_present_lintString) { if (!(this_present_lintString && that_present_lintString)) boolean this_present_mStringString = true && this.isSetMStringString(); boolean that_present_mStringString = true && that.isSetMStringString(); if (this_present_mStringString || that_present_mStringString) { if (!(this_present_mStringString && that_present_mStringString)) boolean this_present_attributes = true && this.isSetAttributes(); boolean that_present_attributes = true && that.isSetAttributes(); if (this_present_attributes || that_present_attributes) { if (!(this_present_attributes && that_present_attributes))
boolean this_present_aString = true && this.isSetAString(); boolean that_present_aString = true && that.isSetAString(); if (this_present_aString || that_present_aString) { if (!(this_present_aString && that_present_aString)) boolean this_present_lint = true && this.isSetLint(); boolean that_present_lint = true && that.isSetLint(); if (this_present_lint || that_present_lint) { if (!(this_present_lint && that_present_lint)) boolean this_present_lString = true && this.isSetLString(); boolean that_present_lString = true && that.isSetLString(); if (this_present_lString || that_present_lString) { if (!(this_present_lString && that_present_lString)) boolean this_present_lintString = true && this.isSetLintString(); boolean that_present_lintString = true && that.isSetLintString(); if (this_present_lintString || that_present_lintString) { if (!(this_present_lintString && that_present_lintString)) boolean this_present_mStringString = true && this.isSetMStringString(); boolean that_present_mStringString = true && that.isSetMStringString(); if (this_present_mStringString || that_present_mStringString) { if (!(this_present_mStringString && that_present_mStringString))
boolean present_aString = true && (isSetAString()); list.add(present_aString); if (present_aString) list.add(aString); boolean present_lint = true && (isSetLint()); list.add(present_lint); if (present_lint) list.add(lint); boolean present_lString = true && (isSetLString()); list.add(present_lString); if (present_lString) list.add(lString); boolean present_lintString = true && (isSetLintString()); list.add(present_lintString); if (present_lintString) list.add(lintString); boolean present_mStringString = true && (isSetMStringString()); list.add(present_mStringString); if (present_mStringString) list.add(mStringString); boolean present_attributes = true && (isSetAttributes()); list.add(present_attributes); if (present_attributes) list.add(attributes);
public Object getFieldValue(_Fields field) { switch (field) { case AINT: return getAint(); case A_STRING: return getAString(); case LINT: return getLint(); case L_STRING: return getLString(); case LINT_STRING: return getLintString(); case M_STRING_STRING: return getMStringString(); case ATTRIBUTES: return getAttributes(); case UNION_FIELD1: return getUnionField1(); case UNION_FIELD2: return getUnionField2(); case UNION_FIELD3: return getUnionField3(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetAint()).compareTo(typedOther.isSetAint()); if (lastComparison != 0) { return lastComparison; if (isSetAint()) { lastComparison = TBaseHelper.compareTo(this.aint, typedOther.aint); if (lastComparison != 0) { lastComparison = Boolean.valueOf(isSetAString()).compareTo(typedOther.isSetAString()); if (lastComparison != 0) { return lastComparison; if (isSetAString()) { lastComparison = TBaseHelper.compareTo(this.aString, typedOther.aString); if (lastComparison != 0) { lastComparison = Boolean.valueOf(isSetLint()).compareTo(typedOther.isSetLint()); if (lastComparison != 0) { return lastComparison; if (isSetLint()) { lastComparison = TBaseHelper.compareTo(this.lint, typedOther.lint); if (lastComparison != 0) { lastComparison = Boolean.valueOf(isSetLString()).compareTo(typedOther.isSetLString()); if (lastComparison != 0) { return lastComparison; if (isSetLString()) {
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof Complex) return this.equals((Complex)that); return false; }
public Complex deepCopy() { return new Complex(this); }
lastComparison = Boolean.valueOf(isSetAint()).compareTo(other.isSetAint()); if (lastComparison != 0) { return lastComparison; if (isSetAint()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.aint, other.aint); if (lastComparison != 0) { lastComparison = Boolean.valueOf(isSetAString()).compareTo(other.isSetAString()); if (lastComparison != 0) { return lastComparison; if (isSetAString()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.aString, other.aString); if (lastComparison != 0) { lastComparison = Boolean.valueOf(isSetLint()).compareTo(other.isSetLint()); if (lastComparison != 0) { return lastComparison; if (isSetLint()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lint, other.lint); if (lastComparison != 0) { lastComparison = Boolean.valueOf(isSetLString()).compareTo(other.isSetLString()); if (lastComparison != 0) { return lastComparison; if (isSetLString()) {
public Object getFieldValue(_Fields field) { switch (field) { case AINT: return Integer.valueOf(getAint()); case A_STRING: return getAString(); case LINT: return getLint(); case L_STRING: return getLString(); case LINT_STRING: return getLintString(); case M_STRING_STRING: return getMStringString(); case ATTRIBUTES: return getAttributes(); case UNION_FIELD1: return getUnionField1(); case UNION_FIELD2: return getUnionField2(); case UNION_FIELD3: return getUnionField3(); } throw new IllegalStateException(); }
__isset_bit_vector.or(other.__isset_bit_vector); this.aint = other.aint; if (other.isSetAString()) { this.aString = other.aString; if (other.isSetLint()) { List<Integer> __this__lint = new ArrayList<Integer>(); for (Integer other_element : other.lint) { if (other.isSetLString()) { List<String> __this__lString = new ArrayList<String>(); for (String other_element : other.lString) { if (other.isSetLintString()) { List<IntString> __this__lintString = new ArrayList<IntString>(); for (IntString other_element : other.lintString) { if (other.isSetMStringString()) { Map<String,String> __this__mStringString = new HashMap<String,String>(); for (Map.Entry<String, String> other_element : other.mStringString.entrySet()) {
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof Complex) return this.equals((Complex)that); return false; }
public Complex deepCopy() { return new Complex(this); }
__isset_bitfield = other.__isset_bitfield; this.aint = other.aint; if (other.isSetAString()) { this.aString = other.aString; if (other.isSetLint()) { List<Integer> __this__lint = new ArrayList<Integer>(other.lint); this.lint = __this__lint; if (other.isSetLString()) { List<String> __this__lString = new ArrayList<String>(other.lString); this.lString = __this__lString; if (other.isSetLintString()) { List<IntString> __this__lintString = new ArrayList<IntString>(other.lintString.size()); for (IntString other_element : other.lintString) { if (other.isSetMStringString()) { Map<String,String> __this__mStringString = new HashMap<String,String>(other.mStringString); this.mStringString = __this__mStringString; if (other.isSetAttributes()) { Map<String,Map<String,Map<String,PropValueUnion>>> __this__attributes = new HashMap<String,Map<String,Map<String,PropValueUnion>>>(other.attributes.size()); for (Map.Entry<String, Map<String,Map<String,PropValueUnion>>> other_element : other.attributes.entrySet()) { if (other.isSetUnionField1()) { this.unionField1 = new PropValueUnion(other.unionField1); if (other.isSetUnionField2()) {
public Object getFieldValue(_Fields field) { switch (field) { case AINT: return Integer.valueOf(getAint()); case A_STRING: return getAString(); case LINT: return getLint(); case L_STRING: return getLString(); case LINT_STRING: return getLintString(); case M_STRING_STRING: return getMStringString(); case ATTRIBUTES: return getAttributes(); case UNION_FIELD1: return getUnionField1(); case UNION_FIELD2: return getUnionField2(); case UNION_FIELD3: return getUnionField3(); } throw new IllegalStateException(); }