yijunyu/c-to-rust huggingface dataset:
// Original:
public boolean equals(Object obj) {if (this == obj)return true;if (obj == null)return false;if (getClass() != obj.getClass())return false;FieldVals other = (FieldVals) obj;if (fieldName == null) {if (other.fieldName != null)return false;} else if (!fieldName.equals(other.fieldName))return false;if (maxEdits != other.maxEdits) {return false;}if (prefixLength != other.prefixLength)return false;if (queryString == null) {if (other.queryString != null)return false;} else if (!queryString.equals(other.queryString))return false;return true;}

// Translation:
public override bool Equals(object obj){if (this == obj)return true;if (obj == null)return false;if (GetType() != obj.GetType())return false;FieldVals other = (FieldVals)obj;if (fieldName == null){if (other.fieldName != null)return false;}else if (!fieldName.Equals(other.fieldName, StringComparison.Ordinal))return false;if (J2N.BitConversion.SingleToInt32Bits(minSimilarity) != J2N.BitConversion.SingleToInt32Bits(other.minSimilarity))return false;if (prefixLength != other.prefixLength)return false;if (queryString == null){if (other.queryString != null)return false;}else if (!queryString.Equals(other.queryString, StringComparison.Ordinal))return false;return true;}
// Original:
public BuildSuggestersResult buildSuggesters(BuildSuggestersRequest request) {request = beforeClientExecution(request);return executeBuildSuggesters(request);}

// Translation:
public virtual BuildSuggestersResponse BuildSuggesters(BuildSuggestersRequest request){var options = new InvokeOptions();options.RequestMarshaller = BuildSuggestersRequestMarshaller.Instance;options.ResponseUnmarshaller = BuildSuggestersResponseUnmarshaller.Instance;return Invoke<BuildSuggestersResponse>(request, options);}
// Original:
public GetRelationalDatabaseBundlesResult getRelationalDatabaseBundles(GetRelationalDatabaseBundlesRequest request) {request = beforeClientExecution(request);return executeGetRelationalDatabaseBundles(request);}

// Translation:
public virtual GetRelationalDatabaseBundlesResponse GetRelationalDatabaseBundles(GetRelationalDatabaseBundlesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRelationalDatabaseBundlesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRelationalDatabaseBundlesResponseUnmarshaller.Instance;return Invoke<GetRelationalDatabaseBundlesResponse>(request, options);}
// Original:
public String getMessages() {return messageBuffer != null ? messageBuffer.toString() : ""; }

// Translation:
public virtual string GetMessages(){return messageBuffer != null ? messageBuffer.ToString() : string.Empty;}
// Original:
public DelimitedPayloadTokenFilter(TokenStream input, char delimiter, PayloadEncoder encoder) {super(input);this.delimiter = delimiter;this.encoder = encoder;}

// Translation:
public DelimitedPayloadTokenFilter(TokenStream input, char delimiter, IPayloadEncoder encoder): base(input){this.delimiter = delimiter;this.encoder = encoder;termAtt = AddAttribute<ICharTermAttribute>();payAtt = AddAttribute<IPayloadAttribute>();}
// Original:
public void setPrintArea(int sheetIndex, int startColumn, int endColumn,int startRow, int endRow) {CellReference cell = new CellReference(startRow, startColumn, true, true);String reference = cell.formatAsString();cell = new CellReference(endRow, endColumn, true, true);reference = reference+":"+cell.formatAsString();setPrintArea(sheetIndex, reference);}

// Translation:
public void SetPrintArea(int sheetIndex, int startColumn, int endColumn,int startRow, int endRow){CellReference cell = new CellReference(startRow, startColumn, true, true);String reference = cell.FormatAsString();cell = new CellReference(endRow, endColumn, true, true);reference = reference + ":" + cell.FormatAsString();SetPrintArea(sheetIndex, reference);}
// Original:
public void normalise64bit() {int oldBitLen = _significand.bitLength();int sc = oldBitLen - C_64;if (sc == 0) {return;}if (sc < 0) {throw new IllegalStateException("Not enough precision");}_binaryExponent += sc;if (sc > 32) {int highShift = (sc-1) & 0xFFFFE0;_significand = _significand.shiftRight(highShift);sc -= highShift;oldBitLen -= highShift;}if (sc < 1) {throw new IllegalStateException();}_significand = Rounder.round(_significand, sc);if (_significand.bitLength() > oldBitLen) {sc++;_binaryExponent++;}_significand = _significand.shiftRight(sc);}

// Translation:
public void Normalise64bit(){int oldBitLen = _significand.BitLength();int sc = oldBitLen - C_64;if (sc == 0){return;}if (sc < 0){throw new InvalidOperationException("Not enough precision");}_binaryExponent += sc;if (sc > 32){int highShift = (sc - 1) & 0xFFFFE0;_significand = _significand>>(highShift);sc -= highShift;oldBitLen -= highShift;}if (sc < 1){throw new InvalidOperationException();}_significand = Rounder.Round(_significand, sc);if (_significand.BitLength() > oldBitLen){sc++;_binaryExponent++;}_significand = _significand>>(sc);}
// Original:
public ObjRecord(RecordInputStream in) {byte[] subRecordData = in.readRemainder();if (LittleEndian.getUShort(subRecordData, 0) != CommonObjectDataSubRecord.sid) {_uninterpretedData = subRecordData;return;}LittleEndianByteArrayInputStream subRecStream = new LittleEndianByteArrayInputStream(subRecordData);CommonObjectDataSubRecord cmo = (CommonObjectDataSubRecord)SubRecord.createSubRecord(subRecStream, 0);subrecords.add(cmo);while (true) {SubRecord subRecord = SubRecord.createSubRecord(subRecStream, cmo.getObjectType());subrecords.add(subRecord);if (subRecord.isTerminating()) {break;}}final int nRemainingBytes = subRecordData.length-subRecStream.getReadIndex();if (nRemainingBytes > 0) {_isPaddedToQuadByteMultiple = subRecordData.length % MAX_PAD_ALIGNMENT == 0;if (nRemainingBytes >= (_isPaddedToQuadByteMultiple ? MAX_PAD_ALIGNMENT : NORMAL_PAD_ALIGNMENT)) {if (!canPaddingBeDiscarded(subRecordData, nRemainingBytes)) {String msg = "Leftover " + nRemainingBytes+ " bytes in subrecord data " + HexDump.toHex(subRecordData);throw new RecordFormatException(msg);}_isPaddedToQuadByteMultiple = false;}} else {_isPaddedToQuadByteMultiple = false;}_uninterpretedData = null;}

// Translation:
public ObjRecord(RecordInputStream in1){byte[] subRecordData = in1.ReadRemainder();if (LittleEndian.GetUShort(subRecordData, 0) != CommonObjectDataSubRecord.sid){_uninterpretedData = subRecordData;subrecords = null;return;}subrecords = new List<SubRecord>();using (MemoryStream bais = new MemoryStream(subRecordData)){LittleEndianInputStream subRecStream = new LittleEndianInputStream(bais);CommonObjectDataSubRecord cmo = (CommonObjectDataSubRecord)SubRecord.CreateSubRecord(subRecStream, 0);subrecords.Add(cmo);while (true){SubRecord subRecord = SubRecord.CreateSubRecord(subRecStream, cmo.ObjectType);subrecords.Add(subRecord);if (subRecord.IsTerminating){break;}}int nRemainingBytes = subRecStream.Available();if (nRemainingBytes > 0){_isPaddedToQuadByteMultiple = subRecordData.Length % MAX_PAD_ALIGNMENT == 0;if (nRemainingBytes >= (_isPaddedToQuadByteMultiple ? MAX_PAD_ALIGNMENT : NORMAL_PAD_ALIGNMENT)){if (!CanPaddingBeDiscarded(subRecordData, nRemainingBytes)){String msg = "Leftover " + nRemainingBytes+ " bytes in subrecord data " + HexDump.ToHex(subRecordData);throw new RecordFormatException(msg);}_isPaddedToQuadByteMultiple = false;}}else{_isPaddedToQuadByteMultiple = false;}_uninterpretedData = null;}}
// Original:
public FrenchLightStemFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

// Translation:
public FrenchLightStemFilterFactory(IDictionary<string, string> args) : base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
// Original:
@Override public int size() {Slice slice = this.slice;return slice.to - slice.from;}

// Translation:
public virtual int size(){return elements.Length;}
// Original:
public boolean equals(Object other) {if (!(other instanceof IntBuffer)) {return false;}IntBuffer otherBuffer = (IntBuffer) other;if (remaining() != otherBuffer.remaining()) {return false;}int myPosition = position;int otherPosition = otherBuffer.position;boolean equalSoFar = true;while (equalSoFar && (myPosition < limit)) {equalSoFar = get(myPosition++) == otherBuffer.get(otherPosition++);}return equalSoFar;}

// Translation:
public override bool Equals(object other){if (!(other is java.nio.IntBuffer)){return false;}java.nio.IntBuffer otherBuffer = (java.nio.IntBuffer)other;if (remaining() != otherBuffer.remaining()){return false;}int myPosition = _position;int otherPosition = otherBuffer._position;bool equalSoFar = true;while (equalSoFar && (myPosition < _limit)){equalSoFar = get(myPosition++) == otherBuffer.get(otherPosition++);}return equalSoFar;}
// Original:
public static void fill(char[] array, int start, int end, char value) {Arrays.checkStartAndEnd(array.length, start, end);for (int i = start; i < end; i++) {array[i] = value;}}

// Translation:
public static void fill(char[] array, int start, int end, char value){java.util.Arrays.checkStartAndEnd(array.Length, start, end);{for (int i = start; i < end; i++){array[i] = value;}}}
// Original:
public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[CALCMODE]\n");buffer.append("    .calcmode       = ").append(Integer.toHexString(getCalcMode())).append("\n");buffer.append("[/CALCMODE]\n");return buffer.toString();}

// Translation:
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[CALCMODE]\n");buffer.Append("    .calcmode       = ").Append(StringUtil.ToHexString(GetCalcMode())).Append("\n");buffer.Append("[/CALCMODE]\n");return buffer.ToString();}
// Original:
public void setCurrent(String value){current = value.toCharArray();cursor = 0;limit = value.length();limit_backward = 0;bra = cursor;ket = limit;}

// Translation:
public virtual void SetCurrent(string value){m_current = value.ToCharArray();m_cursor = 0;m_limit = value.Length;m_limit_backward = 0;m_bra = m_cursor;m_ket = m_limit;}
// Original:
public ShortBuffer put(int index, short c) {checkIndex(index);backingArray[offset + index] = c;return this;}

// Translation:
public override java.nio.ShortBuffer put(int index, short c){checkIndex(index);backingArray[offset + index] = c;return this;}
// Original:
public EventSubscription deleteEventSubscription(DeleteEventSubscriptionRequest request) {request = beforeClientExecution(request);return executeDeleteEventSubscription(request);}

// Translation:
public virtual DeleteEventSubscriptionResponse DeleteEventSubscription(DeleteEventSubscriptionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEventSubscriptionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEventSubscriptionResponseUnmarshaller.Instance;return Invoke<DeleteEventSubscriptionResponse>(request, options);}
// Original:
public void setTokenType(String tokenType) {this.tokenType = tokenType;}

// Translation:
public void SetTokenType(string tokenType){this.tokenType = tokenType;}
// Original:
public NumericDocValuesField(String name, long value) {this(name, Long.valueOf(value));}

// Translation:
public NumericDocValuesField(string name, long value): base(name, TYPE){FieldsData = new Int64(value);}
// Original:
public AddTagsRequest(String resourceId) {setResourceId(resourceId);}

// Translation:
public AddTagsRequest(string resourceId){_resourceId = resourceId;}
// Original:
public ValueEval getRefEval(int rowIndex, int columnIndex) {SheetRangeEvaluator sre = getRefEvaluatorForCurrentSheet();return new LazyRefEval(rowIndex, columnIndex, sre);}

// Translation:
public ValueEval GetRefEval(int rowIndex, int columnIndex){SheetRangeEvaluator sre = GetRefEvaluatorForCurrentSheet();return new LazyRefEval(rowIndex, columnIndex, sre);}
// Original:
public DescribeTaskDefinitionResult describeTaskDefinition(DescribeTaskDefinitionRequest request) {request = beforeClientExecution(request);return executeDescribeTaskDefinition(request);}

// Translation:
public virtual DescribeTaskDefinitionResponse DescribeTaskDefinition(DescribeTaskDefinitionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTaskDefinitionRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTaskDefinitionResponseUnmarshaller.Instance;return Invoke<DescribeTaskDefinitionResponse>(request, options);}
// Original:
public void sort() {if (count > 1) ArrayUtil.timSort(points, 0, count);}

// Translation:
public void Sort(){if (count > 1){ArrayUtil.TimSort(points, 0, count);}}
// Original:
public static final RevFilter before(long ts) {return new Before(ts);}

// Translation:
public static RevFilter Before(DateTime ts){return Before(ts.GetTime());}
// Original:
public void set(E object) {throw new UnsupportedOperationException();}

// Translation:
public virtual void set(E @object){throw new System.NotSupportedException();}
// Original:
public EscherDggRecord getDgg() {return dgg;}

// Translation:
public EscherDggRecord GetDgg(){return dgg;}
// Original:
public ListenerHandle addConfigChangedListener(ConfigChangedListener listener) {return addListener(ConfigChangedListener.class, listener);}

// Translation:
public virtual ListenerHandle AddConfigChangedListener(ConfigChangedListener listener){return AddListener<ConfigChangedListener>(listener);}
// Original:
public DetectSentimentResult detectSentiment(DetectSentimentRequest request) {request = beforeClientExecution(request);return executeDetectSentiment(request);}

// Translation:
public virtual DetectSentimentResponse DetectSentiment(DetectSentimentRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetectSentimentRequestMarshaller.Instance;options.ResponseUnmarshaller = DetectSentimentResponseUnmarshaller.Instance;return Invoke<DetectSentimentResponse>(request, options);}
// Original:
public void decode(byte[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations) {for (int j = 0; j < iterations; ++j) {final byte block = blocks[blocksOffset++];values[valuesOffset++] = (block >>> 6) & 3;values[valuesOffset++] = (block >>> 4) & 3;values[valuesOffset++] = (block >>> 2) & 3;values[valuesOffset++] = block & 3;}}

// Translation:
public override void Decode(byte[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations){for (int j = 0; j < iterations; ++j){var block = blocks[blocksOffset++];values[valuesOffset++] = ((int)((uint)block >> 6)) & 3;values[valuesOffset++] = ((int)((uint)block >> 4)) & 3;values[valuesOffset++] = ((int)((uint)block >> 2)) & 3;values[valuesOffset++] = block & 3;}}
// Original:
public HeaderRecord clone() {return copy();}

// Translation:
public override Object Clone(){return new HeaderRecord(this.Text);}
// Original:
public CreateEndpointConfigResult createEndpointConfig(CreateEndpointConfigRequest request) {request = beforeClientExecution(request);return executeCreateEndpointConfig(request);}

// Translation:
public virtual CreateEndpointConfigResponse CreateEndpointConfig(CreateEndpointConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateEndpointConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateEndpointConfigResponseUnmarshaller.Instance;return Invoke<CreateEndpointConfigResponse>(request, options);}
// Original:
public Interpolator getInterpolator() {return mInterpolator;}

// Translation:
public virtual android.view.animation.Interpolator getInterpolator(){return mInterpolator;}
// Original:
public GetSolutionMetricsResult getSolutionMetrics(GetSolutionMetricsRequest request) {request = beforeClientExecution(request);return executeGetSolutionMetrics(request);}

// Translation:
public virtual GetSolutionMetricsResponse GetSolutionMetrics(GetSolutionMetricsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetSolutionMetricsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetSolutionMetricsResponseUnmarshaller.Instance;return Invoke<GetSolutionMetricsResponse>(request, options);}
// Original:
public StopActivityStreamResult stopActivityStream(StopActivityStreamRequest request) {request = beforeClientExecution(request);return executeStopActivityStream(request);}

// Translation:
public virtual StopActivityStreamResponse StopActivityStream(StopActivityStreamRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopActivityStreamRequestMarshaller.Instance;options.ResponseUnmarshaller = StopActivityStreamResponseUnmarshaller.Instance;return Invoke<StopActivityStreamResponse>(request, options);}
// Original:
public ListTypedLinkFacetAttributesResult listTypedLinkFacetAttributes(ListTypedLinkFacetAttributesRequest request) {request = beforeClientExecution(request);return executeListTypedLinkFacetAttributes(request);}

// Translation:
public virtual ListTypedLinkFacetAttributesResponse ListTypedLinkFacetAttributes(ListTypedLinkFacetAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTypedLinkFacetAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTypedLinkFacetAttributesResponseUnmarshaller.Instance;return Invoke<ListTypedLinkFacetAttributesResponse>(request, options);}
// Original:
public ListSentimentDetectionJobsResult listSentimentDetectionJobs(ListSentimentDetectionJobsRequest request) {request = beforeClientExecution(request);return executeListSentimentDetectionJobs(request);}

// Translation:
public virtual ListSentimentDetectionJobsResponse ListSentimentDetectionJobs(ListSentimentDetectionJobsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListSentimentDetectionJobsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListSentimentDetectionJobsResponseUnmarshaller.Instance;return Invoke<ListSentimentDetectionJobsResponse>(request, options);}
// Original:
public GetAccountSendingEnabledResult getAccountSendingEnabled(GetAccountSendingEnabledRequest request) {request = beforeClientExecution(request);return executeGetAccountSendingEnabled(request);}

// Translation:
public virtual GetAccountSendingEnabledResponse GetAccountSendingEnabled(GetAccountSendingEnabledRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetAccountSendingEnabledRequestMarshaller.Instance;options.ResponseUnmarshaller = GetAccountSendingEnabledResponseUnmarshaller.Instance;return Invoke<GetAccountSendingEnabledResponse>(request, options);}
// 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 int GetBuiltinFormat(String pFmt){String fmt;if (string.Compare(pFmt, ("TEXT"), StringComparison.OrdinalIgnoreCase) == 0){fmt = "@";}else{fmt = pFmt;}for (int i = 0; i < _formats.Length; i++){if (fmt.Equals(_formats[i])){return i;}}return -1;}
// Original:
public void simpleValue(StringBuffer toAppendTo, Object value) {formatValue(toAppendTo, value);}

// Translation:
public override void SimpleValue(StringBuilder toAppendTo, Object value){FormatValue(toAppendTo, value);}
// Original:
public BatchCheckLayerAvailabilityResult batchCheckLayerAvailability(BatchCheckLayerAvailabilityRequest request) {request = beforeClientExecution(request);return executeBatchCheckLayerAvailability(request);}

// Translation:
public virtual BatchCheckLayerAvailabilityResponse BatchCheckLayerAvailability(BatchCheckLayerAvailabilityRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchCheckLayerAvailabilityRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchCheckLayerAvailabilityResponseUnmarshaller.Instance;return Invoke<BatchCheckLayerAvailabilityResponse>(request, options);}
// Original:
public void clearSubRecords() {subrecords.clear();}

// Translation:
public void ClearSubRecords(){subrecords.Clear();}
// Original:
public List<Ref> call() throws GitAPIException {checkCallable();List<Ref> tags = new ArrayList<>();try (RevWalk revWalk = new RevWalk(repo)) {List<Ref> refList = repo.getRefDatabase().getRefsByPrefix(Constants.R_TAGS);for (Ref ref : refList) {tags.add(ref);}} catch (IOException e) {throw new JGitInternalException(e.getMessage(), e);}Collections.sort(tags,(Ref o1, Ref o2) -> o1.getName().compareTo(o2.getName()));setCallable(false);return tags;}

// Translation:
public override IList<Ref> Call(){CheckCallable();IDictionary<string, Ref> refList;IList<Ref> tags = new AList<Ref>();RevWalk revWalk = new RevWalk(repo);try{refList = repo.RefDatabase.GetRefs(Constants.R_TAGS);foreach (Ref @ref in refList.Values){tags.AddItem(@ref);}}catch (IOException e){throw new JGitInternalException(e.Message, e);}finally{revWalk.Release();}tags.Sort(new _IComparer_92());SetCallable(false);return tags;}
// Original:
public synchronized void clear() {cache.clear();}

// Translation:
public virtual void Clear(){lock (this){cache.Clear();}}
// Original:
public int indexOf(E object, int from) {Object[] snapshot = elements;return indexOf(object, snapshot, from, snapshot.length);}

// Translation:
public virtual int indexOf(E @object, int from){object[] snapshot = elements;return indexOf(@object, snapshot, from, snapshot.Length);}
// Original:
public String highlightTerm(String originalText, TokenGroup tokenGroup) {if (tokenGroup.getTotalScore() == 0)return originalText;float score = tokenGroup.getTotalScore();if (score == 0) {return originalText;}StringBuilder sb = new StringBuilder(originalText.length() + EXTRA);sb.append("<span style=\"");if (highlightForeground) {sb.append("color: ");sb.append(getForegroundColorString(score));sb.append("; ");}if (highlightBackground) {sb.append("background: ");sb.append(getBackgroundColorString(score));sb.append("; ");}sb.append("\">");sb.append(originalText);sb.append("</span>");return sb.toString();}

// Translation:
public override string HighlightTerm(string originalText, TokenGroup tokenGroup){if (tokenGroup.TotalScore == 0)return originalText;float score = tokenGroup.TotalScore;if (score == 0){return originalText;}var sb = new StringBuilder(originalText.Length + EXTRA);sb.Append("<span style=\"");if (m_highlightForeground){sb.Append("color: ");sb.Append(GetForegroundColorString(score));sb.Append("; ");}if (m_highlightBackground){sb.Append("background: ");sb.Append(GetBackgroundColorString(score));sb.Append("; ");}sb.Append("\">");sb.Append(originalText);sb.Append("</span>");return sb.ToString();}
// Original:
public PasswordRecord getPasswordRecord() {return _passwordRecord;}

// Translation:
public PasswordRecord GetPasswordRecord(){return _passwordRecord;}
// Original:
public SlicedIndexInput clone() {SlicedIndexInput clone = (SlicedIndexInput)super.clone();clone.base = base.clone();clone.fileOffset = fileOffset;clone.length = length;return clone;}

// Translation:
public override object Clone(){SlicedIndexInput clone = (SlicedIndexInput)base.Clone();clone.@base = (IndexInput)@base.Clone();clone.fileOffset = fileOffset;clone.length = length;return clone;}
// Original:
public int getSourceLine(int idx) {return sourceLines[idx] - 1;}

// Translation:
public virtual int GetSourceLine(int idx){return sourceLines[idx] - 1;}
// Original:
public DeleteResolverRuleResult deleteResolverRule(DeleteResolverRuleRequest request) {request = beforeClientExecution(request);return executeDeleteResolverRule(request);}

// Translation:
public virtual DeleteResolverRuleResponse DeleteResolverRule(DeleteResolverRuleRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteResolverRuleRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteResolverRuleResponseUnmarshaller.Instance;return Invoke<DeleteResolverRuleResponse>(request, options);}
// Original:
static public double ppmt(double r, int per, int nper, double pv, double fv, int type) {return pmt(r, nper, pv, fv, type) - ipmt(r, per, nper, pv, fv, type);}

// Translation:
static public double PPMT(double r, int per, int nper, double pv, double fv, int type){return PMT(r, nper, pv, fv, type) - IPMT(r, per, nper, pv, fv, type);}
// Original:
@Override public Set<K> keySet() {return navigableKeySet();}

// Translation:
public override java.util.Set<K> keySet(){return this.navigableKeySet();}