yijunyu/c-to-rust huggingface dataset:
// Original:
public DeleteTrafficMirrorFilterResult deleteTrafficMirrorFilter(DeleteTrafficMirrorFilterRequest request) {request = beforeClientExecution(request);return executeDeleteTrafficMirrorFilter(request);}

// Translation:
public virtual DeleteTrafficMirrorFilterResponse DeleteTrafficMirrorFilter(DeleteTrafficMirrorFilterRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteTrafficMirrorFilterRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteTrafficMirrorFilterResponseUnmarshaller.Instance;return Invoke<DeleteTrafficMirrorFilterResponse>(request, options);}
// Original:
public Bits readLiveDocs(Directory dir, SegmentCommitInfo info, IOContext context) throws IOException {assert info.hasDeletions();BytesRefBuilder scratch = new BytesRefBuilder();CharsRefBuilder scratchUTF16 = new CharsRefBuilder();String fileName = IndexFileNames.fileNameFromGeneration(info.info.name, LIVEDOCS_EXTENSION, info.getDelGen());ChecksumIndexInput in = null;boolean success = false;try {in = dir.openChecksumInput(fileName, context);SimpleTextUtil.readLine(in, scratch);assert StringHelper.startsWith(scratch.get(), SIZE);int size = parseIntAt(scratch.get(), SIZE.length, scratchUTF16);BitSet bits = new BitSet(size);SimpleTextUtil.readLine(in, scratch);while (!scratch.get().equals(END)) {assert StringHelper.startsWith(scratch.get(), DOC);int docid = parseIntAt(scratch.get(), DOC.length, scratchUTF16);bits.set(docid);SimpleTextUtil.readLine(in, scratch);}SimpleTextUtil.checkFooter(in);success = true;return new SimpleTextBits(bits, size);} finally {if (success) {IOUtils.close(in);} else {IOUtils.closeWhileHandlingException(in);}}}

// Translation:
public override IBits ReadLiveDocs(Directory dir, SegmentCommitInfo info, IOContext context){Debug.Assert(info.HasDeletions);var scratch = new BytesRef();var scratchUtf16 = new CharsRef();var fileName = IndexFileNames.FileNameFromGeneration(info.Info.Name, LIVEDOCS_EXTENSION, info.DelGen);ChecksumIndexInput input = null;var success = false;try{input = dir.OpenChecksumInput(fileName, context);SimpleTextUtil.ReadLine(input, scratch);Debug.Assert(StringHelper.StartsWith(scratch, SIZE));var size = ParseInt32At(scratch, SIZE.Length, scratchUtf16);var bits = new BitArray(size);SimpleTextUtil.ReadLine(input, scratch);while (!scratch.Equals(END)){Debug.Assert(StringHelper.StartsWith(scratch, DOC));var docid = ParseInt32At(scratch, DOC.Length, scratchUtf16);bits.SafeSet(docid, true);SimpleTextUtil.ReadLine(input, scratch);}SimpleTextUtil.CheckFooter(input);success = true;return new SimpleTextBits(bits, size);}finally{if (success){IOUtils.Dispose(input);}else{IOUtils.DisposeWhileHandlingException(input);}}}
// Original:
public CreateConferenceProviderResult createConferenceProvider(CreateConferenceProviderRequest request) {request = beforeClientExecution(request);return executeCreateConferenceProvider(request);}

// Translation:
public virtual CreateConferenceProviderResponse CreateConferenceProvider(CreateConferenceProviderRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateConferenceProviderRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateConferenceProviderResponseUnmarshaller.Instance;return Invoke<CreateConferenceProviderResponse>(request, options);}
// Original:
public SimpleQQParser(String qqNames[], String indexField) {this.qqNames = qqNames;this.indexField = indexField;}

// Translation:
public SimpleQQParser(string qqName, string indexField): this(new string[] { qqName }
// Original:
public boolean isCaseSensitive() {return false;}

// Translation:
public override bool IsCaseSensitive(){return false;}
// Original:
public TokenFilter create(TokenStream input) {return new HyphenationCompoundWordTokenFilter(input, hyphenator, dictionary, minWordSize, minSubwordSize, maxSubwordSize, onlyLongestMatch);}

// Translation:
public override TokenStream Create(TokenStream input){return new HyphenationCompoundWordTokenFilter(m_luceneMatchVersion, input, hyphenator, dictionary, minWordSize, minSubwordSize, maxSubwordSize, onlyLongestMatch);}
// Original:
public TokenStream create(TokenStream input) {return new JapaneseBaseFormFilter(input);}

// Translation:
public override TokenStream Create(TokenStream input){return new JapaneseBaseFormFilter(input);}
// Original:
public OrderedATNConfigSet() {this.configLookup = new LexerConfigHashSet();}

// Translation:
public OrderedATNConfigSet(){this.configLookup = new LexerConfigHashSet();}
// Original:
public static ValueEval dereferenceResult(ValueEval evaluationResult, int srcRowNum, int srcColNum) {ValueEval value;try {value = OperandResolver.getSingleValue(evaluationResult, srcRowNum, srcColNum);} catch (EvaluationException e) {return e.getErrorEval();}if (value == BlankEval.instance) {return NumberEval.ZERO;}return value;}

// Translation:
public static ValueEval DereferenceResult(ValueEval evaluationResult, int srcRowNum, int srcColNum){ValueEval value;try{value = OperandResolver.GetSingleValue(evaluationResult, srcRowNum, srcColNum);}catch (EvaluationException e){return e.GetErrorEval();}if (value == BlankEval.instance){return NumberEval.ZERO;}return value;}
// Original:
public GetGroupRequest(String groupName) {setGroupName(groupName);}

// Translation:
public GetGroupRequest(string groupName){_groupName = groupName;}
// Original:
public void narrowSearch(int midIx, boolean isLessThan) {if(isLessThan) {_highIx = midIx;} else {_lowIx = midIx;}}

// Translation:
public void NarrowSearch(int midIx, bool isLessThan){if (isLessThan){_highIx = midIx;}else{_lowIx = midIx;}}
// Original:
public void set(int index, long value) {final int o = index >>> 1;final int b = index & 1;final int shift = b << 5;blocks[o] = (blocks[o] & ~(4294967295L << shift)) | (value << shift);}

// Translation:
public override void Set(int index, long value){int o = (int)((uint)index >> 1);int b = index & 1;int shift = b << 5;blocks[o] = (blocks[o] & ~(4294967295L << shift)) | (value << shift);}
// Original:
public String toString() {return cfAggregate.toString();}

// Translation:
public override String ToString(){return cfAggregate.ToString();}
// Original:
public void setConfig(Config config) {super.setConfig(config);random = new Random(config.get("rand.seed", 13));maxDocFacets = config.get("max.doc.facets", 10);maxDims = config.get("max.doc.facets.dims", 5);maxFacetDepth = config.get("max.facet.depth", 3);if (maxFacetDepth < 2) {throw new IllegalArgumentException("max.facet.depth must be at least 2; got: " + maxFacetDepth);}maxValue = maxDocFacets * maxFacetDepth;}

// Translation:
public override void SetConfig(Config config){base.SetConfig(config);random = new Random(config.Get("rand.seed", 13));maxDocFacets = config.Get("max.doc.facets", 10);maxDims = config.Get("max.doc.facets.dims", 5);maxFacetDepth = config.Get("max.facet.depth", 3);if (maxFacetDepth < 2){throw new ArgumentException("max.facet.depth must be at least 2; got: " + maxFacetDepth);}maxValue = maxDocFacets * maxFacetDepth;}
// Original:
public interface Experiments extends SupportsCreating<Experiment.DefinitionStages.Blank>, HasInner<ExperimentsInner> {Observable<Experiment> getAsync(String resourceGroupName, String workspaceName, String experimentName);Observable<Experiment> listByWorkspaceAsync(final String resourceGroupName, final String workspaceName);Completable deleteAsync(String resourceGroupName, String workspaceName, String experimentName);}

// Translation:
public async Task<AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string experimentName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)){AzureOperationResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroupName, workspaceName, experimentName, customHeaders, cancellationToken).ConfigureAwait(false);return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false);}
// Original:
public Builder add(long l) {if (pending == null) {throw new IllegalStateException("Cannot be reused after build()");}if (pendingOff == pending.length) {if (values.length == valuesOff) {final int newLength = ArrayUtil.oversize(valuesOff + 1, 8);grow(newLength);}pack();}pending[pendingOff++] = l;size += 1;return this;}

// Translation:
public virtual Builder Add(int doc){if (doc <= previousDoc){throw new System.ArgumentException("Doc IDs must be provided in order, but previousDoc=" + previousDoc + " and doc=" + doc);}buffer[bufferSize++] = doc - previousDoc - 1;if (bufferSize == BLOCK_SIZE){EncodeBlock();bufferSize = 0;}previousDoc = doc;++cardinality;return this;}
// Original:
public static boolean isBuiltInFunctionName(String name) {short ix = FunctionMetadataRegistry.lookupIndexByName(name.toUpperCase(Locale.ROOT));return ix >= 0;}

// Translation:
public static bool IsBuiltInFunctionName(String name){short ix = FunctionMetadataRegistry.LookupIndexByName(name.ToUpper());return ix >= 0;}
// Original:
public void readBytes(byte[] b, int offset, int len) {while(len > 0) {final int numLeft = limit-upto;if (numLeft < len) {System.arraycopy(buffer, upto, b, offset, numLeft);offset += numLeft;len -= numLeft;nextSlice();} else {System.arraycopy(buffer, upto, b, offset, len);upto += len;break;}}}

// Translation:
public override void ReadBytes(byte[] b, int offset, int len){while (len > 0){int numLeft = limit - upto;if (numLeft < len){Array.Copy(buffer, upto, b, offset, numLeft);offset += numLeft;len -= numLeft;NextSlice();}else{Array.Copy(buffer, upto, b, offset, len);upto += len;break;}}}
// Original:
public String toFormulaString(String[] operands) {StringBuilder buffer = new StringBuilder();buffer.append(operands[ 0 ]);buffer.append(CONCAT);buffer.append(operands[ 1 ]);return buffer.toString();}

// Translation:
public override String ToFormulaString(String[] operands){StringBuilder buffer = new StringBuilder();buffer.Append(operands[0]);buffer.Append(CONCAT);buffer.Append(operands[1]);return buffer.ToString();}
// Original:
public ListResolverRuleAssociationsResult listResolverRuleAssociations(ListResolverRuleAssociationsRequest request) {request = beforeClientExecution(request);return executeListResolverRuleAssociations(request);}

// Translation:
public virtual ListResolverRuleAssociationsResponse ListResolverRuleAssociations(ListResolverRuleAssociationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListResolverRuleAssociationsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListResolverRuleAssociationsResponseUnmarshaller.Instance;return Invoke<ListResolverRuleAssociationsResponse>(request, options);}
// Original:
public TokenStream create(TokenStream input) {return new ApostropheFilter(input);}

// Translation:
public override TokenStream Create(TokenStream input){return new ApostropheFilter(input);}
// Original:
public static String getExtension(String name) {int i = name.lastIndexOf('.');if (i == -1) {return "";}String ext = name.substring(i + 1);if (ext.equals("tmp")) {Matcher matcher = EXT_PATTERN.matcher(name.substring(0, i + 1));if (matcher.find()) {return matcher.group(1);}}return ext;}

// Translation:
public static string GetExtension(string name){int i = name.LastIndexOf('.');if (i == -1){return "";}return name.Substring(i + 1, name.Length - (i + 1));}
// Original:
public static int getBuiltinFormat(String pFmt) {String fmt = "TEXT".equalsIgnoreCase(pFmt) ? "@" : pFmt;int i = -1;for (String f : _formats) {i++;if (f.equals(fmt)) {return i;}}return -1;}

// Translation:
public static String GetBuiltinFormat(int index){if (index < 0 || index >= _formats.Length){return null;}return _formats[index];}
// Original:
@Override public int indexOf(Object object) {return list.indexOf(object);}

// Translation:
public virtual int indexOf(object @object){return list.indexOf(@object);}
// Original:
public void trimToSize() {balance();redimNodeArrays(freenode);CharVector kx = new CharVector();kx.alloc(1);TernaryTree map = new TernaryTree();compact(kx, map, root);kv = kx;kv.trimToSize();}

// Translation:
public virtual void TrimToSize(){Balance();RedimNodeArrays(m_freenode);CharVector kx = new CharVector();kx.Alloc(1);TernaryTree map = new TernaryTree();Compact(kx, map, m_root);m_kv = kx;m_kv.TrimToSize();}
// Original:
public GetRepoSyncTaskRequest() {super("cr", "2016-06-07", "GetRepoSyncTask", "cr");setUriPattern("/repos/[RepoNamespace]/[RepoName]/syncTasks/[SyncTaskId]");setMethod(MethodType.GET);}

// Translation:
public GetRepoSyncTaskRequest(): base("cr", "2016-06-07", "GetRepoSyncTask", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/syncTasks/[SyncTaskId]";Method = MethodType.GET;}
// Original:
public ChangeMessageVisibilityRequest(String queueUrl, String receiptHandle, Integer visibilityTimeout) {setQueueUrl(queueUrl);setReceiptHandle(receiptHandle);setVisibilityTimeout(visibilityTimeout);}

// Translation:
public ChangeMessageVisibilityRequest(string queueUrl, string receiptHandle, int visibilityTimeout){_queueUrl = queueUrl;_receiptHandle = receiptHandle;_visibilityTimeout = visibilityTimeout;}
// Original:
public String toString() {return "[SAVERECALC]\n" +"    .recalc         = " + getRecalc() +"\n" +"[/SAVERECALC]\n";}

// Translation:
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[SAVERECALC]\n");buffer.Append("    .recalc         = ").Append(Recalc).Append("\n");buffer.Append("[/SAVERECALC]\n");return buffer.ToString();}
// Original:
public Status getStatus() {return status;}

// Translation:
public virtual CheckoutResult.Status GetStatus(){return myStatus;}
// Original:
public StartRepoBuildByRuleRequest() {super("cr", "2016-06-07", "StartRepoBuildByRule", "cr");setUriPattern("/repos/[RepoNamespace]/[RepoName]/rules/[BuildRuleId]/build");setMethod(MethodType.PUT);}

// Translation:
public StartRepoBuildByRuleRequest(): base("cr", "2016-06-07", "StartRepoBuildByRule", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/rules/[BuildRuleId]/build";Method = MethodType.PUT;}
// Original:
public ModifyAvailabilityZoneGroupResult modifyAvailabilityZoneGroup(ModifyAvailabilityZoneGroupRequest request) {request = beforeClientExecution(request);return executeModifyAvailabilityZoneGroup(request);}

// Translation:
public virtual ModifyAvailabilityZoneGroupResponse ModifyAvailabilityZoneGroup(ModifyAvailabilityZoneGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyAvailabilityZoneGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyAvailabilityZoneGroupResponseUnmarshaller.Instance;return Invoke<ModifyAvailabilityZoneGroupResponse>(request, options);}
// Original:
public int compareSameType(Object other) {assert exists || 0 == value.length();MutableValueStr b = (MutableValueStr)other;int c = value.get().compareTo(b.value.get());if (c != 0) return c;if (exists == b.exists) return 0;return exists ? 1 : -1;}

// Translation:
public override int CompareSameType(object other){MutableValueStr b = (MutableValueStr)other;int c = Value.CompareTo(b.Value);if (c != 0){return c;}if (Exists == b.Exists){return 0;}return Exists ? 1 : -1;}
// Original:
public CharSequence toQueryString(EscapeQuerySyntax escapeSyntaxParser) {if (getChildren() == null || getChildren().size() == 0)return "";StringBuilder sb = new StringBuilder();String filler = "";for (QueryNode child : getChildren()) {sb.append(filler).append(child.toQueryString(escapeSyntaxParser));filler = ",";}return "[TP[" + sb.toString() + "]]";}

// Translation:
public override string ToQueryString(IEscapeQuerySyntax escapeSyntaxParser){var children = GetChildren();if (children == null || children.Count == 0)return "";StringBuilder sb = new StringBuilder();string filler = "";foreach (IQueryNode child in children){sb.Append(filler).Append(child.ToQueryString(escapeSyntaxParser));filler = ",";}return "[TP[" + sb.ToString() + "]]";}
// Original:
public DescribeChangeSetResult describeChangeSet(DescribeChangeSetRequest request) {request = beforeClientExecution(request);return executeDescribeChangeSet(request);}

// Translation:
public virtual DescribeChangeSetResponse DescribeChangeSet(DescribeChangeSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeChangeSetRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeChangeSetResponseUnmarshaller.Instance;return Invoke<DescribeChangeSetResponse>(request, options);}
// Original:
public static int initialize(int seed) {return seed;}

// Translation:
public static int Initialize(int seed){return seed;}
// Original:
public File getIdentityFile() {return identityFile;}

// Translation:
public virtual FilePath GetIdentityFile(){return identityFile;}
// Original:
public String toString() {String n = getClass().getName();int lastDot = n.lastIndexOf('.');if (lastDot >= 0) {n = n.substring(lastDot + 1);}return n.replace('$', '.');}

// Translation:
public override string ToString(){string n = GetType().FullName;int lastDot = n.LastIndexOf('.');if (lastDot >= 0){n = Sharpen.Runtime.Substring(n, lastDot + 1);}return n.Replace('$', '.');}
// Original:
public DeleteVoiceConnectorProxyResult deleteVoiceConnectorProxy(DeleteVoiceConnectorProxyRequest request) {request = beforeClientExecution(request);return executeDeleteVoiceConnectorProxy(request);}

// Translation:
public virtual DeleteVoiceConnectorProxyResponse DeleteVoiceConnectorProxy(DeleteVoiceConnectorProxyRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteVoiceConnectorProxyRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteVoiceConnectorProxyResponseUnmarshaller.Instance;return Invoke<DeleteVoiceConnectorProxyResponse>(request, options);}
// Original:
public ByteArrayDataInput(byte[] bytes) {reset(bytes);}

// Translation:
public ByteArrayDataInput(byte[] bytes){Reset(bytes);}
// Original:
public CreateLocalGatewayRouteResult createLocalGatewayRoute(CreateLocalGatewayRouteRequest request) {request = beforeClientExecution(request);return executeCreateLocalGatewayRoute(request);}

// Translation:
public virtual CreateLocalGatewayRouteResponse CreateLocalGatewayRoute(CreateLocalGatewayRouteRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateLocalGatewayRouteRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateLocalGatewayRouteResponseUnmarshaller.Instance;return Invoke<CreateLocalGatewayRouteResponse>(request, options);}
// Original:
public static int strlen(char[] a, int start) {int len = 0;for (int i = start; i < a.length && a[i] != 0; i++) {len++;}return len;}

// Translation:
public static int StrLen(char[] a, int start){int len = 0;for (int i = start; i < a.Length && a[i] != 0; i++){len++;}return len;}
// Original:
public AttachPolicyResult attachPolicy(AttachPolicyRequest request) {request = beforeClientExecution(request);return executeAttachPolicy(request);}

// Translation:
public virtual AttachPolicyResponse AttachPolicy(AttachPolicyRequest request){var options = new InvokeOptions();options.RequestMarshaller = AttachPolicyRequestMarshaller.Instance;options.ResponseUnmarshaller = AttachPolicyResponseUnmarshaller.Instance;return Invoke<AttachPolicyResponse>(request, options);}
// Original:
public void print(double dnum) {print(String.valueOf(dnum));}

// Translation:
public virtual void print(double dnum){print(dnum.ToString());}
// Original:
public static BreakIterator getCharacterInstance() {return getCharacterInstance(Locale.getDefault());}

// Translation:
public static java.text.BreakIterator getCharacterInstance(){return getCharacterInstance(System.Globalization.CultureInfo.CurrentCulture);}
// Original:
public boolean add(E object) {throw new UnsupportedOperationException();}

// Translation:
public virtual bool add(E @object){throw new System.NotSupportedException();}
// Original:
public SendMessageRequest(String queueUrl, String messageBody) {setQueueUrl(queueUrl);setMessageBody(messageBody);}

// Translation:
public SendMessageRequest(string queueUrl, string messageBody){_queueUrl = queueUrl;_messageBody = messageBody;}
// Original:
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1) {try {AreaEval reA = evaluateRef(arg0);AreaEval reB = evaluateRef(arg1);return resolveRange(reA, reB);} catch (EvaluationException e) {return e.getErrorEval();}}

// Translation:
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1){try{AreaEval reA = EvaluateRef(arg0);AreaEval reB = EvaluateRef(arg1);return ResolveRange(reA, reB);}catch (EvaluationException e){return e.GetErrorEval();}}
// Original:
public CharBuffer put(char[] src, int srcOffset, int charCount) {Arrays.checkOffsetAndCount(src.length, srcOffset, charCount);if (charCount > remaining()) {throw new BufferOverflowException();}for (int i = srcOffset; i < srcOffset + charCount; ++i) {put(src[i]);}return this;}

// Translation:
public virtual java.nio.CharBuffer put(char[] src, int srcOffset, int charCount){java.util.Arrays.checkOffsetAndCount(src.Length, srcOffset, charCount);if (charCount > remaining()){throw new java.nio.BufferOverflowException();}{for (int i = srcOffset; i < srcOffset + charCount; ++i){put(src[i]);}}return this;}
// Original:
public void writeByte(byte b) {assert slice != null;if (slice[upto] != 0) {upto = pool.allocSlice(slice, upto);slice = pool.buffer;offset0 = pool.byteOffset;assert slice != null;}slice[upto++] = b;assert upto != slice.length;}

// Translation:
public override void WriteByte(byte b){Debug.Assert(slice != null);if (slice[upto] != 0){upto = pool.AllocSlice(slice, upto);slice = pool.Buffer;offset0 = pool.ByteOffset;Debug.Assert(slice != null);}slice[upto++] = (byte)b;Debug.Assert(upto != slice.Length);}
// Original:
public static double atanh(double a) {final double mult;if (Double.doubleToRawLongBits(a) < 0) {a = Math.abs(a);mult = -0.5d;} else {mult = 0.5d;}return mult * Math.log((1.0d + a) / (1.0d - a));}

// Translation:
public static double Atanh(double a){double mult;if (J2N.BitConversion.DoubleToRawInt64Bits(a) < 0){a = Math.Abs(a);mult = -0.5d;}else{mult = 0.5d;}return mult * Math.Log((1.0d + a) / (1.0d - a));}
// Original:
public static double asinh(double a) {final double sign;if (Double.doubleToRawLongBits(a) < 0) {a = Math.abs(a);sign = -1.0d;} else {sign = 1.0d;}return sign * Math.log(Math.sqrt(a * a + 1.0d) + a);}

// Translation:
public static double Asinh(double a){double sign;if (J2N.BitConversion.DoubleToRawInt64Bits(a) < 0){a = Math.Abs(a);sign = -1.0d;}else{sign = 1.0d;}return sign * Math.Log(Math.Sqrt(a * a + 1.0d) + a);}
// Original:
public FuzzyLikeThisQuery(int maxNumTerms, Analyzer analyzer){this.analyzer=analyzer;this.maxNumTerms = maxNumTerms;}

// Translation:
public FuzzyLikeThisQuery(int maxNumTerms, Analyzer analyzer){q = new ScoreTermQueue(maxNumTerms);this.analyzer = analyzer;this.maxNumTerms = maxNumTerms;}
// Original:
public boolean precpred(RuleContext localctx, int precedence) {return precedence >= _precedenceStack.peek();}

// Translation:
public override bool Precpred(RuleContext localctx, int precedence){return precedence >= _precedenceStack[_precedenceStack.Count - 1];}
// Original:
public UpdateStackResult updateStack(UpdateStackRequest request) {request = beforeClientExecution(request);return executeUpdateStack(request);}

// Translation:
public virtual UpdateStackResponse UpdateStack(UpdateStackRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateStackRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateStackResponseUnmarshaller.Instance;return Invoke<UpdateStackResponse>(request, options);}
// Original:
public StartJumpserverRequest() {super("HPC", "2016-06-03", "StartJumpserver", "hpc");setMethod(MethodType.POST);}

// Translation:
public StartJumpserverRequest(): base("HPC", "2016-06-03", "StartJumpserver"){Method = MethodType.POST;}
// Original:
public List<FastIgnoreRule> getRules() {return Collections.unmodifiableList(rules);}

// Translation:
public virtual IList<IgnoreRule> GetRules(){return Sharpen.Collections.UnmodifiableList(rules);}