/** 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 NUM_VALUES: return isSetNum_values(); case ENCODING: return isSetEncoding(); case IS_SORTED: return isSetIs_sorted(); } 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 NUM_VALUES: return isSetNum_values(); case ENCODING: return isSetEncoding(); case IS_SORTED: return isSetIs_sorted(); } throw new IllegalStateException(); }
DictionaryPageHeader typedOther = (DictionaryPageHeader)other; lastComparison = Boolean.valueOf(isSetNum_values()).compareTo(typedOther.isSetNum_values()); if (lastComparison != 0) { return lastComparison; if (isSetNum_values()) { lastComparison = TBaseHelper.compareTo(this.num_values, typedOther.num_values); if (lastComparison != 0) {
DictionaryPageHeader typedOther = (DictionaryPageHeader)other; lastComparison = Boolean.valueOf(isSetNum_values()).compareTo(typedOther.isSetNum_values()); if (lastComparison != 0) { return lastComparison; if (isSetNum_values()) { lastComparison = TBaseHelper.compareTo(this.num_values, typedOther.num_values); if (lastComparison != 0) {
if (!isSetNum_values()) { throw new TProtocolException("Required field 'num_values' was not found in serialized data! Struct: " + toString());
if (!isSetNum_values()) { throw new TProtocolException("Required field 'num_values' was not found in serialized data! Struct: " + toString());