yijunyu/c-to-rust huggingface dataset:
// Original:
public static Token newToken(int ofKind, String image){switch(ofKind){default : return new Token(ofKind, image);}}

// Translation:
public static Token NewToken(int ofKind, string image){switch (ofKind){default:  return new Token(ofKind, image);}}
// Original:
public float overheadPerValue(int bitsPerValue) {assert isSupported(bitsPerValue);final int valuesPerBlock = 64 / bitsPerValue;final int overhead = 64 % bitsPerValue;return (float) overhead / valuesPerBlock;}

// Translation:
public virtual float OverheadPerValue(int bitsPerValue){Debug.Assert(IsSupported(bitsPerValue));return 0f;}
// Original:
public void clear() {backingMap.clear();}

// Translation:
public override void clear(){backingMap.clear();}
// Original:
public CompoundException(Collection<Throwable> why) {super(format(why));causeList = Collections.unmodifiableList(new ArrayList<>(why));}

// Translation:
public CompoundException(ICollection<Exception> why) : base(Format(why)){causeList = Sharpen.Collections.UnmodifiableList(new AList<Exception>(why));}
// Original:
public DeleteEnvironmentConfigurationRequest(String applicationName, String environmentName) {setApplicationName(applicationName);setEnvironmentName(environmentName);}

// Translation:
public DeleteEnvironmentConfigurationRequest(string applicationName, string environmentName){_applicationName = applicationName;_environmentName = environmentName;}
// Original:
public ModifyImageAttributeRequest(String imageId, String attribute) {setImageId(imageId);setAttribute(attribute);}

// Translation:
public ModifyImageAttributeRequest(string imageId, string attribute){_imageId = imageId;_attribute = attribute;}
// Original:
public LastCellOfRowDummyRecord(int row, int lastColumnNumber) {this.row = row;this.lastColumnNumber = lastColumnNumber;}

// Translation:
public LastCellOfRowDummyRecord(int row, int lastColumnNumber){this.row = row;this.lastColumnNumber = lastColumnNumber;}
// Original:
public String toString() {return path.toString();}

// Translation:
public override string ToString(){return path.ToString();}
// Original:
public String toFormulaString(String[] operands) {StringBuilder buffer = new StringBuilder();buffer.append(ADD);buffer.append(operands[ 0]);return buffer.toString();}

// Translation:
public override String ToFormulaString(String[] operands){StringBuilder buffer = new StringBuilder();buffer.Append(Add);buffer.Append(operands[0]);return buffer.ToString();}
// Original:
public void abort() {try {reset();} finally {if (nextTermsHash != null) {nextTermsHash.abort();}}}

// Translation:
public override void Abort(){Reset();try{consumer.Abort();}finally{if (nextTermsHash != null){nextTermsHash.Abort();}}}
// Original:
public CreateUsagePlanKeyResult createUsagePlanKey(CreateUsagePlanKeyRequest request) {request = beforeClientExecution(request);return executeCreateUsagePlanKey(request);}

// Translation:
public virtual CreateUsagePlanKeyResponse CreateUsagePlanKey(CreateUsagePlanKeyRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateUsagePlanKeyRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateUsagePlanKeyResponseUnmarshaller.Instance;return Invoke<CreateUsagePlanKeyResponse>(request, options);}
// Original:
public boolean isOutOfBounds(int lowValidIx, int highValidIx) {if(_offset < lowValidIx) {return true;}if(getLastIndex() > highValidIx) {return true;}return false;}

// Translation:
public bool IsOutOfBounds(int lowValidIx, int highValidIx){if (_offset < lowValidIx){return true;}if (LastIndex > highValidIx){return true;}return false;}
// Original:
public CherryPickStatus getStatus() {return status;}

// Translation:
public virtual CherryPickResult.CherryPickStatus GetStatus(){return status;}
// Original:
public static String getRomanization(String s) {StringBuilder out = new StringBuilder();try {getRomanization(out, s);} catch (IOException bogus) {throw new RuntimeException(bogus);}return out.toString();}

// Translation:
public static string GetRomanization(string s){StringBuilder result = new StringBuilder();try{GetRomanization(result, s);}catch (IOException bogus){throw new Exception(bogus.ToString(), bogus);}return result.ToString();}
// Original:
public GetDistributionRequest(String id) {setId(id);}

// Translation:
public GetDistributionRequest(string id){_id = id;}
// Original:
public String signString(String stringToSign, String accessKeySecret) {return null;}

// Translation:
public override string SignString(string stringToSign, string accessKeySecret){return "";}
// Original:
public Repository open(C req, String name)throws RepositoryNotFoundException, ServiceNotEnabledException {if (isUnreasonableName(name))throw new RepositoryNotFoundException(name);Repository db = exports.get(nameWithDotGit(name));if (db != null) {db.incrementOpen();return db;}for (File base : exportBase) {File dir = FileKey.resolve(new File(base, name), FS.DETECTED);if (dir == null)continue;try {FileKey key = FileKey.exact(dir, FS.DETECTED);db = RepositoryCache.open(key, true);} catch (IOException e) {throw new RepositoryNotFoundException(name, e);}try {if (isExportOk(req, name, db)) {return db;}throw new ServiceNotEnabledException();} catch (RuntimeException | IOException e) {db.close();throw new RepositoryNotFoundException(name, e);} catch (ServiceNotEnabledException e) {db.close();throw e;}}if (exportBase.size() == 1) {File dir = new File(exportBase.iterator().next(), name);throw new RepositoryNotFoundException(name,new RepositoryNotFoundException(dir));}throw new RepositoryNotFoundException(name);}

// Translation:
public override Repository Open(C req, string name){if (IsUnreasonableName(name)){throw new RepositoryNotFoundException(name);}Repository db = exports.Get(NameWithDotGit(name));if (db != null){db.IncrementOpen();return db;}foreach (FilePath @base in exportBase){FilePath dir = RepositoryCache.FileKey.Resolve(new FilePath(@base, name), FS.DETECTED);if (dir == null){continue;}try{RepositoryCache.FileKey key = RepositoryCache.FileKey.Exact(dir, FS.DETECTED);db = RepositoryCache.Open(key, true);}catch (IOException e){throw new RepositoryNotFoundException(name, e);}try{if (IsExportOk(req, name, db)){return db;}else{throw new ServiceNotEnabledException();}}catch (RuntimeException e){db.Close();throw new RepositoryNotFoundException(name, e);}catch (IOException e){db.Close();throw new RepositoryNotFoundException(name, e);}catch (ServiceNotEnabledException e){db.Close();throw;}}if (exportBase.Count == 1){FilePath dir = new FilePath(exportBase.Iterator().Next(), name);throw new RepositoryNotFoundException(name, new RepositoryNotFoundException(dir));}throw new RepositoryNotFoundException(name);}
// Original:
public synchronized boolean addIfAbsent(E object) {if (contains(object)) {return false;}add(object);return true;}

// Translation:
public virtual bool addIfAbsent(E @object){lock (this){if (contains(@object)){return false;}add(@object);return true;}}
// Original:
public EnableTransitGatewayRouteTablePropagationResult enableTransitGatewayRouteTablePropagation(EnableTransitGatewayRouteTablePropagationRequest request) {request = beforeClientExecution(request);return executeEnableTransitGatewayRouteTablePropagation(request);}

// Translation:
public virtual EnableTransitGatewayRouteTablePropagationResponse EnableTransitGatewayRouteTablePropagation(EnableTransitGatewayRouteTablePropagationRequest request){var options = new InvokeOptions();options.RequestMarshaller = EnableTransitGatewayRouteTablePropagationRequestMarshaller.Instance;options.ResponseUnmarshaller = EnableTransitGatewayRouteTablePropagationResponseUnmarshaller.Instance;return Invoke<EnableTransitGatewayRouteTablePropagationResponse>(request, options);}
// Original:
public PatternKeywordMarkerFilter(TokenStream in, Pattern pattern) {super(in);this.matcher = pattern.matcher("");}

// Translation:
public PatternKeywordMarkerFilter(TokenStream @in, Regex pattern): base(@in){termAtt = AddAttribute<ICharTermAttribute>();this.matcher = pattern.Match("");this.pattern = pattern;}
// Original:
public AddInstanceGroupsRequest(java.util.List<InstanceGroupConfig> instanceGroups, String jobFlowId) {setInstanceGroups(instanceGroups);setJobFlowId(jobFlowId);}

// Translation:
public AddInstanceGroupsRequest(string jobFlowId, List<InstanceGroupConfig> instanceGroups){_jobFlowId = jobFlowId;_instanceGroups = instanceGroups;}
// Original:
public FSTTermsReader(SegmentReadState state, PostingsReaderBase postingsReader) throws IOException {final String termsFileName = IndexFileNames.segmentFileName(state.segmentInfo.name, state.segmentSuffix, FSTTermsWriter.TERMS_EXTENSION);this.postingsReader = postingsReader;final IndexInput in = state.directory.openInput(termsFileName, state.context);boolean success = false;try {CodecUtil.checkIndexHeader(in, FSTTermsWriter.TERMS_CODEC_NAME,FSTTermsWriter.TERMS_VERSION_START,FSTTermsWriter.TERMS_VERSION_CURRENT,state.segmentInfo.getId(), state.segmentSuffix);CodecUtil.checksumEntireFile(in);this.postingsReader.init(in, state);seekDir(in);final FieldInfos fieldInfos = state.fieldInfos;final int numFields = in.readVInt();for (int i = 0; i < numFields; i++) {int fieldNumber = in.readVInt();FieldInfo fieldInfo = fieldInfos.fieldInfo(fieldNumber);long numTerms = in.readVLong();long sumTotalTermFreq = in.readVLong();long sumDocFreq = fieldInfo.getIndexOptions() == IndexOptions.DOCS ? sumTotalTermFreq : in.readVLong();int docCount = in.readVInt();TermsReader current = new TermsReader(fieldInfo, in, numTerms, sumTotalTermFreq, sumDocFreq, docCount);TermsReader previous = fields.put(fieldInfo.name, current);checkFieldSummary(state.segmentInfo, in, current, previous);}success = true;} finally {if (success) {IOUtils.close(in);} else {IOUtils.closeWhileHandlingException(in);}}}

// Translation:
public FSTTermsReader(SegmentReadState state, PostingsReaderBase postingsReader){string termsFileName = IndexFileNames.SegmentFileName(state.SegmentInfo.Name, state.SegmentSuffix, FSTTermsWriter.TERMS_EXTENSION);this.postingsReader = postingsReader;IndexInput @in = state.Directory.OpenInput(termsFileName, state.Context);bool success = false;try{version = ReadHeader(@in);if (version >= FSTTermsWriter.TERMS_VERSION_CHECKSUM){CodecUtil.ChecksumEntireFile(@in);}this.postingsReader.Init(@in);SeekDir(@in);FieldInfos fieldInfos = state.FieldInfos;int numFields = @in.ReadVInt32();for (int i = 0; i < numFields; i++){int fieldNumber = @in.ReadVInt32();FieldInfo fieldInfo = fieldInfos.FieldInfo(fieldNumber);long numTerms = @in.ReadVInt64();long sumTotalTermFreq = fieldInfo.IndexOptions == IndexOptions.DOCS_ONLY ? -1 : @in.ReadVInt64();long sumDocFreq = @in.ReadVInt64();int docCount = @in.ReadVInt32();int longsSize = @in.ReadVInt32();TermsReader current = new TermsReader(this, fieldInfo, @in, numTerms, sumTotalTermFreq, sumDocFreq, docCount, longsSize);TermsReader previous;fields.TryGetValue(fieldInfo.Name, out previous);fields[fieldInfo.Name] = current;CheckFieldSummary(state.SegmentInfo, @in, current, previous);}success = true;}finally{if (success){IOUtils.Dispose(@in);}else{IOUtils.DisposeWhileHandlingException(@in);}}}
// Original:
public DescribeVpcEndpointsResult describeVpcEndpoints(DescribeVpcEndpointsRequest request) {request = beforeClientExecution(request);return executeDescribeVpcEndpoints(request);}

// Translation:
public virtual DescribeVpcEndpointsResponse DescribeVpcEndpoints(DescribeVpcEndpointsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeVpcEndpointsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeVpcEndpointsResponseUnmarshaller.Instance;return Invoke<DescribeVpcEndpointsResponse>(request, options);}
// Original:
public void setNewPrefix(String prefix) {newPrefix = prefix;}

// Translation:
public virtual void SetNewPrefix(string prefix){newPrefix = prefix;}
// Original:
public GetHostedZoneRequest(String id) {setId(id);}

// Translation:
public GetHostedZoneRequest(string id){_id = id;}
// Original:
public List<File> getUpdatedFiles() {return updatedFiles;}

// Translation:
public virtual IList<FilePath> GetUpdatedFiles(){return updatedFiles;}
// Original:
public DeleteDhcpOptionsRequest(String dhcpOptionsId) {setDhcpOptionsId(dhcpOptionsId);}

// Translation:
public DeleteDhcpOptionsRequest(string dhcpOptionsId){_dhcpOptionsId = dhcpOptionsId;}
// Original:
public QueryPhraseMap getTermMap( String term ){return subMap.get( term );}

// Translation:
public virtual QueryPhraseMap GetTermMap(string term){QueryPhraseMap result;subMap.TryGetValue(term, out result);return result;}
// Original:
public PutConfigurationSetDeliveryOptionsResult putConfigurationSetDeliveryOptions(PutConfigurationSetDeliveryOptionsRequest request) {request = beforeClientExecution(request);return executePutConfigurationSetDeliveryOptions(request);}

// Translation:
public virtual PutConfigurationSetDeliveryOptionsResponse PutConfigurationSetDeliveryOptions(PutConfigurationSetDeliveryOptionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutConfigurationSetDeliveryOptionsRequestMarshaller.Instance;options.ResponseUnmarshaller = PutConfigurationSetDeliveryOptionsResponseUnmarshaller.Instance;return Invoke<PutConfigurationSetDeliveryOptionsResponse>(request, options);}
// Original:
public ChartRecord(RecordInputStream in) {field_1_x = in.readInt();field_2_y = in.readInt();field_3_width = in.readInt();field_4_height = in.readInt();}

// Translation:
public ChartRecord(RecordInputStream in1){field_1_x = in1.ReadInt();field_2_y = in1.ReadInt();field_3_width = in1.ReadInt();field_4_height = in1.ReadInt();}
// Original:
public ListTaskDefinitionsResult listTaskDefinitions(ListTaskDefinitionsRequest request) {request = beforeClientExecution(request);return executeListTaskDefinitions(request);}

// Translation:
public virtual ListTaskDefinitionsResponse ListTaskDefinitions(ListTaskDefinitionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTaskDefinitionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTaskDefinitionsResponseUnmarshaller.Instance;return Invoke<ListTaskDefinitionsResponse>(request, options);}
// Original:
public String getRawPath() {return rawPath;}

// Translation:
public virtual string GetRawPath(){return rawPath;}
// Original:
public IndexRecord(RecordInputStream in) {int field_1_zero          = in.readInt();if (field_1_zero != 0) {throw new RecordFormatException("Expected zero for field 1 but got " + field_1_zero);}field_2_first_row     = in.readInt();field_3_last_row_add1 = in.readInt();field_4_zero      = in.readInt();int nCells = in.remaining() / 4;field_5_dbcells = new IntList(nCells);for(int i=0; i<nCells; i++) {field_5_dbcells.add(in.readInt());}}

// Translation:
public IndexRecord(RecordInputStream in1){field_1_zero = in1.ReadInt();if (field_1_zero != 0){throw new RecordFormatException("Expected zero for field 1 but got " + field_1_zero);}field_2_first_row = in1.ReadInt();field_3_last_row_add1 = in1.ReadInt();field_4_zero = in1.ReadInt();int nCells = in1.Remaining / 4;field_5_dbcells =new IntList(nCells);   for (int i = 0; i < nCells; i++){field_5_dbcells.Add(in1.ReadInt());}}
// Original:
public Class<? extends Enum> enumType() {return enumType;}

// Translation:
public virtual System.Type enumType(){return _enumType;}
// Original:
public boolean isSupportedType(final int variantType) {for (int st : SUPPORTED_TYPES) {if (variantType == st) {return true;}}return false;}

// Translation:
public bool IsSupportedType(int variantType){for (int i = 0; i < SUPPORTED_TYPES.Length; i++)if (variantType == SUPPORTED_TYPES[i])return true;return false;}
// Original:
public PersonIdent getSourceCommitter(int idx) {return sourceCommitters[idx];}

// Translation:
public virtual PersonIdent GetSourceCommitter(int idx){return sourceCommitters[idx];}
// Original:
public RemoveTagsRequest(String resourceId, java.util.List<String> tagKeys) {setResourceId(resourceId);setTagKeys(tagKeys);}

// Translation:
public RemoveTagsRequest(string resourceId, List<string> tagKeys){_resourceId = resourceId;_tagKeys = tagKeys;}
// Original:
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[ENDBLOCK]\n");buffer.append("    .rt         =").append(HexDump.shortToHex(rt)).append('\n');buffer.append("    .grbitFrt   =").append(HexDump.shortToHex(grbitFrt)).append('\n');buffer.append("    .iObjectKind=").append(HexDump.shortToHex(iObjectKind)).append('\n');buffer.append("    .unused     =").append(HexDump.toHex(unused)).append('\n');buffer.append("[/ENDBLOCK]\n");return buffer.toString();}

// Translation:
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[ENDBLOCK]\n");buffer.Append("    .rt         =").Append(HexDump.ShortToHex(rt)).Append('\n');buffer.Append("    .grbitFrt   =").Append(HexDump.ShortToHex(grbitFrt)).Append('\n');buffer.Append("    .iObjectKind=").Append(HexDump.ShortToHex(iObjectKind)).Append('\n');buffer.Append("    .unused     =").Append(HexDump.ToHex(unused)).Append('\n');buffer.Append("[/ENDBLOCK]\n");return buffer.ToString();}
// Original:
public int stem(char text[], int length, boolean stemDerivational) {flags = 0;numSyllables = 0;for (int i = 0; i < length; i++)if (isVowel(text[i]))numSyllables++;if (numSyllables > 2) length = removeParticle(text, length);if (numSyllables > 2) length = removePossessivePronoun(text, length);if (stemDerivational)length = stemDerivational(text, length);return length;}

// Translation:
public virtual int Stem(char[] text, int length, bool stemDerivational){flags = 0;numSyllables = 0;for (int i = 0; i < length; i++){if (IsVowel(text[i])){numSyllables++;}}if (numSyllables > 2){length = RemoveParticle(text, length);}if (numSyllables > 2){length = RemovePossessivePronoun(text, length);}if (stemDerivational){length = StemDerivational(text, length);}return length;}
// Original:
public final long computeNorm(FieldInvertState state) {final int numTerms;if (state.getIndexOptions() == IndexOptions.DOCS && state.getIndexCreatedVersionMajor() >= 8) {numTerms = state.getUniqueTermCount();} else if (discountOverlaps) {numTerms = state.getLength() - state.getNumOverlap();} else {numTerms = state.getLength();}return SmallFloat.intToByte4(numTerms);}

// Translation:
public override long ComputeNorm(FieldInvertState state){float numTerms;if (discountOverlaps){numTerms = state.Length - state.NumOverlap;}else{numTerms = state.Length;}return EncodeNormValue(state.Boost, numTerms);}
// Original:
public OpenNLPChunkerFilter create(TokenStream in) {try {NLPChunkerOp chunkerOp = null;if (chunkerModelFile != null) {chunkerOp = OpenNLPOpsFactory.getChunker(chunkerModelFile);}return new OpenNLPChunkerFilter(in, chunkerOp);} catch (IOException e) {throw new IllegalArgumentException(e);}}

// Translation:
public override TokenStream Create(TokenStream input){try{NLPChunkerOp chunkerOp = null;if (chunkerModelFile != null){chunkerOp = OpenNLPOpsFactory.GetChunker(chunkerModelFile);}return new OpenNLPChunkerFilter(input, chunkerOp);}catch (IOException e){throw new ArgumentException(e.ToString(), e);}}
// Original:
public List<PackedObjectInfo> getSortedObjectList(Comparator<PackedObjectInfo> cmp) {Arrays.sort(entries, 0, entryCount, cmp);List<PackedObjectInfo> list = Arrays.asList(entries);if (entryCount < entries.length)list = list.subList(0, entryCount);return list;}

// Translation:
public virtual IList<PackedObjectInfo> GetSortedObjectList(IComparer<PackedObjectInfo> cmp){Arrays.Sort(entries, 0, entryCount, cmp);IList<PackedObjectInfo> list = Arrays.AsList(entries);if (entryCount < entries.Length){list = list.SubList(0, entryCount);}return list;}
// Original:
public String getSecurityToken() {AlibabaCloudCredentials credentials = getCredentials();if (credentials instanceof BasicSessionCredentials) {return ((BasicSessionCredentials) credentials).getSessionToken();} else {return null;}}

// Translation:
public string GetSecurityToken(){var credentials = GetCredentials();var sessionCredentials = credentials as BasicSessionCredentials;return sessionCredentials != null ? sessionCredentials.GetSessionToken() : null;}
// Original:
public StopAutoMLJobResult stopAutoMLJob(StopAutoMLJobRequest request) {request = beforeClientExecution(request);return executeStopAutoMLJob(request);}

// Translation:
public virtual StopAutoMLJobResponse StopAutoMLJob(StopAutoMLJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopAutoMLJobRequestMarshaller.Instance;options.ResponseUnmarshaller = StopAutoMLJobResponseUnmarshaller.Instance;return Invoke<StopAutoMLJobResponse>(request, options);}
// Original:
public int findStartOffset(StringBuilder buffer, int start) {if( start > buffer.length() || start < 1 ) return start;bi.setText(buffer.substring(0, start));bi.last();return bi.previous();}

// Translation:
public virtual int FindStartOffset(StringBuilder buffer, int start){if (start > buffer.Length || start < 1) return start;bi.SetText(buffer.ToString(0, start - 0));bi.Last();return bi.Previous();}
// Original:
public StartImageBuilderResult startImageBuilder(StartImageBuilderRequest request) {request = beforeClientExecution(request);return executeStartImageBuilder(request);}

// Translation:
public virtual StartImageBuilderResponse StartImageBuilder(StartImageBuilderRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartImageBuilderRequestMarshaller.Instance;options.ResponseUnmarshaller = StartImageBuilderResponseUnmarshaller.Instance;return Invoke<StartImageBuilderResponse>(request, options);}
// Original:
public double readDouble() {long valueLongBits = readLong();double result = Double.longBitsToDouble(valueLongBits);if (Double.isNaN(result)) {throw new RuntimeException("Did not expect to read NaN");}return result;}

// Translation:
public double ReadDouble(){long valueLongBits = ReadLong();double result = BitConverter.Int64BitsToDouble(valueLongBits);if (Double.IsNaN(result)){throw new Exception("Did not expect to read NaN"); }return result;}
// Original:
public double readDouble(){return _in.readDouble();}

// Translation:
public double ReadDouble(){return _in.ReadDouble();}
// Original:
public int compareTo(Cell other) {return Double.compare(distanceSquared, other.distanceSquared);}

// Translation:
public virtual int CompareTo(Cell o){return string.CompareOrdinal(TokenString, o.TokenString);}
// Original:
public GetCampaignDateRangeKpiResult getCampaignDateRangeKpi(GetCampaignDateRangeKpiRequest request) {request = beforeClientExecution(request);return executeGetCampaignDateRangeKpi(request);}

// Translation:
public virtual GetCampaignDateRangeKpiResponse GetCampaignDateRangeKpi(GetCampaignDateRangeKpiRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetCampaignDateRangeKpiRequestMarshaller.Instance;options.ResponseUnmarshaller = GetCampaignDateRangeKpiResponseUnmarshaller.Instance;return Invoke<GetCampaignDateRangeKpiResponse>(request, options);}
// Original:
public String toString() {StringBuilder sb = new StringBuilder();sb.append(getClass().getName()).append(" [CRN");sb.append(" rowIx=").append(field_3_row_index);sb.append(" firstColIx=").append(field_2_first_column_index);sb.append(" lastColIx=").append(field_1_last_column_index);sb.append("]");return sb.toString();}

// Translation:
public override String ToString(){StringBuilder sb = new StringBuilder();sb.Append(GetType().Name).Append(" [CRN");sb.Append(" rowIx=").Append(field_3_row_index);sb.Append(" firstColIx=").Append(field_2_first_column_index);sb.Append(" lastColIx=").Append(field_1_last_column_index);sb.Append("]");return sb.ToString();}
// Original:
public void add(double value) {ensureCapacity(_count + 1);_array[_count] = value;_count++;}

// Translation:
public void Add(double value){EnsureCapacity(_Count + 1);_array[_Count] = value;_Count++;}
// Original:
public String getSheetName(int sheetIndex) {return getSheetEvaluator(sheetIndex).getSheetName();}

// Translation:
public String GetSheetName(int sheetIndex){return GetSheetEvaluator(sheetIndex).SheetName;}