/** 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 MYINT: return isSetMyint(); case MY_STRING: return isSetMyString(); case UNDERSCORE_INT: return isSetUnderscore_int(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetMyint()).compareTo(other.isSetMyint()); if (lastComparison != 0) { return lastComparison; if (isSetMyint()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.myint, other.myint); if (lastComparison != 0) {
@Override public void write(org.apache.thrift.protocol.TProtocol prot, IntString struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetMyint()) { optionals.set(0); } if (struct.isSetMyString()) { optionals.set(1); } if (struct.isSetUnderscore_int()) { optionals.set(2); } oprot.writeBitSet(optionals, 3); if (struct.isSetMyint()) { oprot.writeI32(struct.myint); } if (struct.isSetMyString()) { oprot.writeString(struct.myString); } if (struct.isSetUnderscore_int()) { oprot.writeI32(struct.underscore_int); } }
/** 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 MYINT: return isSetMyint(); case MY_STRING: return isSetMyString(); case UNDERSCORE_INT: return isSetUnderscore_int(); } 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 MYINT: return isSetMyint(); case MY_STRING: return isSetMyString(); case UNDERSCORE_INT: return isSetUnderscore_int(); } 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 MYINT: return isSetMyint(); case MY_STRING: return isSetMyString(); case UNDERSCORE_INT: return isSetUnderscore_int(); } 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 MYINT: return isSetMyint(); case MY_STRING: return isSetMyString(); case UNDERSCORE_INT: return isSetUnderscore_int(); } 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 MYINT: return isSetMyint(); case MY_STRING: return isSetMyString(); case UNDERSCORE_INT: return isSetUnderscore_int(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetMyint()).compareTo(other.isSetMyint()); if (lastComparison != 0) { return lastComparison; if (isSetMyint()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.myint, other.myint); if (lastComparison != 0) {
IntString typedOther = (IntString)other; lastComparison = Boolean.valueOf(isSetMyint()).compareTo(typedOther.isSetMyint()); if (lastComparison != 0) { return lastComparison; if (isSetMyint()) { lastComparison = TBaseHelper.compareTo(this.myint, typedOther.myint); if (lastComparison != 0) {
IntString typedOther = (IntString)other; lastComparison = Boolean.valueOf(isSetMyint()).compareTo(typedOther.isSetMyint()); if (lastComparison != 0) { return lastComparison; if (isSetMyint()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.myint, typedOther.myint); if (lastComparison != 0) {
IntString typedOther = (IntString)other; lastComparison = Boolean.valueOf(isSetMyint()).compareTo(typedOther.isSetMyint()); if (lastComparison != 0) { return lastComparison; if (isSetMyint()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.myint, typedOther.myint); if (lastComparison != 0) {
IntString typedOther = (IntString)other; lastComparison = Boolean.valueOf(isSetMyint()).compareTo(typedOther.isSetMyint()); if (lastComparison != 0) { return lastComparison; if (isSetMyint()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.myint, typedOther.myint); if (lastComparison != 0) {
@Override public void write(org.apache.thrift.protocol.TProtocol prot, IntString struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetMyint()) { optionals.set(0); } if (struct.isSetMyString()) { optionals.set(1); } if (struct.isSetUnderscore_int()) { optionals.set(2); } oprot.writeBitSet(optionals, 3); if (struct.isSetMyint()) { oprot.writeI32(struct.myint); } if (struct.isSetMyString()) { oprot.writeString(struct.myString); } if (struct.isSetUnderscore_int()) { oprot.writeI32(struct.underscore_int); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, IntString struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetMyint()) { optionals.set(0); } if (struct.isSetMyString()) { optionals.set(1); } if (struct.isSetUnderscore_int()) { optionals.set(2); } oprot.writeBitSet(optionals, 3); if (struct.isSetMyint()) { oprot.writeI32(struct.myint); } if (struct.isSetMyString()) { oprot.writeString(struct.myString); } if (struct.isSetUnderscore_int()) { oprot.writeI32(struct.underscore_int); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, IntString struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetMyint()) { optionals.set(0); } if (struct.isSetMyString()) { optionals.set(1); } if (struct.isSetUnderscore_int()) { optionals.set(2); } oprot.writeBitSet(optionals, 3); if (struct.isSetMyint()) { oprot.writeI32(struct.myint); } if (struct.isSetMyString()) { oprot.writeString(struct.myString); } if (struct.isSetUnderscore_int()) { oprot.writeI32(struct.underscore_int); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, IntString struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetMyint()) { optionals.set(0); } if (struct.isSetMyString()) { optionals.set(1); } if (struct.isSetUnderscore_int()) { optionals.set(2); } oprot.writeBitSet(optionals, 3); if (struct.isSetMyint()) { oprot.writeI32(struct.myint); } if (struct.isSetMyString()) { oprot.writeString(struct.myString); } if (struct.isSetUnderscore_int()) { oprot.writeI32(struct.underscore_int); } }