/** 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 SIGNUM: return isSetSignum(); case SCALE: return isSetScale(); case MAGNITUDE: return isSetMagnitude(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetSignum()).compareTo(other.isSetSignum()); if (lastComparison != 0) { return lastComparison; if (isSetSignum()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.signum, other.signum); if (lastComparison != 0) {
if (!struct.isSetSignum()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'signum' was not found in serialized data! Struct: " + toString());