yijunyu/c-to-rust huggingface dataset:
// Original:
public HSSFColor addColor( byte red, byte green, byte blue ){byte[] b = _palette.getColor(PaletteRecord.FIRST_COLOR_INDEX);short i;for (i = PaletteRecord.FIRST_COLOR_INDEX; i < PaletteRecord.STANDARD_PALETTE_SIZE + PaletteRecord.FIRST_COLOR_INDEX; b = _palette.getColor(++i)){if (b == null){setColorAtIndex( i, red, green, blue );return getColor(i);}}throw new RuntimeException("Could not find free color index");}

// Translation:
public HSSFColor AddColor(byte red, byte green, byte blue){byte[] b = palette.GetColor(PaletteRecord.FIRST_COLOR_INDEX);short i;for (i = (short)PaletteRecord.FIRST_COLOR_INDEX; i < PaletteRecord.STANDARD_PALETTE_SIZE + PaletteRecord.FIRST_COLOR_INDEX; b = palette.GetColor(++i)){if (b == null){SetColorAtIndex(i, red, green, blue);return GetColor(i);}}throw new Exception("Could not Find free color index");}
// Original:
public boolean isRenameDetectionEnabled() {return renameDetectionType != RenameDetectionType.FALSE;}

// Translation:
public virtual bool IsRenameDetectionEnabled(){return renameDetectionType != DiffConfig.RenameDetectionType.FALSE;}
// Original:
public static boolean safe(String pattern) {for (int i = 0; i < pattern.length(); i++) {final char c = pattern.charAt(i);switch (c) {case '.':case '?':case '*':case '+':case '{':case '}':case '(':case ')':case '[':case ']':case '\\':return false;}}return true;}

// Translation:
public static bool Safe(string pattern){for (int i = 0; i < pattern.Length; i++){char c = pattern[i];switch (c){case '.':case '?':case '*':case '+':case '{':case '}':case '(':case ')':case '[':case ']':case '\\':{return false;}}}return true;}
// Original:
public void SwitchTo(int lexState){if (lexState >= 3 || lexState < 0)throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE);elsecurLexState = lexState;}

// Translation:
public void SwitchTo(int lexState){if (lexState >= 2 || lexState < 0)throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE);elsecurLexState = lexState;}
// Original:
public CreateDeliverabilityTestReportResult createDeliverabilityTestReport(CreateDeliverabilityTestReportRequest request) {request = beforeClientExecution(request);return executeCreateDeliverabilityTestReport(request);}

// Translation:
public virtual CreateDeliverabilityTestReportResponse CreateDeliverabilityTestReport(CreateDeliverabilityTestReportRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDeliverabilityTestReportRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDeliverabilityTestReportResponseUnmarshaller.Instance;return Invoke<CreateDeliverabilityTestReportResponse>(request, options);}
// Original:
public void set(int index, long value) {final int o = index / 10;final int b = index % 10;final int shift = b * 6;blocks[o] = (blocks[o] & ~(63L << shift)) | (value << shift);}

// Translation:
public override void Set(int index, long value){int o = index / 10;int b = index % 10;int shift = b * 6;blocks[o] = (blocks[o] & ~(63L << shift)) | (value << shift);}
// Original:
public String toString() {return getClass().getName() + " [" +formatAsString() +"]";}

// Translation:
public override String ToString(){StringBuilder sb = new StringBuilder(64);sb.Append(GetType().Name).Append(" [");sb.Append(FormatAsString);sb.Append("]");return sb.ToString();}
// Original:
public String getRemoteName() {return remoteName;}

// Translation:
public virtual string GetRemoteName(){return remoteName;}
// Original:
public CherryPickCommand cherryPick() {return new CherryPickCommand(repo);}

// Translation:
public virtual CherryPickCommand CherryPick(){return new CherryPickCommand(repo);}
// Original:
public HSSFClientAnchor createClientAnchor(){return new HSSFClientAnchor();}

// Translation:
public NPOI.SS.UserModel.IClientAnchor CreateClientAnchor(){return new HSSFClientAnchor();}
// Original:
public DeleteProfileResult deleteProfile(DeleteProfileRequest request) {request = beforeClientExecution(request);return executeDeleteProfile(request);}

// Translation:
public virtual DeleteProfileResponse DeleteProfile(DeleteProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteProfileResponseUnmarshaller.Instance;return Invoke<DeleteProfileResponse>(request, options);}
// Original:
@Override public int size() {return count(entrySet().iterator());}

// Translation:
public override int size(){return java.util.TreeMap<K, V>.count(this.entrySet().iterator());}
// Original:
public ByteBuffer put(ByteBuffer buf) {throw new ReadOnlyBufferException();}

// Translation:
public override java.nio.ByteBuffer put(java.nio.ByteBuffer buf){throw new System.NotImplementedException();}
// Original:
public CreateBranchCommand setStartPoint(RevCommit startPoint) {checkCallable();this.startCommit = startPoint;this.startPoint = null;return this;}

// Translation:
public virtual NGit.Api.CreateBranchCommand SetStartPoint(string startPoint){CheckCallable();this.startPoint = startPoint;this.startCommit = null;return this;}
// Original:
public ListOnPremisesInstancesResult listOnPremisesInstances(ListOnPremisesInstancesRequest request) {request = beforeClientExecution(request);return executeListOnPremisesInstances(request);}

// Translation:
public virtual ListOnPremisesInstancesResponse ListOnPremisesInstances(ListOnPremisesInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListOnPremisesInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListOnPremisesInstancesResponseUnmarshaller.Instance;return Invoke<ListOnPremisesInstancesResponse>(request, options);}
// Original:
public int[] clear() {if (perField.postingsArray != null) {bytesUsed.addAndGet(-(perField.postingsArray.size * perField.postingsArray.bytesPerPosting()));perField.postingsArray = null;perField.newPostingsArray();}return null;}

// Translation:
public override int[] Clear(){if (perField.postingsArray != null){bytesUsed.AddAndGet(-(perField.postingsArray.size * perField.postingsArray.BytesPerPosting()));perField.postingsArray = null;}return null;}
// Original:
public String getSourcePath() {return outCandidate.sourcePath.getPath();}

// Translation:
public virtual string GetSourcePath(){return currentSource.sourcePath.GetPath();}
// Original:
public static SingletonPredictionContext create(PredictionContext parent, int returnState) {if ( returnState == EMPTY_RETURN_STATE && parent == null ) {return EMPTY;}return new SingletonPredictionContext(parent, returnState);}

// Translation:
public static PredictionContext Create(PredictionContext parent, int returnState){if (returnState == EMPTY_RETURN_STATE && parent == null){return PredictionContext.EMPTY;}return new SingletonPredictionContext(parent, returnState);}
// Original:
public void cleanupSession(String sessionID) throws IOException {if (sessionID.isEmpty()) { throw new IllegalArgumentException("sessionID cannot be empty");}IOUtils.rm(workDir.resolve(sessionID));}

// Translation:
public virtual void CleanupSession(string sessionId){if (string.IsNullOrEmpty(sessionId)) throw new ArgumentException("sessionID cannot be empty", "sessionId");string sessionDirectory = Path.Combine(workingDirectory, sessionId);System.IO.Directory.Delete(sessionDirectory, true);}
// Original:
public DescribeSnapshotCopyGrantsResult describeSnapshotCopyGrants(DescribeSnapshotCopyGrantsRequest request) {request = beforeClientExecution(request);return executeDescribeSnapshotCopyGrants(request);}

// Translation:
public virtual DescribeSnapshotCopyGrantsResponse DescribeSnapshotCopyGrants(DescribeSnapshotCopyGrantsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeSnapshotCopyGrantsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeSnapshotCopyGrantsResponseUnmarshaller.Instance;return Invoke<DescribeSnapshotCopyGrantsResponse>(request, options);}
// Original:
public String toString() {return Utils.join(Arrays.asList(opnds).iterator(), "&&");}

// Translation:
public override string ToString(){return Utils.Join("&&", opnds);}
// Original:
public DescribeApplicationResult describeApplication(DescribeApplicationRequest request) {request = beforeClientExecution(request);return executeDescribeApplication(request);}

// Translation:
public virtual DescribeApplicationResponse DescribeApplication(DescribeApplicationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeApplicationRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeApplicationResponseUnmarshaller.Instance;return Invoke<DescribeApplicationResponse>(request, options);}
// Original:
@Override public E set(int index, E object) {Object[] a = array;if (index >= size) {throwIndexOutOfBoundsException(index, size);}@SuppressWarnings("unchecked") E result = (E) a[index];a[index] = object;return result;}

// Translation:
public override E set(int index, E @object){object[] a = array;if (index >= _size){throwIndexOutOfBoundsException(index, _size);}E result = (E)a[index];a[index] = @object;return result;}
// Original:
public void set(int x, int y) {this.x = x;this.y = y;}

// Translation:
public virtual void set(int x, int y){this.x = x;this.y = y;}
// Original:
public BatchSendMessagesRequest() {super("OnsMqtt", "2019-12-11", "BatchSendMessages", "onsmqtt");setMethod(MethodType.POST);}

// Translation:
public BatchSendMessagesRequest(): base("OnsMqtt", "2019-12-11", "BatchSendMessages", "onsmqtt", "openAPI"){Method = MethodType.POST;}
// Original:
public DeleteEgressOnlyInternetGatewayResult deleteEgressOnlyInternetGateway(DeleteEgressOnlyInternetGatewayRequest request) {request = beforeClientExecution(request);return executeDeleteEgressOnlyInternetGateway(request);}

// Translation:
public virtual DeleteEgressOnlyInternetGatewayResponse DeleteEgressOnlyInternetGateway(DeleteEgressOnlyInternetGatewayRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEgressOnlyInternetGatewayRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEgressOnlyInternetGatewayResponseUnmarshaller.Instance;return Invoke<DeleteEgressOnlyInternetGatewayResponse>(request, options);}
// Original:
public static String byteToHex(int value) {StringBuilder sb = new StringBuilder(4);writeHex(sb, value & 0xFFL, 2, "0x");return sb.toString();}

// Translation:
public static char[] ByteToHex(int value){return ToHexChars(value, 1);}
// Original:
public DescribeLoadBalancerPoliciesResult describeLoadBalancerPolicies(DescribeLoadBalancerPoliciesRequest request) {request = beforeClientExecution(request);return executeDescribeLoadBalancerPolicies(request);}

// Translation:
public virtual DescribeLoadBalancerPoliciesResponse DescribeLoadBalancerPolicies(DescribeLoadBalancerPoliciesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLoadBalancerPoliciesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLoadBalancerPoliciesResponseUnmarshaller.Instance;return Invoke<DescribeLoadBalancerPoliciesResponse>(request, options);}
// Original:
public void close() throws IOException {try {beginWrite();dst.close();} catch (InterruptedIOException e) {throw writeTimedOut(e);} finally {endWrite();}}

// Translation:
public override void Close(){try{BeginWrite();dst.Close();}catch (ThreadInterruptedException){throw WriteTimedOut();}finally{EndWrite();}}
// Original:
public UpdateVirtualInterfaceAttributesResult updateVirtualInterfaceAttributes(UpdateVirtualInterfaceAttributesRequest request) {request = beforeClientExecution(request);return executeUpdateVirtualInterfaceAttributes(request);}

// Translation:
public virtual UpdateVirtualInterfaceAttributesResponse UpdateVirtualInterfaceAttributes(UpdateVirtualInterfaceAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateVirtualInterfaceAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateVirtualInterfaceAttributesResponseUnmarshaller.Instance;return Invoke<UpdateVirtualInterfaceAttributesResponse>(request, options);}
// Original:
public ScandinavianNormalizationFilter(TokenStream input) {super(input);}

// Translation:
public ScandinavianNormalizationFilter(TokenStream input): base(input){charTermAttribute = AddAttribute<ICharTermAttribute>();}
// Original:
public DeleteHumanLoopResult deleteHumanLoop(DeleteHumanLoopRequest request) {request = beforeClientExecution(request);return executeDeleteHumanLoop(request);}

// Translation:
public virtual DeleteHumanLoopResponse DeleteHumanLoop(DeleteHumanLoopRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteHumanLoopRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteHumanLoopResponseUnmarshaller.Instance;return Invoke<DeleteHumanLoopResponse>(request, options);}
// Original:
public void onWindowFocusChanged(boolean hasWindowFocus) {super.onWindowFocusChanged(hasWindowFocus);if (!hasWindowFocus && !mPopup.isDropDownAlwaysVisible()) {dismissDropDown();}}

// Translation:
public override void onWindowFocusChanged(bool hasWindowFocus_1){base.onWindowFocusChanged(hasWindowFocus_1);if (!hasWindowFocus_1 && !mPopup.isDropDownAlwaysVisible()){dismissDropDown();}}
// Original:
public GetApnsSandboxChannelResult getApnsSandboxChannel(GetApnsSandboxChannelRequest request) {request = beforeClientExecution(request);return executeGetApnsSandboxChannel(request);}

// Translation:
public virtual GetApnsSandboxChannelResponse GetApnsSandboxChannel(GetApnsSandboxChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetApnsSandboxChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = GetApnsSandboxChannelResponseUnmarshaller.Instance;return Invoke<GetApnsSandboxChannelResponse>(request, options);}
// Original:
public TreeFilter clone() {final TreeFilter n = a.clone();return n == a ? this : new NotTreeFilter(n);}

// Translation:
public override TreeFilter Clone(){TreeFilter n = a.Clone();return n == a ? this : new NGit.Treewalk.Filter.NotTreeFilter(n);}
// Original:
public void addBuilder(String nodeName, QueryBuilder builder) {builders.put(nodeName, builder);}

// Translation:
public virtual void AddBuilder(string nodeName, IQueryBuilder builder){builders[nodeName] = builder;}
// Original:
public static boolean isSupported(int bitsPerValue) {return Arrays.binarySearch(SUPPORTED_BITS_PER_VALUE, bitsPerValue) >= 0;}

// Translation:
public static bool IsSupported(int bitsPerValue){return Array.BinarySearch(SUPPORTED_BITS_PER_VALUE, bitsPerValue) >= 0;}
// Original:
@Override public V getValue() {return mapEntry.getValue();}

// Translation:
public virtual V getValue(){return mapEntry.getValue();}
// Original:
public DeletedArea3DPtg(LittleEndianInput in)  {field_1_index_extern_sheet = in.readUShort();unused1 = in.readInt();unused2 = in.readInt();}

// Translation:
public DeletedArea3DPtg(ILittleEndianInput in1){field_1_index_extern_sheet = in1.ReadUShort();unused1 = in1.ReadInt();unused2 = in1.ReadInt();}
// Original:
public String toString() {return "NativeFSLock(path=" + path + ",impl=" + lock + ",creationTime=" + creationTime + ")";}

// Translation:
public override string ToString(){return $"{nameof(NativeFSLock)}@{path}";}
// Original:
public CreateVolumeResult createVolume(CreateVolumeRequest request) {request = beforeClientExecution(request);return executeCreateVolume(request);}

// Translation:
public virtual CreateVolumeResponse CreateVolume(CreateVolumeRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateVolumeRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateVolumeResponseUnmarshaller.Instance;return Invoke<CreateVolumeResponse>(request, options);}
// Original:
public EvaluationCell getCell(int rowIndex, int columnIndex) {HSSFRow row = _hs.getRow(rowIndex);if (row == null) {return null;}HSSFCell cell = row.getCell(columnIndex);if (cell == null) {return null;}return new HSSFEvaluationCell(cell, this);}

// Translation:
public IEvaluationCell GetCell(int rowIndex, int columnIndex){HSSFRow row = (HSSFRow)_hs.GetRow(rowIndex);if (row == null){return null;}ICell cell = (HSSFCell)row.GetCell(columnIndex);if (cell == null){return null;}return new HSSFEvaluationCell(cell, this);}
// Original:
public DeleteBasePathMappingResult deleteBasePathMapping(DeleteBasePathMappingRequest request) {request = beforeClientExecution(request);return executeDeleteBasePathMapping(request);}

// Translation:
public virtual DeleteBasePathMappingResponse DeleteBasePathMapping(DeleteBasePathMappingRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteBasePathMappingRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteBasePathMappingResponseUnmarshaller.Instance;return Invoke<DeleteBasePathMappingResponse>(request, options);}
// Original:
public void removeState(ATNState state) {states.set(state.stateNumber, null); }

// Translation:
public virtual void RemoveState(ATNState state){states[state.stateNumber] = null;}
// Original:
public boolean equals(Object other) {if (!(other instanceof ShortBuffer)) {return false;}ShortBuffer otherBuffer = (ShortBuffer) 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.ShortBuffer)){return false;}java.nio.ShortBuffer otherBuffer = (java.nio.ShortBuffer)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 boolean equals(final Object o) {if (!(o instanceof PropertySet)) {return false;}final PropertySet ps = (PropertySet) o;int byteOrder1 = ps.getByteOrder();int byteOrder2 = getByteOrder();ClassID classID1 = ps.getClassID();ClassID classID2 = getClassID();int format1 = ps.getFormat();int format2 = getFormat();int osVersion1 = ps.getOSVersion();int osVersion2 = getOSVersion();int sectionCount1 = ps.getSectionCount();int sectionCount2 = getSectionCount();if (byteOrder1 != byteOrder2      ||!classID1.equals(classID2)    ||format1 != format2            ||osVersion1 != osVersion2      ||sectionCount1 != sectionCount2) {return false;}return getSections().containsAll(ps.getSections());}

// Translation:
public override bool Equals(Object o){if (o == null || !(o is PropertySet))return false;PropertySet ps = (PropertySet)o;int byteOrder1 = ps.ByteOrder;int byteOrder2 = ByteOrder;ClassID classID1 = ps.ClassID;ClassID classID2 = ClassID;int format1 = ps.Format;int format2 = Format;int osVersion1 = ps.OSVersion;int osVersion2 = OSVersion;int sectionCount1 = ps.SectionCount;int sectionCount2 = SectionCount;if (byteOrder1 != byteOrder2 ||!classID1.Equals(classID2) ||format1 != format2 ||osVersion1 != osVersion2 ||sectionCount1 != sectionCount2)return false;return Util.AreEqual(Sections, ps.Sections);}
// Original:
public static int getEstimatedNumberUniqueValuesAllowingForCollisions(int setSize, int numRecordedBits) {double setSizeAsDouble = setSize;double numRecordedBitsAsDouble = numRecordedBits;double saturation = numRecordedBitsAsDouble / setSizeAsDouble;double logInverseSaturation = Math.log(1 - saturation) * -1;return (int) (setSizeAsDouble * logInverseSaturation);}

// Translation:
public static int GetEstimatedNumberUniqueValuesAllowingForCollisions(int setSize, int numRecordedBits){double setSizeAsDouble = setSize;double numRecordedBitsAsDouble = numRecordedBits;var saturation = numRecordedBitsAsDouble/setSizeAsDouble;var logInverseSaturation = Math.Log(1 - saturation)*-1;return (int) (setSizeAsDouble*logInverseSaturation);}
// Original:
public static boolean isGitRepository(File dir, FS fs) {return fs.resolve(dir, Constants.OBJECTS).exists()&& fs.resolve(dir, "refs").exists() && (fs.resolve(dir, Constants.REFTABLE).exists()|| isValidHead(new File(dir, Constants.HEAD)));}

// Translation:
public static bool IsGitRepository(FilePath dir, FS fs){return fs.Resolve(dir, "objects").Exists() && fs.Resolve(dir, "refs").Exists() &&IsValidHead(new FilePath(dir, Constants.HEAD));}
// Original:
public void setBackgroundImage(int pictureIndex){setPropertyValue(new EscherSimpleProperty( EscherPropertyTypes.FILL__PATTERNTEXTURE, false, true, pictureIndex));setPropertyValue(new EscherSimpleProperty( EscherPropertyTypes.FILL__FILLTYPE, false, false, FILL_TYPE_PICTURE));EscherBSERecord bse = getPatriarch().getSheet().getWorkbook().getWorkbook().getBSERecord(pictureIndex);bse.setRef(bse.getRef() + 1);}

// Translation:
public void SetBackgroundImage(int pictureIndex){SetPropertyValue(new EscherSimpleProperty(EscherProperties.FILL__PATTERNTEXTURE, false, true, pictureIndex));SetPropertyValue(new EscherSimpleProperty(EscherProperties.FILL__FILLTYPE, false, false, FILL_TYPE_PICTURE));EscherBSERecord bse = ((HSSFWorkbook)((HSSFPatriarch)Patriarch).Sheet.Workbook).Workbook.GetBSERecord(pictureIndex);bse.Ref = (bse.Ref + 1);}
// Original:
public DirectPostingsFormat(int minSkipCount, int lowFreqCutoff) {super("Direct");this.minSkipCount = minSkipCount;this.lowFreqCutoff = lowFreqCutoff;}

// Translation:
public DirectPostingsFormat(int minSkipCount, int lowFreqCutoff): base(){_minSkipCount = minSkipCount;_lowFreqCutoff = lowFreqCutoff;}
// Original:
public RecyclingByteBlockAllocator(int blockSize, int maxBufferedBlocks,Counter bytesUsed) {super(blockSize);freeByteBlocks = new byte[maxBufferedBlocks][];this.maxBufferedBlocks = maxBufferedBlocks;this.bytesUsed = bytesUsed;}

// Translation:
public RecyclingByteBlockAllocator(int blockSize, int maxBufferedBlocks, Counter bytesUsed): base(blockSize){freeByteBlocks = new byte[maxBufferedBlocks][];this.maxBufferedBlocks = maxBufferedBlocks;this.bytesUsed = bytesUsed;}
// Original:
public int stemPrefix(char s[], int len) {for (int i = 0; i < prefixes.length; i++)if (startsWithCheckLength(s, len, prefixes[i]))return deleteN(s, 0, len, prefixes[i].length);return len;}

// Translation:
public virtual int StemPrefix(char[] s, int len){for (int i = 0; i < prefixes.Length; i++){if (StartsWithCheckLength(s, len, prefixes[i])){return StemmerUtil.DeleteN(s, 0, len, prefixes[i].Length);}}return len;}
// Original:
public String toString() {final StringBuilder s = new StringBuilder();for (Entry q = head; q != null; q = q.next)describe(s, q.commit);return s.toString();}

// Translation:
public override string ToString(){StringBuilder s = new StringBuilder();for (DateRevQueue.Entry q = head; q != null; q = q.next){Describe(s, q.commit);}return s.ToString();}
// Original:
public CodingErrorAction malformedInputAction() {return malformedInputAction;}

// Translation:
public virtual java.nio.charset.CodingErrorAction malformedInputAction(){return _malformedInputAction;}
// Original:
public Result(IntsRef input, T output) {this.input = input;this.output = output;}

// Translation:
public Result(Int32sRef input, T output){this.Input = input;this.Output = output;}
// Original:
public String getInflectionForm(int wordId) {return null; }

// Translation:
public string GetInflectionForm(int wordId){return null; }
// Original:
public void removeComments() {remove1stProperty(PropertyIDMap.PID_COMMENTS);}

// Translation:
public void RemoveComments(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_COMMENTS);}
// Original:
public GetBlacklistReportsResult getBlacklistReports(GetBlacklistReportsRequest request) {request = beforeClientExecution(request);return executeGetBlacklistReports(request);}

// Translation:
public virtual GetBlacklistReportsResponse GetBlacklistReports(GetBlacklistReportsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetBlacklistReportsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetBlacklistReportsResponseUnmarshaller.Instance;return Invoke<GetBlacklistReportsResponse>(request, options);}