yijunyu/c-to-rust huggingface dataset:
// Original:
public final int compareTo(AnyObjectId other) {if (this == other)return 0;int cmp;cmp = NB.compareUInt32(w1, other.w1);if (cmp != 0)return cmp;cmp = NB.compareUInt32(w2, other.w2);if (cmp != 0)return cmp;cmp = NB.compareUInt32(w3, other.w3);if (cmp != 0)return cmp;cmp = NB.compareUInt32(w4, other.w4);if (cmp != 0)return cmp;return NB.compareUInt32(w5, other.w5);}

// Translation:
public int CompareTo(AnyObjectId other){if (this == other){return 0;}int cmp;cmp = NB.CompareUInt32(w1, other.w1);if (cmp != 0){return cmp;}cmp = NB.CompareUInt32(w2, other.w2);if (cmp != 0){return cmp;}cmp = NB.CompareUInt32(w3, other.w3);if (cmp != 0){return cmp;}cmp = NB.CompareUInt32(w4, other.w4);if (cmp != 0){return cmp;}return NB.CompareUInt32(w5, other.w5);}
// Original:
public static IntBuffer wrap(int[] array) {return wrap(array, 0, array.length);}

// Translation:
public static java.nio.IntBuffer wrap(int[] array_1){return wrap(array_1, 0, array_1.Length);}
// Original:
public ObjectId getNewId() {return newId;}

// Translation:
public virtual ObjectId GetNewId(){return newId;}
// Original:
public DescribeBrokerInstanceOptionsResult describeBrokerInstanceOptions(DescribeBrokerInstanceOptionsRequest request) {request = beforeClientExecution(request);return executeDescribeBrokerInstanceOptions(request);}

// Translation:
public virtual DescribeBrokerInstanceOptionsResponse DescribeBrokerInstanceOptions(DescribeBrokerInstanceOptionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeBrokerInstanceOptionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeBrokerInstanceOptionsResponseUnmarshaller.Instance;return Invoke<DescribeBrokerInstanceOptionsResponse>(request, options);}
// Original:
public GetDASHStreamingSessionURLResult getDASHStreamingSessionURL(GetDASHStreamingSessionURLRequest request) {request = beforeClientExecution(request);return executeGetDASHStreamingSessionURL(request);}

// Translation:
public virtual GetDASHStreamingSessionURLResponse GetDASHStreamingSessionURL(GetDASHStreamingSessionURLRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDASHStreamingSessionURLRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDASHStreamingSessionURLResponseUnmarshaller.Instance;return Invoke<GetDASHStreamingSessionURLResponse>(request, options);}
// Original:
public CancelJobResult cancelJob(CancelJobRequest request) {request = beforeClientExecution(request);return executeCancelJob(request);}

// Translation:
public virtual CancelJobResponse CancelJob(CancelJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = CancelJobRequestMarshaller.Instance;options.ResponseUnmarshaller = CancelJobResponseUnmarshaller.Instance;return Invoke<CancelJobResponse>(request, options);}
// Original:
public ListExperimentsResult listExperiments(ListExperimentsRequest request) {request = beforeClientExecution(request);return executeListExperiments(request);}

// Translation:
public virtual ListExperimentsResponse ListExperiments(ListExperimentsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListExperimentsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListExperimentsResponseUnmarshaller.Instance;return Invoke<ListExperimentsResponse>(request, options);}
// Original:
public CreateSubnetGroupResult createSubnetGroup(CreateSubnetGroupRequest request) {request = beforeClientExecution(request);return executeCreateSubnetGroup(request);}

// Translation:
public virtual CreateSubnetGroupResponse CreateSubnetGroup(CreateSubnetGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateSubnetGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateSubnetGroupResponseUnmarshaller.Instance;return Invoke<CreateSubnetGroupResponse>(request, options);}
// Original:
public String toString() { return "scorer(" + weight + ")[" + super.toString() + "]"; }

// Translation:
public override string ToString(){return "scorer(" + m_weight + ")";}
// Original:
public Executor getExecutor() {return executor;}

// Translation:
public virtual Executor GetExecutor(){return executor;}
// Original:
public void write(LittleEndianOutput out) {throw invalid();}

// Translation:
public override void Write(ILittleEndianOutput out1){throw Invalid();}
// Original:
public StandardQueryParser(Analyzer analyzer) {this();this.setAnalyzer(analyzer);}

// Translation:
public StandardQueryParser(Analyzer analyzer): this(){this.Analyzer = analyzer;}
// Original:
public IndexedUDFFinder(UDFFinder... usedToolPacks) {super(usedToolPacks);_funcMap = new HashMap<>();}

// Translation:
public IndexedUDFFinder(params UDFFinder[] usedToolPacks): base(usedToolPacks){_funcMap = new Dictionary<int, String>();}
// Original:
public static int countMatchingCellsInRef(RefEval refEval, I_MatchPredicate criteriaPredicate) {int result = 0;final int firstSheetIndex = refEval.getFirstSheetIndex();final int lastSheetIndex = refEval.getLastSheetIndex();for (int sIx = firstSheetIndex; sIx <= lastSheetIndex; sIx++) {ValueEval ve = refEval.getInnerValueEval(sIx);if(criteriaPredicate.matches(ve)) {result++;}}return result;}

// Translation:
public static int CountMatchingCellsInRef(RefEval refEval, IMatchPredicate criteriaPredicate){int result = 0;for (int sIx = refEval.FirstSheetIndex; sIx <= refEval.LastSheetIndex; sIx++){ValueEval ve = refEval.GetInnerValueEval(sIx);if (criteriaPredicate.Matches(ve)){result++;}}return result;}
// Original:
public NameXPxg(int externalWorkbookNumber, String sheetName, String nameName) {this.externalWorkbookNumber = externalWorkbookNumber;this.sheetName = sheetName;this.nameName = nameName;}

// Translation:
public NameXPxg(int externalWorkbookNumber, String sheetName, String nameName){this.externalWorkbookNumber = externalWorkbookNumber;this.sheetName = sheetName;this.nameName = nameName;}
// Original:
public MergeInfo(int totalMaxDoc, long estimatedMergeBytes, boolean isExternal, int mergeMaxNumSegments) {this.totalMaxDoc = totalMaxDoc;this.estimatedMergeBytes = estimatedMergeBytes;this.isExternal = isExternal;this.mergeMaxNumSegments = mergeMaxNumSegments;}

// Translation:
public MergeInfo(int totalDocCount, long estimatedMergeBytes, bool isExternal, int mergeMaxNumSegments){this.TotalDocCount = totalDocCount;this.EstimatedMergeBytes = estimatedMergeBytes;this.IsExternal = isExternal;this.MergeMaxNumSegments = mergeMaxNumSegments;}
// Original:
public HsmClientCertificate createHsmClientCertificate(CreateHsmClientCertificateRequest request) {request = beforeClientExecution(request);return executeCreateHsmClientCertificate(request);}

// Translation:
public virtual CreateHsmClientCertificateResponse CreateHsmClientCertificate(CreateHsmClientCertificateRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateHsmClientCertificateRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateHsmClientCertificateResponseUnmarshaller.Instance;return Invoke<CreateHsmClientCertificateResponse>(request, options);}
// Original:
public Token consume() {Token o = getCurrentToken();if (o.getType() != EOF) {getInputStream().consume();}boolean hasListener = _parseListeners != null && !_parseListeners.isEmpty();if (_buildParseTrees || hasListener) {if ( _errHandler.inErrorRecoveryMode(this) ) {ErrorNode node = _ctx.addErrorNode(createErrorNode(_ctx,o));if (_parseListeners != null) {for (ParseTreeListener listener : _parseListeners) {listener.visitErrorNode(node);}}}else {TerminalNode node = _ctx.addChild(createTerminalNode(_ctx,o));if (_parseListeners != null) {for (ParseTreeListener listener : _parseListeners) {listener.visitTerminal(node);}}}}return o;}

// Translation:
public virtual IToken Consume(){IToken o = CurrentToken;if (o.Type != Eof){((ITokenStream)InputStream).Consume();}bool hasListener = _parseListeners != null && _parseListeners.Count != 0;if (_buildParseTrees || hasListener){if (_errHandler.InErrorRecoveryMode(this)){IErrorNode node = _ctx.AddErrorNode(o);if (_parseListeners != null){foreach (IParseTreeListener listener in _parseListeners){listener.VisitErrorNode(node);}}}else{ITerminalNode node = _ctx.AddChild(o);if (_parseListeners != null){foreach (IParseTreeListener listener in _parseListeners){listener.VisitTerminal(node);}}}}return o;}
// Original:
public boolean seekExact(BytesRef term) {final int ord = findTerm(term);if (ord >= 0) {termOrd = ord;setTerm();return true;} else {return false;}}

// Translation:
public override bool SeekExact(BytesRef term){int ord = FindTerm(term);if (ord >= 0){termOrd = ord;SetTerm();return true;}else{return false;}}
// Original:
public DescribeEgressOnlyInternetGatewaysResult describeEgressOnlyInternetGateways(DescribeEgressOnlyInternetGatewaysRequest request) {request = beforeClientExecution(request);return executeDescribeEgressOnlyInternetGateways(request);}

// Translation:
public virtual DescribeEgressOnlyInternetGatewaysResponse DescribeEgressOnlyInternetGateways(DescribeEgressOnlyInternetGatewaysRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeEgressOnlyInternetGatewaysRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeEgressOnlyInternetGatewaysResponseUnmarshaller.Instance;return Invoke<DescribeEgressOnlyInternetGatewaysResponse>(request, options);}
// Original:
public Ref getLeaf() {Ref dst = getTarget();while (dst.isSymbolic())dst = dst.getTarget();return dst;}

// Translation:
public virtual Ref GetLeaf(){Ref dst = GetTarget();while (dst.IsSymbolic()){dst = dst.GetTarget();}return dst;}
// Original:
public void ReInit(QueryParserTokenManager tm) {token_source = tm;token = new Token();jj_ntk = -1;jj_gen = 0;for (int i = 0; i < 10; i++) jj_la1[i] = -1;for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();}

// Translation:
public virtual void ReInit(QueryParserTokenManager tm){TokenSource = tm;Token = new Token();jj_ntk = -1;jj_gen = 0;for (int i = 0; i < 21; i++) jj_la1[i] = -1;for (int i = 0; i < jj_2_rtns.Length; i++) jj_2_rtns[i] = new JJCalls();}
// Original:
public ListStacksResult listStacks() {return listStacks(new ListStacksRequest());}

// Translation:
public virtual ListStacksResponse ListStacks(){return ListStacks(new ListStacksRequest());}
// Original:
public PutInstancePublicPortsResult putInstancePublicPorts(PutInstancePublicPortsRequest request) {request = beforeClientExecution(request);return executePutInstancePublicPorts(request);}

// Translation:
public virtual PutInstancePublicPortsResponse PutInstancePublicPorts(PutInstancePublicPortsRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutInstancePublicPortsRequestMarshaller.Instance;options.ResponseUnmarshaller = PutInstancePublicPortsResponseUnmarshaller.Instance;return Invoke<PutInstancePublicPortsResponse>(request, options);}
// Original:
public GetConfigurationSetResult getConfigurationSet(GetConfigurationSetRequest request) {request = beforeClientExecution(request);return executeGetConfigurationSet(request);}

// Translation:
public virtual GetConfigurationSetResponse GetConfigurationSet(GetConfigurationSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetConfigurationSetRequestMarshaller.Instance;options.ResponseUnmarshaller = GetConfigurationSetResponseUnmarshaller.Instance;return Invoke<GetConfigurationSetResponse>(request, options);}
// Original:
public static Element getFirstChildOrFail(Element e) throws ParserException {Element kid = getFirstChildElement(e);if (null == kid) {throw new ParserException(e.getTagName()+ " does not contain a child element");}return kid;}

// Translation:
public static XmlElement GetFirstChildOrFail(XmlElement e){XmlElement kid = GetFirstChildElement(e);if (null == kid){throw new ParserException(e.ToString()+ " does not contain a child element");}return kid;}
// Original:
public String toString() {return "Cell(readerIndex=" + readerIndex + " nodeID=" + index.getNodeID()+ " isLeaf=" + index.isLeafNode() + " distanceSquared=" + distanceSquared + ")";}

// Translation:
public override string ToString(){return "ref(" + @ref +")cmd(" + cmd + ")cnt(" + cnt + ")skp(" + skip + ")";}
// Original:
public static long getBaseSize(byte[] delta) {int p = 0;long baseLen = 0;int c, shift = 0;do {c = delta[p++] & 0xff;baseLen |= ((long) (c & 0x7f)) << shift;shift += 7;} while ((c & 0x80) != 0);return baseLen;}

// Translation:
public static long GetBaseSize(byte[] delta){int p = 0;long baseLen = 0;int c;int shift = 0;do{c = delta[p++] & unchecked((int)(0xff));baseLen |= ((long)(c & unchecked((int)(0x7f)))) << shift;shift += 7;}while ((c & unchecked((int)(0x80))) != 0);return baseLen;}
// Original:
public VerifyEmailIdentityResult verifyEmailIdentity(VerifyEmailIdentityRequest request) {request = beforeClientExecution(request);return executeVerifyEmailIdentity(request);}

// Translation:
public virtual VerifyEmailIdentityResponse VerifyEmailIdentity(VerifyEmailIdentityRequest request){var options = new InvokeOptions();options.RequestMarshaller = VerifyEmailIdentityRequestMarshaller.Instance;options.ResponseUnmarshaller = VerifyEmailIdentityResponseUnmarshaller.Instance;return Invoke<VerifyEmailIdentityResponse>(request, options);}
// Original:
public CreateInvalidationResult createInvalidation(CreateInvalidationRequest request) {request = beforeClientExecution(request);return executeCreateInvalidation(request);}

// Translation:
public virtual CreateInvalidationResponse CreateInvalidation(CreateInvalidationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateInvalidationRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateInvalidationResponseUnmarshaller.Instance;return Invoke<CreateInvalidationResponse>(request, options);}
// Original:
public ListGroupsForUserRequest(String userName) {setUserName(userName);}

// Translation:
public ListGroupsForUserRequest(string userName){_userName = userName;}
// Original:
public void serialize(LittleEndianOutput out) {out.writeInt(field_1_stream_pos);out.writeShort(field_2_bucket_sst_offset);out.writeShort(field_3_zero);}

// Translation:
public void Serialize(ILittleEndianOutput out1){out1.WriteInt(field_1_stream_pos);out1.WriteShort(field_2_bucket_sst_offset);out1.WriteShort(field_3_zero);}
// Original:
public boolean equals(Object o) {if (QueryValueSource.class != o.getClass()) return false;QueryValueSource other = (QueryValueSource)o;return this.q.equals(other.q) && this.defVal==other.defVal;}

// Translation:
public override bool Equals(object o){if (typeof(QueryValueSource) != o.GetType()){return false;}var other = o as QueryValueSource;if (other == null)return false;return this.q.Equals(other.q) && this.defVal == other.defVal;}
// Original:
public boolean add(E object) {add(size(), object);return true;}

// Translation:
public void add(E @object){iterator.add(@object);subList.sizeChanged(true);end++;}
// Original:
public synchronized SessionToken checkForUpdate(String currentVersion) {ensureOpen();if (currentRevision == null) { return null;}if (currentVersion != null && currentRevision.revision.compareTo(currentVersion) <= 0) {return null;}currentRevision.incRef();final String sessionID = Integer.toString(sessionToken.incrementAndGet());final SessionToken sessionToken = new SessionToken(sessionID, currentRevision.revision);final ReplicationSession timedSessionToken = new ReplicationSession(sessionToken, currentRevision);sessions.put(sessionID, timedSessionToken);return sessionToken;}

// Translation:
public virtual SessionToken CheckForUpdate(string currentVersion){lock (padlock){EnsureOpen();if (currentRevision == null)return null; if (currentVersion != null && currentRevision.Revision.CompareTo(currentVersion) <= 0)return null; currentRevision.IncRef();string sessionID = sessionToken.IncrementAndGet().ToString();SessionToken token = new SessionToken(sessionID, currentRevision.Revision);sessions[sessionID] = new ReplicationSession(token, currentRevision);return token;}}
// Original:
public void setCommitNames(String[] commitNames) {this.commitNames = commitNames;}

// Translation:
public virtual void SetCommitNames(string[] commitNames){this.commitNames = commitNames;}
// Original:
public FormulaRecordAggregate createFormula(int row, int col) {FormulaRecord fr = new FormulaRecord();fr.setRow(row);fr.setColumn((short) col);return new FormulaRecordAggregate(fr, null, _sharedValueManager);}

// Translation:
public FormulaRecordAggregate CreateFormula(int row, int col){FormulaRecord fr = new FormulaRecord();fr.Row=(row);fr.Column=((short)col);return new FormulaRecordAggregate(fr, null, _sharedValueManager);}
// Original:
public DetectSyntaxResult detectSyntax(DetectSyntaxRequest request) {request = beforeClientExecution(request);return executeDetectSyntax(request);}

// Translation:
public virtual DetectSyntaxResponse DetectSyntax(DetectSyntaxRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetectSyntaxRequestMarshaller.Instance;options.ResponseUnmarshaller = DetectSyntaxResponseUnmarshaller.Instance;return Invoke<DetectSyntaxResponse>(request, options);}
// Original:
public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) { if (args.length < 2 || args.length > 3) {return ErrorEval.VALUE_INVALID;}int srcCellRow = ec.getRowIndex();int srcCellCol = ec.getColumnIndex();double start, end;double[] holidays;try {start = this.evaluator.evaluateDateArg(args[0], srcCellRow, srcCellCol);end = this.evaluator.evaluateDateArg(args[1], srcCellRow, srcCellCol);if (start > end) {return ErrorEval.NAME_INVALID;}ValueEval holidaysCell = args.length == 3 ? args[2] : null;holidays = this.evaluator.evaluateDatesArg(holidaysCell, srcCellRow, srcCellCol);return new NumberEval(WorkdayCalculator.instance.calculateWorkdays(start, end, holidays));} catch (EvaluationException e) {return ErrorEval.VALUE_INVALID;}}

// Translation:
public ValueEval Evaluate(ValueEval[] args, OperationEvaluationContext ec){if (args.Length < 2 || args.Length > 3){return ErrorEval.VALUE_INVALID;}int srcCellRow = ec.RowIndex;int srcCellCol = ec.ColumnIndex;double start, end;double[] holidays;try{start = this.evaluator.EvaluateDateArg(args[0], srcCellRow, srcCellCol);end = this.evaluator.EvaluateDateArg(args[1], srcCellRow, srcCellCol);if (start > end){return ErrorEval.NAME_INVALID;}ValueEval holidaysCell = args.Length == 3 ? args[2] : null;holidays = this.evaluator.EvaluateDatesArg(holidaysCell, srcCellRow, srcCellCol);return new NumberEval(WorkdayCalculator.instance.CalculateWorkdays(start, end, holidays));}catch (EvaluationException){return ErrorEval.VALUE_INVALID;}}
// Original:
public HSSFDataValidationHelper(HSSFSheet sheet) {super();}

// Translation:
public HSSFDataValidationHelper(HSSFSheet sheet): base(){this.sheet = sheet;}
// Original:
public SyncFacePicturesRequest() {super("LinkFace", "2018-07-20", "SyncFacePictures");setProtocol(ProtocolType.HTTPS);setMethod(MethodType.POST);}

// Translation:
public SyncFacePicturesRequest(): base("LinkFace", "2018-07-20", "SyncFacePictures"){Protocol = ProtocolType.HTTPS;Method = MethodType.POST;}
// Original:
public static String shortToHex(int value) {StringBuilder sb = new StringBuilder(6);writeHex(sb, value & 0xFFFFL, 4, "0x");return sb.toString();}

// Translation:
public static char[] ShortToHex(int value){return ToHexChars(value, 2);}
// Original:
public String toString() {switch (state) {case SET:return key;case UNSET:return "-" + key; case UNSPECIFIED:return "!" + key; case CUSTOM:default:return key + "=" + value; }}

// Translation:
public override string ToString(){return "PackWriter.State[" + this.phase + ", memory=" + this.bytesUsed + "]";}
// Original:
public void seek(int index) {lazyInit();p = adjustSeekIndex(index);}

// Translation:
public virtual void Seek(int index){LazyInit();p = AdjustSeekIndex(index);}
// Original:
public CreateTransitGatewayPeeringAttachmentResult createTransitGatewayPeeringAttachment(CreateTransitGatewayPeeringAttachmentRequest request) {request = beforeClientExecution(request);return executeCreateTransitGatewayPeeringAttachment(request);}

// Translation:
public virtual CreateTransitGatewayPeeringAttachmentResponse CreateTransitGatewayPeeringAttachment(CreateTransitGatewayPeeringAttachmentRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateTransitGatewayPeeringAttachmentRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateTransitGatewayPeeringAttachmentResponseUnmarshaller.Instance;return Invoke<CreateTransitGatewayPeeringAttachmentResponse>(request, options);}
// Original:
public static BytesRef deepCopyOf(BytesRef other) {return new BytesRef(ArrayUtil.copyOfSubArray(other.bytes, other.offset, other.offset + other.length), 0, other.length);}

// Translation:
public static BytesRef DeepCopyOf(BytesRef other){BytesRef copy = new BytesRef();copy.CopyBytes(other);return copy;}
// Original:
public TokenCollector(int tokenCount) {_ptgs = new Ptg[tokenCount];_offset = 0;}

// Translation:
public TokenCollector(int tokenCount){_ptgs = new Ptg[tokenCount];_offset = 0;}
// Original:
public static String[] tokenize( String format ) {List<String> result = new ArrayList<>();DateFormatTokenizer tokenizer = new DateFormatTokenizer(format);String token;while( ( token = tokenizer.getNextToken() ) != null ) {result.add(token);}return result.toArray(new String[0]);}

// Translation:
public static string[] Tokenize(string format){List<string> result = new List<string>();DateFormatTokenizer tokenizer = new DateFormatTokenizer(format);string token;while ((token = tokenizer.GetNextToken()) != null){result.Add(token);}return result.ToArray();}
// Original:
public DescribeNatGatewaysResult describeNatGateways(DescribeNatGatewaysRequest request) {request = beforeClientExecution(request);return executeDescribeNatGateways(request);}

// Translation:
public virtual DescribeNatGatewaysResponse DescribeNatGateways(DescribeNatGatewaysRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeNatGatewaysRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeNatGatewaysResponseUnmarshaller.Instance;return Invoke<DescribeNatGatewaysResponse>(request, options);}
// Original:
public ResetImageAttributeResult resetImageAttribute(ResetImageAttributeRequest request) {request = beforeClientExecution(request);return executeResetImageAttribute(request);}

// Translation:
public virtual ResetImageAttributeResponse ResetImageAttribute(ResetImageAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = ResetImageAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = ResetImageAttributeResponseUnmarshaller.Instance;return Invoke<ResetImageAttributeResponse>(request, options);}
// Original:
public void setHorizontalBorder(boolean value){field_1_options = horizontalBorder.setShortBoolean(field_1_options, value);}

// Translation:
public void SetHorizontalBorder(bool value){field_1_options = horizontalBorder.SetShortBoolean(field_1_options, value);}
// Original:
public ReplicationGroup modifyReplicationGroup(ModifyReplicationGroupRequest request) {request = beforeClientExecution(request);return executeModifyReplicationGroup(request);}

// Translation:
public virtual ModifyReplicationGroupResponse ModifyReplicationGroup(ModifyReplicationGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyReplicationGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyReplicationGroupResponseUnmarshaller.Instance;return Invoke<ModifyReplicationGroupResponse>(request, options);}
// Original:
public boolean containsKey(CharSequence cs) {if(cs == null)throw new NullPointerException();return false;}

// Translation:
public override bool ContainsKey(char[] text){if (text == null){throw new ArgumentNullException("text");}return false;}