yijunyu/c-to-rust huggingface dataset:
// Original:
public GetDocumentationPartResult getDocumentationPart(GetDocumentationPartRequest request) {request = beforeClientExecution(request);return executeGetDocumentationPart(request);}

// Translation:
public virtual GetDocumentationPartResponse GetDocumentationPart(GetDocumentationPartRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDocumentationPartRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDocumentationPartResponseUnmarshaller.Instance;return Invoke<GetDocumentationPartResponse>(request, options);}
// Original:
public ValueEval evaluate(ValueEval[] args, int srcRowIndex, int srcColumnIndex) {int nArgs = args.length;if (nArgs < 2) {return ErrorEval.VALUE_INVALID;}try {double rate = NumericFunction.singleOperandEvaluate(args[0], srcRowIndex, srcColumnIndex);ValueEval[] vargs = new ValueEval[args.length-1];System.arraycopy(args, 1, vargs, 0, vargs.length);double[] values = AggregateFunction.ValueCollector.collectValues(vargs);double result = FinanceLib.npv(rate, values);NumericFunction.checkValue(result);return new NumberEval(result);} catch (EvaluationException e) {return e.getErrorEval();}}

// Translation:
public ValueEval Evaluate(ValueEval[] args, int srcRowIndex, int srcColumnIndex){int nArgs = args.Length;if (nArgs < 2){return ErrorEval.VALUE_INVALID;}try{double rate = NumericFunction.SingleOperandEvaluate(args[0], srcRowIndex, srcColumnIndex);ValueEval[] vargs = new ValueEval[args.Length - 1];Array.Copy(args, 1, vargs, 0, vargs.Length);double[] values = AggregateFunction.ValueCollector.CollectValues(vargs);double result = FinanceLib.npv(rate, values);NumericFunction.CheckValue(result);return new NumberEval(result);}catch (EvaluationException e){return e.GetErrorEval();}}
// Original:
public String suggestFileExtension() {switch (EscherRecordTypes.forTypeID(blip.getRecordId())) {case BLIP_WMF:return "wmf";case BLIP_EMF:return "emf";case BLIP_PICT:return "pict";case BLIP_PNG:return "png";case BLIP_JPEG:return "jpeg";case BLIP_DIB:return "dib";default:return "";}}

// Translation:
public String SuggestFileExtension(){switch (blip.RecordId){case EscherMetafileBlip.RECORD_ID_WMF:return "wmf";case EscherMetafileBlip.RECORD_ID_EMF:return "emf";case EscherMetafileBlip.RECORD_ID_PICT:return "pict";case EscherBitmapBlip.RECORD_ID_PNG:return "png";case EscherBitmapBlip.RECORD_ID_JPEG:return "jpeg";case EscherBitmapBlip.RECORD_ID_DIB:return "dib";default:return "";}}
// Original:
public AsyncResponsePostRequest() {super("industry-brain", "2018-07-12", "AsyncResponsePost");setMethod(MethodType.POST);}

// Translation:
public AsyncResponsePostRequest(): base("industry-brain", "2018-07-12", "AsyncResponsePost"){Method = MethodType.POST;}
// Original:
public static final RevFilter between(long since, long until) {return new Between(since, until);}

// Translation:
public static RevFilter Between(long since, long until){return new CommitTimeRevFilterBetween(since, until);}
// Original:
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0,ValueEval arg1) {double val;double d1;try {val = singleOperandEvaluate(arg0, srcRowIndex, srcColumnIndex);d1 = singleOperandEvaluate(arg1, srcRowIndex, srcColumnIndex);} catch (EvaluationException e) {return e.getErrorEval();}int nPlaces = (int)d1;if (nPlaces > 127) {return ErrorEval.VALUE_INVALID;}return new NumberEval(val);}

// Translation:
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1){double result;try{double d0 = NumericFunction.SingleOperandEvaluate(arg0, srcRowIndex, srcColumnIndex);double d1 = NumericFunction.SingleOperandEvaluate(arg1, srcRowIndex, srcColumnIndex);result = Evaluate(d0, d1);NumericFunction.CheckValue(result);}catch (EvaluationException e){return e.GetErrorEval();}return new NumberEval(result);}
// Original:
public Iterator<T> iterator() {return new MyIterator();}

// Translation:
public override Sharpen.Iterator<T> Iterator(){return new BlockList<T>.MyIterator(this);}
// Original:
public void reset(int[] docs, long[] offsets) {this.docs = docs;this.offsets = offsets;}

// Translation:
public void Reset(int[] docs, long[] offsets){this.docs = docs;this.offsets = offsets;}
// Original:
public ObjectId getObjectId() {return object;}

// Translation:
public virtual ObjectId GetObjectId(){return @object;}
// Original:
public String toString() {return "fileName=" + fileName + " size=" + size;}

// Translation:
public override string ToString(){return string.Format("fileName={0} length={1}", FileName, Length);}
// Original:
public boolean isSubTotal(int rowIndex, int columnIndex){SheetRefEvaluator _sre = _evaluator.getSheetEvaluator(_evaluator.getFirstSheetIndex());return _sre.isSubTotal(getFirstRow() + rowIndex, getFirstColumn() + columnIndex);}

// Translation:
public override bool IsSubTotal(int rowIndex, int columnIndex){SheetRefEvaluator _sre = _evaluator.GetSheetEvaluator(_evaluator.FirstSheetIndex);return _sre.IsSubTotal(FirstRow + rowIndex, FirstColumn + columnIndex);}
// Original:
public DeleteCollectionResult deleteCollection(DeleteCollectionRequest request) {request = beforeClientExecution(request);return executeDeleteCollection(request);}

// Translation:
public virtual DeleteCollectionResponse DeleteCollection(DeleteCollectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteCollectionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteCollectionResponseUnmarshaller.Instance;return Invoke<DeleteCollectionResponse>(request, options);}
// Original:
public void write(byte[] b) {writeContinueIfRequired(b.length);_ulrOutput.write(b);}

// Translation:
public void Write(byte[] b){_out.Write(b);_size += b.Length;}
// Original:
public Drawable getIndeterminateDrawable() {return mIndeterminateDrawable;}

// Translation:
public virtual android.graphics.drawable.Drawable getIndeterminateDrawable(){return mIndeterminateDrawable;}
// Original:
public void write(byte[] b, int offset, int len) {checkPosition(len);System.arraycopy(b, offset, _buf, _writeIndex, len);_writeIndex += len;}

// Translation:
public void Write(byte[] b, int offset, int len){CheckPosition(len);System.Array.Copy(b, offset, _buf, _writeIndex, len);_writeIndex += len;}
// Original:
public ListWebsiteCertificateAuthoritiesResult listWebsiteCertificateAuthorities(ListWebsiteCertificateAuthoritiesRequest request) {request = beforeClientExecution(request);return executeListWebsiteCertificateAuthorities(request);}

// Translation:
public virtual ListWebsiteCertificateAuthoritiesResponse ListWebsiteCertificateAuthorities(ListWebsiteCertificateAuthoritiesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListWebsiteCertificateAuthoritiesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListWebsiteCertificateAuthoritiesResponseUnmarshaller.Instance;return Invoke<ListWebsiteCertificateAuthoritiesResponse>(request, options);}
// Original:
public RevWalk(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 RevWalk(ObjectReader or, int depth) : base(or){this.depth = depth;this.UNSHALLOW = NewFlag("UNSHALLOW");this.REINTERESTING = NewFlag("REINTERESTING");}
// Original:
public DeleteLogStreamRequest(String logGroupName, String logStreamName) {setLogGroupName(logGroupName);setLogStreamName(logStreamName);}

// Translation:
public DeleteLogStreamRequest(string logGroupName, string logStreamName){_logGroupName = logGroupName;_logStreamName = logStreamName;}
// Original:
public PrintWriter append(CharSequence csq) {if (csq == null) {csq = "null";}append(csq, 0, csq.length());return this;}

// Translation:
public override java.io.Writer append(java.lang.CharSequence csq){if (csq == null){csq = java.lang.CharSequenceProxy.Wrap("null");}append(csq, 0, csq.Length);return this;}
// Original:
public boolean include(TreeWalk walker)throws MissingObjectException,IncorrectObjectTypeException, IOException {count++;if (count % stepSize == 0) {if (count <= total)monitor.update(stepSize);if (monitor.isCancelled())throw StopWalkException.INSTANCE;}return true;}

// Translation:
public override bool Include(TreeWalk walker){count++;if (count % stepSize == 0){if (count <= total){monitor.Update(stepSize);}if (monitor.IsCancelled()){throw StopWalkException.INSTANCE;}}return true;}
// Original:
public RevObject getObjectId() {return id;}

// Translation:
public virtual RevObject GetObjectId(){return id;}
// Original:
public void setFlushOnEnd(boolean flushOnEnd) {this.flushOnEnd = flushOnEnd;}

// Translation:
public virtual void SetFlushOnEnd(bool flushOnEnd){this.flushOnEnd = flushOnEnd;}
// Original:
public ListAutoMLJobsResult listAutoMLJobs(ListAutoMLJobsRequest request) {request = beforeClientExecution(request);return executeListAutoMLJobs(request);}

// Translation:
public virtual ListAutoMLJobsResponse ListAutoMLJobs(ListAutoMLJobsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListAutoMLJobsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListAutoMLJobsResponseUnmarshaller.Instance;return Invoke<ListAutoMLJobsResponse>(request, options);}
// Original:
public void addBuilder(String nodeName, SpanQueryBuilder builder) {builders.put(nodeName, builder);}

// Translation:
public virtual void AddBuilder(string nodeName, ISpanQueryBuilder builder){builders[nodeName] = builder;}
// Original:
public DescribeReplicationGroupsResult describeReplicationGroups() {return describeReplicationGroups(new DescribeReplicationGroupsRequest());}

// Translation:
public virtual DescribeReplicationGroupsResponse DescribeReplicationGroups(){return DescribeReplicationGroups(new DescribeReplicationGroupsRequest());}
// Original:
public void removeAllCellsValuesForRow(int rowIndex) {if (rowIndex < 0 || rowIndex > MAX_ROW_INDEX) {throw new IllegalArgumentException("Specified rowIndex " + rowIndex+ " is outside the allowable range (0.." +MAX_ROW_INDEX + ")");}if (rowIndex >= records.length) {return;}records[rowIndex] = null;}

// Translation:
public void RemoveAllCellsValuesForRow(int rowIndex){if (rowIndex < 0 || rowIndex > MAX_ROW_INDEX){throw new ArgumentException("Specified rowIndex " + rowIndex+ " is outside the allowable range (0.." + MAX_ROW_INDEX + ")");}if (rowIndex >= records.Length){return;}records[rowIndex] = null;}
// Original:
public DeleteProxySessionResult deleteProxySession(DeleteProxySessionRequest request) {request = beforeClientExecution(request);return executeDeleteProxySession(request);}

// Translation:
public virtual DeleteProxySessionResponse DeleteProxySession(DeleteProxySessionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteProxySessionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteProxySessionResponseUnmarshaller.Instance;return Invoke<DeleteProxySessionResponse>(request, options);}
// Original:
public DescribePoliciesResult describePolicies() {return describePolicies(new DescribePoliciesRequest());}

// Translation:
public virtual DescribePoliciesResponse DescribePolicies(){return DescribePolicies(new DescribePoliciesRequest());}
// Original:
public NumberFormatIndexRecord(RecordInputStream in) {field_1_formatIndex = in.readShort();}

// Translation:
public NumberFormatIndexRecord(RecordInputStream in1){field_1_formatIndex = in1.ReadShort();}
// Original:
public CreatePrivateVirtualInterfaceResult createPrivateVirtualInterface(CreatePrivateVirtualInterfaceRequest request) {request = beforeClientExecution(request);return executeCreatePrivateVirtualInterface(request);}

// Translation:
public virtual CreatePrivateVirtualInterfaceResponse CreatePrivateVirtualInterface(CreatePrivateVirtualInterfaceRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreatePrivateVirtualInterfaceRequestMarshaller.Instance;options.ResponseUnmarshaller = CreatePrivateVirtualInterfaceResponseUnmarshaller.Instance;return Invoke<CreatePrivateVirtualInterfaceResponse>(request, options);}
// Original:
@Override public E get(int location) {return list.get(location);}

// Translation:
public virtual E get(int location){return list.get(location);}
// Original:
public String getPath() {return decode(path);}

// Translation:
public string getPath(){return decode(path);}
// Original:
public static String longToHex(long value) {StringBuilder sb = new StringBuilder(18);writeHex(sb, value, 16, "0x");return sb.toString();}

// Translation:
public static char[] LongToHex(long value){return ToHexChars(value, 8);}
// Original:
public RevFilter clone() {return new Binary(a.clone(), b.clone());}

// Translation:
public override RevFilter Clone(){return new OrRevFilter.Binary(a.Clone(), b.Clone());}
// Original:
public int compareTo( Toffs other ) {int diff = getStartOffset() - other.getStartOffset();if ( diff != 0 ) {return diff;}return getEndOffset() - other.getEndOffset();}

// Translation:
public virtual int CompareTo(Toffs other){int diff = StartOffset - other.StartOffset;if (diff != 0){return diff;}return EndOffset - other.EndOffset;}
// Original:
public UpdateNetworkProfileResult updateNetworkProfile(UpdateNetworkProfileRequest request) {request = beforeClientExecution(request);return executeUpdateNetworkProfile(request);}

// Translation:
public virtual UpdateNetworkProfileResponse UpdateNetworkProfile(UpdateNetworkProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateNetworkProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateNetworkProfileResponseUnmarshaller.Instance;return Invoke<UpdateNetworkProfileResponse>(request, options);}
// Original:
public GetRelationalDatabaseParametersResult getRelationalDatabaseParameters(GetRelationalDatabaseParametersRequest request) {request = beforeClientExecution(request);return executeGetRelationalDatabaseParameters(request);}

// Translation:
public virtual GetRelationalDatabaseParametersResponse GetRelationalDatabaseParameters(GetRelationalDatabaseParametersRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRelationalDatabaseParametersRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRelationalDatabaseParametersResponseUnmarshaller.Instance;return Invoke<GetRelationalDatabaseParametersResponse>(request, options);}
// Original:
public boolean contains(Object object) {return indexOf(object, 0) != -1;}

// Translation:
public override bool contains(object @object){return indexOf(@object, 0) != -1;}
// Original:
public boolean remove(Object object) {return removeFirstOccurrenceImpl(object);}

// Translation:
public override bool remove(object @object){return removeFirstOccurrenceImpl(@object);}
// Original:
public DConRefRecord(RecordInputStream inStream) {if (inStream.getSid() != sid) {throw new RecordFormatException("Wrong sid: " + inStream.getSid());}firstRow = inStream.readUShort();lastRow = inStream.readUShort();firstCol = inStream.readUByte();lastCol = inStream.readUByte();charCount = inStream.readUShort();charType = inStream.readUByte() & 0x01;final int byteLength = charCount * (charType + 1);path = IOUtils.safelyAllocate(byteLength, MAX_RECORD_LENGTH);inStream.readFully(path);if (path[0] == 0x02) {_unused = inStream.readRemainder();}}

// Translation:
public DConRefRecord(RecordInputStream inStream){if (inStream.Sid != sid)throw new RecordFormatException("Wrong sid: " + inStream.Sid);firstRow = inStream.ReadUShort();lastRow = inStream.ReadUShort();firstCol = inStream.ReadUByte();lastCol = inStream.ReadUByte();charCount = inStream.ReadUShort();charType = inStream.ReadUByte() & 0x01; int byteLength = charCount * (charType + 1);path = new byte[byteLength];inStream.ReadFully(path);if (path[0] == 0x02)_unused = inStream.ReadRemainder();}
// Original:
public int getSheetIndex(EvaluationSheet evalSheet) {HSSFSheet sheet = ((HSSFEvaluationSheet)evalSheet).getHSSFSheet();return _uBook.getSheetIndex(sheet);}

// Translation:
public int GetSheetIndex(IEvaluationSheet evalSheet){HSSFSheet sheet = ((HSSFEvaluationSheet)evalSheet).HSSFSheet;return _uBook.GetSheetIndex(sheet);}
// Original:
public synchronized int codePointAt(int index) {return super.codePointAt(index);}

// Translation:
public override int codePointAt(int index){lock (this){return base.codePointAt(index);}}
// Original:
public DeleteRepoBuildRuleRequest() {super("cr", "2016-06-07", "DeleteRepoBuildRule", "cr");setUriPattern("/repos/[RepoNamespace]/[RepoName]/rules/[BuildRuleId]");setMethod(MethodType.DELETE);}

// Translation:
public DeleteRepoBuildRuleRequest(): base("cr", "2016-06-07", "DeleteRepoBuildRule", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/rules/[BuildRuleId]";Method = MethodType.DELETE;}
// Original:
public UpdateEmailChannelResult updateEmailChannel(UpdateEmailChannelRequest request) {request = beforeClientExecution(request);return executeUpdateEmailChannel(request);}

// Translation:
public virtual UpdateEmailChannelResponse UpdateEmailChannel(UpdateEmailChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateEmailChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateEmailChannelResponseUnmarshaller.Instance;return Invoke<UpdateEmailChannelResponse>(request, options);}
// Original:
public TabIdRecord(RecordInputStream in) {int nTabs = in.remaining() / 2;_tabids = new short[nTabs];for (int i = 0; i < _tabids.length; i++) {_tabids[i] = in.readShort();}}

// Translation:
public TabIdRecord(RecordInputStream in1){_tabids = new short[in1.Remaining / 2];for (int k = 0; k < _tabids.Length; k++){_tabids[k] = in1.ReadShort();}}
// Original:
public String toFormulaString(){return ",";}

// Translation:
public override String ToFormulaString(){return ",";}
// Original:
public CreateConnectionResult createConnection(CreateConnectionRequest request) {request = beforeClientExecution(request);return executeCreateConnection(request);}

// Translation:
public virtual CreateConnectionResponse CreateConnection(CreateConnectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateConnectionRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateConnectionResponseUnmarshaller.Instance;return Invoke<CreateConnectionResponse>(request, options);}
// Original:
public int calculateWorkdays(double start, double end, double[] holidays) {int saturdaysPast = this.pastDaysOfWeek(start, end, Calendar.SATURDAY);int sundaysPast = this.pastDaysOfWeek(start, end, Calendar.SUNDAY);int nonWeekendHolidays = this.calculateNonWeekendHolidays(start, end, holidays);return (int) (end - start + 1) - saturdaysPast - sundaysPast - nonWeekendHolidays;}

// Translation:
public int CalculateWorkdays(double start, double end, double[] holidays){int saturdaysPast = this.PastDaysOfWeek(start, end, DayOfWeek.Saturday);int sundaysPast = this.PastDaysOfWeek(start, end, DayOfWeek.Sunday);int nonWeekendHolidays = this.CalculateNonWeekendHolidays(start, end, holidays);return (int)(end - start + 1) - saturdaysPast - sundaysPast - nonWeekendHolidays;}
// Original:
public IndexFormatTooNewException(String resourceDescription, int version, int minVersion, int maxVersion) {super("Format version is not supported (resource " + resourceDescription + "): "+ version + " (needs to be between " + minVersion + " and " + maxVersion + ")");this.resourceDescription = resourceDescription;this.version = version;this.minVersion = minVersion;this.maxVersion = maxVersion;}

// Translation:
public IndexFormatTooNewException(string resourceDesc, int version, int minVersion, int maxVersion): base("Format version is not supported (resource: " + resourceDesc + "): " + version + " (needs to be between " + minVersion + " and " + maxVersion + ")"){Debug.Assert(resourceDesc != null);}
// Original:
public void apply(DirCacheEntry ent) {throw new UnsupportedOperationException(JGitText.get().noApplyInDelete);}

// Translation:
public override void Apply(DirCacheEntry ent){throw new NotSupportedException(JGitText.Get().noApplyInDelete);}
// Original:
public boolean isNewFragment() {position += posIncAtt.getPositionIncrement();if (waitForPos <= position) {waitForPos = -1;} else if (waitForPos != -1) {return false;}WeightedSpanTerm wSpanTerm = queryScorer.getWeightedSpanTerm(termAtt.toString());if (wSpanTerm != null) {List<PositionSpan> positionSpans = wSpanTerm.getPositionSpans();for (PositionSpan positionSpan : positionSpans) {if (positionSpan.start == position) {waitForPos = positionSpan.end + 1;break;}}}boolean isNewFrag = offsetAtt.endOffset() >= (fragmentSize * currentNumFrags)&& (textSize - offsetAtt.endOffset()) >= (fragmentSize >>> 1);if (isNewFrag) {currentNumFrags++;}return isNewFrag;}

// Translation:
public virtual bool IsNewFragment(){position += posIncAtt.PositionIncrement;if (waitForPos == position){waitForPos = -1;}else if (waitForPos != -1){return false;}WeightedSpanTerm wSpanTerm = queryScorer.GetWeightedSpanTerm(termAtt.ToString());if (wSpanTerm != null){IList<PositionSpan> positionSpans = wSpanTerm.PositionSpans;for (int i = 0; i < positionSpans.Count; i++){if (positionSpans[i].Start == position){waitForPos = positionSpans[i].End + 1;break;}}}bool isNewFrag = offsetAtt.EndOffset >= (fragmentSize * currentNumFrags)&& (textSize - offsetAtt.EndOffset) >= (int)((uint)fragmentSize >> 1);if (isNewFrag){currentNumFrags++;}return isNewFrag;}
// Original:
public StopMatchmakingResult stopMatchmaking(StopMatchmakingRequest request) {request = beforeClientExecution(request);return executeStopMatchmaking(request);}

// Translation:
public virtual StopMatchmakingResponse StopMatchmaking(StopMatchmakingRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopMatchmakingRequestMarshaller.Instance;options.ResponseUnmarshaller = StopMatchmakingResponseUnmarshaller.Instance;return Invoke<StopMatchmakingResponse>(request, options);}
// Original:
public DescribeClientVpnTargetNetworksResult describeClientVpnTargetNetworks(DescribeClientVpnTargetNetworksRequest request) {request = beforeClientExecution(request);return executeDescribeClientVpnTargetNetworks(request);}

// Translation:
public virtual DescribeClientVpnTargetNetworksResponse DescribeClientVpnTargetNetworks(DescribeClientVpnTargetNetworksRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClientVpnTargetNetworksRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClientVpnTargetNetworksResponseUnmarshaller.Instance;return Invoke<DescribeClientVpnTargetNetworksResponse>(request, options);}
// Original:
public FloatBuffer put(FloatBuffer buf) {throw new ReadOnlyBufferException();}

// Translation:
public override java.nio.FloatBuffer put(java.nio.FloatBuffer buf){throw new java.nio.ReadOnlyBufferException();}
// Original:
public final IntBuffer asIntBuffer() {return IntToByteBufferAdapter.asIntBuffer(this);}

// Translation:
public sealed override java.nio.IntBuffer asIntBuffer(){return java.nio.IntToByteBufferAdapter.asIntBuffer(this);}
// Original:
public RemovePermissionResult removePermission(String queueUrl, String label) {return removePermission(new RemovePermissionRequest().withQueueUrl(queueUrl).withLabel(label));}

// Translation:
public virtual RemovePermissionResponse RemovePermission(string queueUrl, string label){var request = new RemovePermissionRequest();request.QueueUrl = queueUrl;request.Label = label;return RemovePermission(request);}
// Original:
public void inform(ResourceLoader loader) {if (encoderClass.equals("float")){encoder = new FloatEncoder();} else if (encoderClass.equals("integer")){encoder = new IntegerEncoder();} else if (encoderClass.equals("identity")){encoder = new IdentityEncoder();} else {encoder = loader.newInstance(encoderClass, PayloadEncoder.class);}}

// Translation:
public virtual void Inform(IResourceLoader loader){if (encoderClass.Equals("float", StringComparison.Ordinal)){encoder = new SingleEncoder();}else if (encoderClass.Equals("integer", StringComparison.Ordinal)){encoder = new IntegerEncoder();}else if (encoderClass.Equals("identity", StringComparison.Ordinal)){encoder = new IdentityEncoder();}else{encoder = loader.NewInstance<IPayloadEncoder>(encoderClass );}}