yijunyu/c-to-rust huggingface dataset:
// Original:
public String getText(Interval interval) {if (interval.a < 0 || interval.b < interval.a - 1) {throw new IllegalArgumentException("invalid interval");}int bufferStartIndex = getBufferStartIndex();if (n > 0 && data[n - 1] == Character.MAX_VALUE) {if (interval.a + interval.length() > bufferStartIndex + n) {throw new IllegalArgumentException("the interval extends past the end of the stream");}}if (interval.a < bufferStartIndex || interval.b >= bufferStartIndex + n) {throw new UnsupportedOperationException("interval "+interval+" outside buffer: "+bufferStartIndex+".."+(bufferStartIndex+n-1));}int i = interval.a - bufferStartIndex;return new String(data, i, interval.length());}

// Translation:
public virtual string GetText(Interval interval){if (interval.a < 0 || interval.b < interval.a - 1){throw new ArgumentException("invalid interval");}int bufferStartIndex = BufferStartIndex;if (n > 0 && data[n - 1] == IntStreamConstants.EOF){if (interval.a + interval.Length > bufferStartIndex + n){throw new ArgumentException("the interval extends past the end of the stream");}}if (interval.a < bufferStartIndex || interval.b >= bufferStartIndex + n){throw new NotSupportedException("interval " + interval + " outside buffer: " + bufferStartIndex + ".." + (bufferStartIndex + n - 1));}int i = interval.a - bufferStartIndex;var sb = new StringBuilder(interval.Length);for (int offset = 0; offset < interval.Length; offset++) {sb.Append(Char.ConvertFromUtf32(data[i + offset]));}return sb.ToString();}
// Original:
public void addClass(String chargroup) {if (chargroup.length() > 0) {char equivChar = chargroup.charAt(0);char[] key = new char[2];key[1] = 0;for (int i = 0; i < chargroup.length(); i++) {key[0] = chargroup.charAt(i);classmap.insert(key, 0, equivChar);}}}

// Translation:
public virtual void AddClass(string chargroup){if (chargroup.Length > 0){char equivChar = chargroup[0];char[] key = new char[2];key[1] = (char)0;for (int i = 0; i < chargroup.Length; i++){key[0] = chargroup[i];m_classmap.Insert(key, 0, equivChar);}}}
// Original:
public MultiPhraseQuery build() {int[] positionsArray = new int[this.positions.size()];for (int i = 0; i < this.positions.size(); ++i) {positionsArray[i] = this.positions.get(i);}Term[][] termArraysArray = termArrays.toArray(new Term[termArrays.size()][]);return new MultiPhraseQuery(field, termArraysArray, positionsArray, slop);}

// Translation:
public virtual StemmerOverrideMap Build(){ByteSequenceOutputs outputs = ByteSequenceOutputs.Singleton;Builder<BytesRef> builder = new Builder<BytesRef>(FST.INPUT_TYPE.BYTE4, outputs);int[] sort = hash.Sort(BytesRef.UTF8SortedAsUnicodeComparer);Int32sRef intsSpare = new Int32sRef();int size = hash.Count;for (int i = 0; i < size; i++){int id = sort[i];BytesRef bytesRef = hash.Get(id, spare);UnicodeUtil.UTF8toUTF32(bytesRef, intsSpare);builder.Add(intsSpare, new BytesRef(outputValues[id]));}return new StemmerOverrideMap(builder.Finish(), ignoreCase);}
// Original:
public DFRSimilarity(BasicModel basicModel,AfterEffect afterEffect,Normalization normalization) {if (basicModel == null || afterEffect == null || normalization == null) {throw new NullPointerException("null parameters not allowed.");}this.basicModel = basicModel;this.afterEffect = afterEffect;this.normalization = normalization;}

// Translation:
public DFRSimilarity(BasicModel basicModel, AfterEffect afterEffect, Normalization normalization){if (basicModel == null || afterEffect == null || normalization == null){throw new System.NullReferenceException("null parameters not allowed.");}this.m_basicModel = basicModel;this.m_afterEffect = afterEffect;this.m_normalization = normalization;}
// Original:
public ResetSnapshotAttributeRequest(String snapshotId, SnapshotAttributeName attribute) {setSnapshotId(snapshotId);setAttribute(attribute.toString());}

// Translation:
public ResetSnapshotAttributeRequest(string snapshotId, SnapshotAttributeName attribute){_snapshotId = snapshotId;_attribute = attribute;}
// Original:
public V get(CharSequence cs) {if(cs == null)throw new NullPointerException();return null;}

// Translation:
public override V Get(ICharSequence text){if (text == null){throw new ArgumentNullException("text");}return default(V);}
// Original:
public String getScheme() {return scheme;}

// Translation:
public string getScheme(){return scheme;}
// Original:
public void seekExact(long ord) {throw new UnsupportedOperationException();}

// Translation:
public override void SeekExact(long ord){throw new System.NotSupportedException();}
// Original:
public XPathElement(String nodeName) {this.nodeName = nodeName;}

// Translation:
public XPathElement(string nodeName){this.nodeName = nodeName;}
// Original:
public DeleteAccountResult deleteAccount(DeleteAccountRequest request) {request = beforeClientExecution(request);return executeDeleteAccount(request);}

// Translation:
public virtual DeleteAccountResponse DeleteAccount(DeleteAccountRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteAccountRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteAccountResponseUnmarshaller.Instance;return Invoke<DeleteAccountResponse>(request, options);}
// Original:
public boolean matches(ParseTree tree, ParseTreePattern pattern) {MultiMap<String, ParseTree> labels = new MultiMap<String, ParseTree>();ParseTree mismatchedNode = matchImpl(tree, pattern.getPatternTree(), labels);return mismatchedNode == null;}

// Translation:
public virtual bool Matches(IParseTree tree, ParseTreePattern pattern){MultiMap<string, IParseTree> labels = new MultiMap<string, IParseTree>();IParseTree mismatchedNode = MatchImpl(tree, pattern.PatternTree, labels);return mismatchedNode == null;}
// Original:
public PredictionContext get(PredictionContext ctx) {return cache.get(ctx);}

// Translation:
public PredictionContext Get(PredictionContext ctx){return cache.Get(ctx);}
// Original:
public SpotPlacement(String availabilityZone) {setAvailabilityZone(availabilityZone);}

// Translation:
public SpotPlacement(string availabilityZone){_availabilityZone = availabilityZone;}
// Original:
public DescribeFleetInstancesResult describeFleetInstances(DescribeFleetInstancesRequest request) {request = beforeClientExecution(request);return executeDescribeFleetInstances(request);}

// Translation:
public virtual DescribeFleetInstancesResponse DescribeFleetInstances(DescribeFleetInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeFleetInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeFleetInstancesResponseUnmarshaller.Instance;return Invoke<DescribeFleetInstancesResponse>(request, options);}
// Original:
public void setWorkingTreeIterator(WorkingTreeIterator workingTreeIterator) {this.workingTreeIterator = workingTreeIterator;}

// Translation:
public virtual void SetWorkingTreeIterator(WorkingTreeIterator workingTreeIterator){this.workingTreeIterator = workingTreeIterator;}
// Original:
public static long pop_array(long[] arr, int wordOffset, int numWords) {long popCount = 0;for (int i = wordOffset, end = wordOffset + numWords; i < end; ++i) {popCount += Long.bitCount(arr[i]);}return popCount;}

// Translation:
public static long Pop_Array(long[] arr, int wordOffset, int numWords){long popCount = 0;for (int i = wordOffset, end = wordOffset + numWords; i < end; ++i){popCount += arr[i].PopCount();}return popCount;}
// Original:
public static FileKey lenient(File directory, FS fs) {final File gitdir = resolve(directory, fs);return new FileKey(gitdir != null ? gitdir : directory, fs);}

// Translation:
public static RepositoryCache.FileKey Lenient(FilePath directory, FS fs){FilePath gitdir = Resolve(directory, fs);return new RepositoryCache.FileKey(gitdir != null ? gitdir : directory, fs);}
// Original:
public ObjectWalk(ObjectReader or, int depth) {super(or);this.depth = depth;this.deepenNots = Collections.emptyList();this.UNSHALLOW = newFlag("UNSHALLOW"); this.REINTERESTING = newFlag("REINTERESTING"); this.DEEPEN_NOT = newFlag("DEEPEN_NOT"); }

// Translation:
public ObjectWalk(ObjectReader or, int depth) : base(or){this.depth = depth;this.UNSHALLOW = NewFlag("UNSHALLOW");this.REINTERESTING = NewFlag("REINTERESTING");}
// Original:
public RegisterImageRequest(String imageLocation) {setImageLocation(imageLocation);}

// Translation:
public RegisterImageRequest(string imageLocation){_imageLocation = imageLocation;}
// Original:
public void write(String s) {reserve(s.length());s.getChars(0,s.length(),buf, len);len +=s.length();}

// Translation:
public virtual void Write(string s){EnsureCapacity(s.Length);s.CopyTo(0, m_buf, m_len, s.Length - 0);m_len += s.Length;}
// Original:
public RefCountedRevision(Revision revision) {this.revision = revision;}

// Translation:
public RefCountedRevision(IRevision revision){Revision = revision;}
// Original:
public ListTagsForResourcesResult listTagsForResources(ListTagsForResourcesRequest request) {request = beforeClientExecution(request);return executeListTagsForResources(request);}

// Translation:
public virtual ListTagsForResourcesResponse ListTagsForResources(ListTagsForResourcesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTagsForResourcesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTagsForResourcesResponseUnmarshaller.Instance;return Invoke<ListTagsForResourcesResponse>(request, options);}
// Original:
public byte readByte() {return bytes[pos++];}

// Translation:
public override byte ReadByte(){return bytes[pos++];}
// Original:
public GlobalReplicationGroup deleteGlobalReplicationGroup(DeleteGlobalReplicationGroupRequest request) {request = beforeClientExecution(request);return executeDeleteGlobalReplicationGroup(request);}

// Translation:
public virtual DeleteGlobalReplicationGroupResponse DeleteGlobalReplicationGroup(DeleteGlobalReplicationGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteGlobalReplicationGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteGlobalReplicationGroupResponseUnmarshaller.Instance;return Invoke<DeleteGlobalReplicationGroupResponse>(request, options);}
// Original:
public IntBuffer asReadOnlyBuffer() {return duplicate();}

// Translation:
public override java.nio.IntBuffer asReadOnlyBuffer(){return duplicate();}
// Original:
public DescribeFileSystemPolicyResult describeFileSystemPolicy(DescribeFileSystemPolicyRequest request) {request = beforeClientExecution(request);return executeDescribeFileSystemPolicy(request);}

// Translation:
public virtual DescribeFileSystemPolicyResponse DescribeFileSystemPolicy(DescribeFileSystemPolicyRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeFileSystemPolicyRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeFileSystemPolicyResponseUnmarshaller.Instance;return Invoke<DescribeFileSystemPolicyResponse>(request, options);}
// Original:
public ListAttributesResult listAttributes(ListAttributesRequest request) {request = beforeClientExecution(request);return executeListAttributes(request);}

// Translation:
public virtual ListAttributesResponse ListAttributes(ListAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListAttributesResponseUnmarshaller.Instance;return Invoke<ListAttributesResponse>(request, options);}
// Original:
public ModifyStrategyTargetRequest() {super("aegis", "2016-11-11", "ModifyStrategyTarget", "vipaegis");setMethod(MethodType.POST);}

// Translation:
public ModifyStrategyTargetRequest(): base("aegis", "2016-11-11", "ModifyStrategyTarget", "vipaegis", "openAPI"){Method = MethodType.POST;}
// Original:
public void removeFontRecord(FontRecord rec) {records.remove(rec); numfonts--;}

// Translation:
public void RemoveFontRecord(FontRecord rec){records.Remove(rec); numfonts--;}
// Original:
public static Class<? extends TokenFilterFactory> lookupClass(String name) {return loader.lookupClass(name);}

// Translation:
public static Type LookupClass(string name){return loader.LookupClass(name);}
// Original:
public void reset(TermsEnum terms, BytesRef term) {this.terms = terms;current = term;}

// Translation:
public void Reset(TermsEnum terms, BytesRef term){this.Terms = terms;Current = term;}
// Original:
public LinkedDataRecord getDataValues(){return dataValues;}

// Translation:
public BRAIRecord GetDataValues(){return dataValues;}
// Original:
public synchronized static DefaultProfile getProfile(String regionId, ICredentialProvider icredential) {profile = new DefaultProfile(regionId, icredential);return profile;}

// Translation:
public static DefaultProfile GetProfile(string regionId, ICredentialProvider icredential){_profile = new DefaultProfile(regionId, icredential);return _profile;}
// Original:
public ListFieldLevelEncryptionProfilesResult listFieldLevelEncryptionProfiles(ListFieldLevelEncryptionProfilesRequest request) {request = beforeClientExecution(request);return executeListFieldLevelEncryptionProfiles(request);}

// Translation:
public virtual ListFieldLevelEncryptionProfilesResponse ListFieldLevelEncryptionProfiles(ListFieldLevelEncryptionProfilesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListFieldLevelEncryptionProfilesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListFieldLevelEncryptionProfilesResponseUnmarshaller.Instance;return Invoke<ListFieldLevelEncryptionProfilesResponse>(request, options);}
// Original:
public RegisterTaskDefinitionResult registerTaskDefinition(RegisterTaskDefinitionRequest request) {request = beforeClientExecution(request);return executeRegisterTaskDefinition(request);}

// Translation:
public virtual RegisterTaskDefinitionResponse RegisterTaskDefinition(RegisterTaskDefinitionRequest request){var options = new InvokeOptions();options.RequestMarshaller = RegisterTaskDefinitionRequestMarshaller.Instance;options.ResponseUnmarshaller = RegisterTaskDefinitionResponseUnmarshaller.Instance;return Invoke<RegisterTaskDefinitionResponse>(request, options);}
// Original:
public String toString() {return String.format("type(%d)", type);}

// Translation:
public override string ToString(){return string.Format("type({0})", type);}
// Original:
public DisableEnhancedMonitoringResult disableEnhancedMonitoring(DisableEnhancedMonitoringRequest request) {request = beforeClientExecution(request);return executeDisableEnhancedMonitoring(request);}

// Translation:
public virtual DisableEnhancedMonitoringResponse DisableEnhancedMonitoring(DisableEnhancedMonitoringRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisableEnhancedMonitoringRequestMarshaller.Instance;options.ResponseUnmarshaller = DisableEnhancedMonitoringResponseUnmarshaller.Instance;return Invoke<DisableEnhancedMonitoringResponse>(request, options);}
// Original:
public NodeHash(FST<T> fst, FST.BytesReader in) {table = new PagedGrowableWriter(16, 1<<27, 8, PackedInts.COMPACT);mask = 15;this.fst = fst;this.in = in;}

// Translation:
public NodeHash(FST<T> fst, FST.BytesReader input){table = new PagedGrowableWriter(16, 1 << 30, 8, PackedInt32s.COMPACT);mask = 15;this.fst = fst;this.input = input;}
// Original:
public static final String toString(ObjectId i) {return i != null ? i.name() : ZEROID_STR;}

// Translation:
public static string ToString(NGit.ObjectId i){return i != null ? i.Name : ZEROID_STR;}
// Original:
public LittleEndianOutput createDelayedOutput(int size) {return this;}

// Translation:
public ILittleEndianOutput CreateDelayedOutput(int size){return this;}
// Original:
public String toFormulaString(FormulaRenderingWorkbook book) {return book.getNameText(this);}

// Translation:
public String ToFormulaString(IFormulaRenderingWorkbook book){return book.GetNameText(this);}
// Original:
public String toString() {return "<boost value='" + getValueString() + "'>" + "\n"+ getChild().toString() + "\n</boost>";}

// Translation:
public override string ToString(){return "<boost value='" + GetValueString() + "'>" + "\n"+ Child.ToString() + "\n</boost>";}
// Original:
public ListTagsResult listTags(ListTagsRequest request) {request = beforeClientExecution(request);return executeListTags(request);}

// Translation:
public virtual ListTagsResponse ListTags(ListTagsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTagsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTagsResponseUnmarshaller.Instance;return Invoke<ListTagsResponse>(request, options);}
// Original:
public ListTypeVersionsResult listTypeVersions(ListTypeVersionsRequest request) {request = beforeClientExecution(request);return executeListTypeVersions(request);}

// Translation:
public virtual ListTypeVersionsResponse ListTypeVersions(ListTypeVersionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTypeVersionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTypeVersionsResponseUnmarshaller.Instance;return Invoke<ListTypeVersionsResponse>(request, options);}
// Original:
public ObjectLinkRecord(RecordInputStream in) {field_1_anchorId = in.readShort();field_2_link1 = in.readShort();field_3_link2 = in.readShort();}

// Translation:
public ObjectLinkRecord(RecordInputStream in1){field_1_anchorId = in1.ReadShort();field_2_link1 = in1.ReadShort();field_3_link2 = in1.ReadShort();}
// Original:
public String getPromptText() {return promptText;}

// Translation:
public virtual string GetPromptText(){return promptText;}
// Original:
public static String toLowerCase(String in) {final StringBuilder r = new StringBuilder(in.length());for (int i = 0; i < in.length(); i++)r.append(toLowerCase(in.charAt(i)));return r.toString();}

// Translation:
public static string ToLowerCase(string @in){StringBuilder r = new StringBuilder(@in.Length);for (int i = 0; i < @in.Length; i++){r.Append(ToLowerCase(@in[i]));}return r.ToString();}
// Original:
public static boolean isBeginRecord(int sid) {return sid == UserSViewBegin.sid;}

// Translation:
public static bool IsBeginRecord(int sid){return sid == UserSViewBegin.sid;}
// Original:
public GetInstanceMetricDataResult getInstanceMetricData(GetInstanceMetricDataRequest request) {request = beforeClientExecution(request);return executeGetInstanceMetricData(request);}

// Translation:
public virtual GetInstanceMetricDataResponse GetInstanceMetricData(GetInstanceMetricDataRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetInstanceMetricDataRequestMarshaller.Instance;options.ResponseUnmarshaller = GetInstanceMetricDataResponseUnmarshaller.Instance;return Invoke<GetInstanceMetricDataResponse>(request, options);}
// Original:
public void seekExact(BytesRef target, TermState otherState) {assert otherState != null && otherState instanceof BlockTermState;assert !doOrd || ((BlockTermState) otherState).ord < numTerms;state.copyFrom(otherState);seekPending = true;indexIsCurrent = false;term.copyBytes(target);}

// Translation:
public override void SeekExact(BytesRef target, TermState otherState){Debug.Assert(otherState != null && otherState is BlockTermState);Debug.Assert(!doOrd || ((BlockTermState)otherState).Ord < outerInstance.numTerms);state.CopyFrom(otherState);seekPending = true;indexIsCurrent = false;term.CopyBytes(target);}
// Original:
public NGramDistance(int size) {this.n = size;}

// Translation:
public NGramDistance(int size){this.n = size;}
// Original:
public AllocateConnectionOnInterconnectResult allocateConnectionOnInterconnect(AllocateConnectionOnInterconnectRequest request) {request = beforeClientExecution(request);return executeAllocateConnectionOnInterconnect(request);}

// Translation:
public virtual AllocateConnectionOnInterconnectResponse AllocateConnectionOnInterconnect(AllocateConnectionOnInterconnectRequest request){var options = new InvokeOptions();options.RequestMarshaller = AllocateConnectionOnInterconnectRequestMarshaller.Instance;options.ResponseUnmarshaller = AllocateConnectionOnInterconnectResponseUnmarshaller.Instance;return Invoke<AllocateConnectionOnInterconnectResponse>(request, options);}
// Original:
public StandardSyntaxParser(CharStream stream) {token_source = new StandardSyntaxParserTokenManager(stream);token = new Token();jj_ntk = -1;jj_gen = 0;for (int i = 0; i < 25; i++) jj_la1[i] = -1;for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();}

// Translation:
public StandardSyntaxParser(ICharStream stream){TokenSource = new StandardSyntaxParserTokenManager(stream);Token = new Token();jj_ntk = -1;jj_gen = 0;for (int i = 0; i < 28; i++) jj_la1[i] = -1;for (int i = 0; i < jj_2_rtns.Length; i++) jj_2_rtns[i] = new JJCalls();}
// Original:
public void serialize(LittleEndianOutput out) {_range.serialize(out);serializeExtraData(out);}

// Translation:
public override void Serialize(ILittleEndianOutput out1){_range.Serialize(out1);SerializeExtraData(out1);}
// Original:
public CharSequence toQueryString(EscapeQuerySyntax escapeSyntaxParser) {return isDefaultField(field)? "/"+text+"/": field + ":/" + text + "/";}

// Translation:
public override string ToQueryString(IEscapeQuerySyntax escapeSyntaxParser){return IsDefaultField(field) ? "/" + text + "/" : field + ":/" + text + "/";}
// Original:
public static boolean isRowBlockRecord(int sid) {switch (sid) {case RowRecord.sid:case BlankRecord.sid:case BoolErrRecord.sid:case FormulaRecord.sid:case LabelRecord.sid:case LabelSSTRecord.sid:case NumberRecord.sid:case RKRecord.sid:case ArrayRecord.sid:case SharedFormulaRecord.sid:case TableRecord.sid:return true;}return false;}

// Translation:
public static bool IsRowBlockRecord(int sid){switch (sid){case RowRecord.sid:case BlankRecord.sid:case BoolErrRecord.sid:case FormulaRecord.sid:case LabelRecord.sid:case LabelSSTRecord.sid:case NumberRecord.sid:case RKRecord.sid:case ArrayRecord.sid:case SharedFormulaRecord.sid:case TableRecord.sid:return true;}return false;}
// Original:
public static final int endOfParagraph(byte[] b, int start) {int ptr = start;final int sz = b.length;while (ptr < sz && (b[ptr] != '\n' && b[ptr] != '\r'))ptr = nextLF(b, ptr);if (ptr > start && b[ptr - 1] == '\n')ptr--;if (ptr > start && b[ptr - 1] == '\r')ptr--;return ptr;}

// Translation:
public static int EndOfParagraph(byte[] b, int start){int ptr = start;int sz = b.Length;while (ptr < sz && b[ptr] != '\n'){ptr = NextLF(b, ptr);}while (0 < ptr && start < ptr && b[ptr - 1] == '\n'){ptr--;}return ptr;}
// Original:
public VerifyDomainDkimResult verifyDomainDkim(VerifyDomainDkimRequest request) {request = beforeClientExecution(request);return executeVerifyDomainDkim(request);}

// Translation:
public virtual VerifyDomainDkimResponse VerifyDomainDkim(VerifyDomainDkimRequest request){var options = new InvokeOptions();options.RequestMarshaller = VerifyDomainDkimRequestMarshaller.Instance;options.ResponseUnmarshaller = VerifyDomainDkimResponseUnmarshaller.Instance;return Invoke<VerifyDomainDkimResponse>(request, options);}
// Original:
public boolean equals(Object o) {if (o instanceof HSSFRichTextString) {return _string.equals(((HSSFRichTextString)o)._string);}return false;}

// Translation:
public override bool Equals(Object o){if (o is HSSFRichTextString){return _string.Equals(((HSSFRichTextString)o)._string);}return false;}
// Original:
public boolean equals(Object obj) {if (!(obj instanceof RowColKey)) {return false;}RowColKey other = (RowColKey) obj;return _rowIndex == other._rowIndex && _columnIndex == other._columnIndex;}

// Translation:
public override bool Equals(Object obj){RowColKey other = (RowColKey)obj;return _rowIndex == other._rowIndex && _columnIndex == other._columnIndex;}
// Original:
public GetIdentityPoolConfigurationResult getIdentityPoolConfiguration(GetIdentityPoolConfigurationRequest request) {request = beforeClientExecution(request);return executeGetIdentityPoolConfiguration(request);}

// Translation:
public virtual GetIdentityPoolConfigurationResponse GetIdentityPoolConfiguration(GetIdentityPoolConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetIdentityPoolConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = GetIdentityPoolConfigurationResponseUnmarshaller.Instance;return Invoke<GetIdentityPoolConfigurationResponse>(request, options);}