yijunyu/c-to-rust huggingface dataset:
// Original:
public int getStringWidth(String str){int width = 0;for (int i = 0; i < str.length(); i++){width += getCharWidth(str.charAt(i));}return width;}

// Translation:
public int GetStringWidth(String str){int width = 0;for (int i = 0; i < str.Length; i++){width += GetCharWidth(str[i]);}return width;}
// Original:
public ByteVector(byte[] a) {blockSize = DEFAULT_BLOCK_SIZE;array = a;n = 0;}

// Translation:
public ByteVector(byte[] a){blockSize = DEFAULT_BLOCK_SIZE;array = a;n = 0;}
// Original:
public DeleteVerifiedEmailAddressResult deleteVerifiedEmailAddress(DeleteVerifiedEmailAddressRequest request) {request = beforeClientExecution(request);return executeDeleteVerifiedEmailAddress(request);}

// Translation:
public virtual DeleteVerifiedEmailAddressResponse DeleteVerifiedEmailAddress(DeleteVerifiedEmailAddressRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteVerifiedEmailAddressRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteVerifiedEmailAddressResponseUnmarshaller.Instance;return Invoke<DeleteVerifiedEmailAddressResponse>(request, options);}
// Original:
public DescribeScalingActivitiesResult describeScalingActivities(DescribeScalingActivitiesRequest request) {request = beforeClientExecution(request);return executeDescribeScalingActivities(request);}

// Translation:
public virtual DescribeScalingActivitiesResponse DescribeScalingActivities(DescribeScalingActivitiesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeScalingActivitiesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeScalingActivitiesResponseUnmarshaller.Instance;return Invoke<DescribeScalingActivitiesResponse>(request, options);}
// Original:
public SimpleQueryParser(Analyzer analyzer, String field) {this(analyzer, Collections.singletonMap(field, 1.0F));}

// Translation:
public SimpleQueryParser(Analyzer analyzer, string field): this(analyzer, new JCG.Dictionary<string, float>() { { field, 1.0F } }
// Original:
final public SrndQuery AndQuery() throws ParseException {SrndQuery q;ArrayList<SrndQuery> queries = null;Token oprt = null;q = NotQuery();label_3:while (true) {switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {case AND:;break;default:jj_la1[1] = jj_gen;break label_3;}oprt = jj_consume_token(AND);if (queries == null) {queries = new ArrayList<SrndQuery>();queries.add(q);}q = NotQuery();queries.add(q);}{if (true) return (queries == null) ? q : getAndQuery(queries, true , oprt);}throw new Error("Missing return statement in function");}

// Translation:
public SrndQuery AndQuery(){SrndQuery q;IList<SrndQuery> queries = null;Token oprt = null;q = NotQuery();while (true){switch ((jj_ntk == -1) ? Jj_ntk() : jj_ntk){case RegexpToken.AND:;break;default:jj_la1[1] = jj_gen;goto label_3;}oprt = Jj_consume_token(RegexpToken.AND);if (queries == null){queries = new List<SrndQuery>();queries.Add(q);}q = NotQuery();queries.Add(q);}label_3:{ if (true) return (queries == null) ? q : GetAndQuery(queries, true , oprt); }throw new Exception("Missing return statement in function");}
// Original:
public final int get() {if (position == limit) {throw new BufferUnderflowException();}return backingArray[offset + position++];}

// Translation:
public sealed override int get(){if (_position == _limit){throw new java.nio.BufferUnderflowException();}return backingArray[offset + _position++];}
// Original:
public AddJobFlowStepsRequest(String jobFlowId, java.util.List<StepConfig> steps) {setJobFlowId(jobFlowId);setSteps(steps);}

// Translation:
public AddJobFlowStepsRequest(string jobFlowId, List<StepConfig> steps){_jobFlowId = jobFlowId;_steps = steps;}
// Original:
public String toFormulaString(String[] operands) {StringBuilder buffer = new StringBuilder();buffer.append( operands[0] );buffer.append("<>");buffer.append( operands[1] );return buffer.toString();}

// Translation:
public override String ToFormulaString(String[] operands){StringBuilder buffer = new StringBuilder();buffer.Append(operands[0]);buffer.Append("<>");buffer.Append(operands[1]);return buffer.ToString();}
// Original:
public static String toHex(short value) {StringBuilder sb = new StringBuilder(4);writeHex(sb, value & 0xFFFF, 4, "");return sb.toString();}

// Translation:
public static string ToHex(short value){return ToHex((long)value, 4);}
// Original:
public static String stripSegmentName(String filename) {int idx = indexOfSegmentName(filename);if (idx != -1) {filename = filename.substring(idx);}return filename;}

// Translation:
public static string StripSegmentName(string filename){int idx = IndexOfSegmentName(filename);if (idx != -1){filename = filename.Substring(idx);}return filename;}
// Original:
public InvalidMarkException(String detailMessage) {super(detailMessage);}

// Translation:
public InvalidMarkException(string detailMessage) : base(detailMessage){throw new System.NotImplementedException();}
// Original:
public V nextElement() { return nextEntryNotFailFast().value; }

// Translation:
public V nextElement(){return this.nextEntryNotFailFast().value;}
// Original:
public boolean equals(Object o) {if (o instanceof PersonIdent) {final PersonIdent p = (PersonIdent) o;return getName().equals(p.getName())&& getEmailAddress().equals(p.getEmailAddress())&& when / 1000L == p.when / 1000L;}return false;}

// Translation:
public override bool Equals(object o){if (o is NGit.PersonIdent){NGit.PersonIdent p = (NGit.PersonIdent)o;return GetName().Equals(p.GetName()) && GetEmailAddress().Equals(p.GetEmailAddress()) && when / 1000L == p.when / 1000L;}return false;}
// Original:
public DetectKeyPhrasesResult detectKeyPhrases(DetectKeyPhrasesRequest request) {request = beforeClientExecution(request);return executeDetectKeyPhrases(request);}

// Translation:
public virtual DetectKeyPhrasesResponse DetectKeyPhrases(DetectKeyPhrasesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetectKeyPhrasesRequestMarshaller.Instance;options.ResponseUnmarshaller = DetectKeyPhrasesResponseUnmarshaller.Instance;return Invoke<DetectKeyPhrasesResponse>(request, options);}
// Original:
public long skip(long byteCount) throws IOException {return Streams.skipByReading(this, byteCount);}

// Translation:
public override long skip(long byteCount){throw new System.NotImplementedException();}
// Original:
public ByteBuffer get(byte[] dst) {return get(dst, 0, dst.length);}

// Translation:
public virtual java.nio.ByteBuffer get(byte[] dst){return get(dst, 0, dst.Length);}
// Original:
public void setHideObj(short hide){field_1_hide_obj = hide;}

// Translation:
public void SetHideObj(short hide){field_1_hide_obj = hide;}
// Original:
public final void setLastColumnRaw(short column) {field_4_last_column = column;}

// Translation:
public void SetLastColumnRaw(short column){field_4_last_column = column;}
// Original:
public static PrintCellComments valueOf(int value){return _table[value];}

// Translation:
public static PrintCellComments ValueOf(int value){return _table[value];}
// Original:
public DBInstance deleteDBInstance(DeleteDBInstanceRequest request) {request = beforeClientExecution(request);return executeDeleteDBInstance(request);}

// Translation:
public virtual DeleteDBInstanceResponse DeleteDBInstance(DeleteDBInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDBInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDBInstanceResponseUnmarshaller.Instance;return Invoke<DeleteDBInstanceResponse>(request, options);}
// Original:
public String require(Map<String,String> args, String name) {String s = args.remove(name);if (s == null) {throw new IllegalArgumentException("Configuration Error: missing parameter '" + name + "'");}return s;}

// Translation:
public virtual string Require(IDictionary<string, string> args, string name){string s;if (!args.TryGetValue(name, out s)){throw new System.ArgumentException("Configuration Error: missing parameter '" + name + "'");}args.Remove(name);return s;}
// Original:
public CompositeReaderContext build() {return (CompositeReaderContext) build(null, reader, 0, 0);}

// Translation:
public override WAH8DocIdSet Build(){if (this.wordNum != -1){AddWord(wordNum, (byte)word);}return base.Build();}
// Original:
public GetImageLayerRequest() {super("cr", "2016-06-07", "GetImageLayer", "cr");setUriPattern("/repos/[RepoNamespace]/[RepoName]/tags/[Tag]/layers");setMethod(MethodType.GET);}

// Translation:
public GetImageLayerRequest(): base("cr", "2016-06-07", "GetImageLayer", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/tags/[Tag]/layers";Method = MethodType.GET;}
// Original:
public ParameterNameValue(String parameterName) {setParameterName(parameterName);}

// Translation:
public ParameterNameValue(string parameterName){_parameterName = parameterName;}
// Original:
public CreateDirectConnectGatewayAssociationProposalResult createDirectConnectGatewayAssociationProposal(CreateDirectConnectGatewayAssociationProposalRequest request) {request = beforeClientExecution(request);return executeCreateDirectConnectGatewayAssociationProposal(request);}

// Translation:
public virtual CreateDirectConnectGatewayAssociationProposalResponse CreateDirectConnectGatewayAssociationProposal(CreateDirectConnectGatewayAssociationProposalRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDirectConnectGatewayAssociationProposalRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDirectConnectGatewayAssociationProposalResponseUnmarshaller.Instance;return Invoke<CreateDirectConnectGatewayAssociationProposalResponse>(request, options);}
// Original:
public ListResourceDelegatesResult listResourceDelegates(ListResourceDelegatesRequest request) {request = beforeClientExecution(request);return executeListResourceDelegates(request);}

// Translation:
public virtual ListResourceDelegatesResponse ListResourceDelegates(ListResourceDelegatesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListResourceDelegatesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListResourceDelegatesResponseUnmarshaller.Instance;return Invoke<ListResourceDelegatesResponse>(request, options);}
// Original:
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE, ValueEval placesVE) {ValueEval veText1;try {veText1 = OperandResolver.getSingleValue(numberVE, srcRowIndex, srcColumnIndex);} catch (EvaluationException e) {return e.getErrorEval();}String strText1 = OperandResolver.coerceValueToString(veText1);Double number = OperandResolver.parseDouble(strText1);if (number == null) {return ErrorEval.VALUE_INVALID;}if (number.longValue() < MIN_VALUE || number.longValue() > MAX_VALUE) {return ErrorEval.NUM_ERROR;}int placesNumber;if (number < 0 || placesVE == null) {placesNumber = DEFAULT_PLACES_VALUE;} else {ValueEval placesValueEval;try {placesValueEval = OperandResolver.getSingleValue(placesVE, srcRowIndex, srcColumnIndex);} catch (EvaluationException e) {return e.getErrorEval();}String placesStr = OperandResolver.coerceValueToString(placesValueEval);Double placesNumberDouble = OperandResolver.parseDouble(placesStr);if (placesNumberDouble == null) {return ErrorEval.VALUE_INVALID;}placesNumber = placesNumberDouble.intValue();if (placesNumber < 0 || placesNumber == 0) {return ErrorEval.NUM_ERROR;}}String binary = Integer.toBinaryString(number.intValue());if (binary.length() > DEFAULT_PLACES_VALUE) {binary = binary.substring(binary.length() - DEFAULT_PLACES_VALUE);}if (binary.length() > placesNumber) {return ErrorEval.NUM_ERROR;}return new StringEval(binary);}

// Translation:
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE, ValueEval placesVE){ValueEval veText1;try{veText1 = OperandResolver.GetSingleValue(numberVE, srcRowIndex, srcColumnIndex);}catch (EvaluationException e){return e.GetErrorEval();}String strText1 = OperandResolver.CoerceValueToString(veText1);Double number = OperandResolver.ParseDouble(strText1);if (double.IsNaN(number)){return ErrorEval.VALUE_INVALID;}if (number< MinValue || number > MaxValue){return ErrorEval.NUM_ERROR;}int placesNumber;if (number < 0 || placesVE == null){placesNumber = DEFAULT_PLACES_VALUE;}else{ValueEval placesValueEval;try{placesValueEval = OperandResolver.GetSingleValue(placesVE, srcRowIndex, srcColumnIndex);}catch (EvaluationException e){return e.GetErrorEval();}String placesStr = OperandResolver.CoerceValueToString(placesValueEval);Double placesNumberDouble = OperandResolver.ParseDouble(placesStr);if (double.IsNaN( placesNumberDouble)){return ErrorEval.VALUE_INVALID;}placesNumber = (int)Math.Floor(placesNumberDouble);if (placesNumber < 0 || placesNumber == 0){return ErrorEval.NUM_ERROR;}}String binary = Convert.ToString((int)Math.Floor(number), 2);if (binary.Length > DEFAULT_PLACES_VALUE){binary = binary.Substring(binary.Length - DEFAULT_PLACES_VALUE);}if (binary.Length > placesNumber){return ErrorEval.NUM_ERROR;}return new StringEval(binary);}
// Original:
public static int checkHeaderNoMagic(DataInput in, String codec, int minVersion, int maxVersion) throws IOException {final String actualCodec = in.readString();if (!actualCodec.equals(codec)) {throw new CorruptIndexException("codec mismatch: actual codec=" + actualCodec + " vs expected codec=" + codec, in);}final int actualVersion = in.readInt();if (actualVersion < minVersion) {throw new IndexFormatTooOldException(in, actualVersion, minVersion, maxVersion);}if (actualVersion > maxVersion) {throw new IndexFormatTooNewException(in, actualVersion, minVersion, maxVersion);}return actualVersion;}

// Translation:
public static int CheckHeaderNoMagic(DataInput @in, string codec, int minVersion, int maxVersion){string actualCodec = @in.ReadString();if (!actualCodec.Equals(codec, StringComparison.Ordinal)){throw new System.IO.IOException("codec mismatch: actual codec=" + actualCodec + " vs expected codec=" + codec + " (resource: " + @in + ")");}int actualVersion = @in.ReadInt32();if (actualVersion < minVersion){throw new System.IO.IOException("Version: " + actualVersion + " is not supported. Minimum Version number is " + minVersion + ".");}if (actualVersion > maxVersion){throw new System.IO.IOException("Version: " + actualVersion + " is not supported. Maximum Version number is " + maxVersion + ".");}return actualVersion;}
// Original:
public DescribeDefaultParametersResult describeDefaultParameters(DescribeDefaultParametersRequest request) {request = beforeClientExecution(request);return executeDescribeDefaultParameters(request);}

// Translation:
public virtual DescribeDefaultParametersResponse DescribeDefaultParameters(DescribeDefaultParametersRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDefaultParametersRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDefaultParametersResponseUnmarshaller.Instance;return Invoke<DescribeDefaultParametersResponse>(request, options);}
// Original:
public SimpleSpanFragmenter(QueryScorer queryScorer, int fragmentSize) {this.fragmentSize = fragmentSize;this.queryScorer = queryScorer;}

// Translation:
public SimpleSpanFragmenter(QueryScorer queryScorer, int fragmentSize){this.fragmentSize = fragmentSize;this.queryScorer = queryScorer;}
// Original:
public CreateApplicationResult createApplication(CreateApplicationRequest request) {request = beforeClientExecution(request);return executeCreateApplication(request);}

// Translation:
public virtual CreateApplicationResponse CreateApplication(CreateApplicationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance;return Invoke<CreateApplicationResponse>(request, options);}
// Original:
public URIish getURI() {return uri;}

// Translation:
public virtual URIish GetURI(){return uri;}
// Original:
public DeleteConferenceProviderResult deleteConferenceProvider(DeleteConferenceProviderRequest request) {request = beforeClientExecution(request);return executeDeleteConferenceProvider(request);}

// Translation:
public virtual DeleteConferenceProviderResponse DeleteConferenceProvider(DeleteConferenceProviderRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteConferenceProviderRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteConferenceProviderResponseUnmarshaller.Instance;return Invoke<DeleteConferenceProviderResponse>(request, options);}
// Original:
public byte setByte(final byte holder){return ( byte ) set(holder);}

// Translation:
public byte SetByte(byte holder){return (byte)this.Set(holder);}
// Original:
public PipedInputStream(PipedOutputStream out) throws IOException {connect(out);}

// Translation:
public PipedInputStream(java.io.PipedOutputStream @out){throw new System.NotImplementedException();}
// Original:
public IntBuffer slice() {byteBuffer.limit(limit * SizeOf.INT);byteBuffer.position(position * SizeOf.INT);ByteBuffer bb = byteBuffer.slice().order(byteBuffer.order());IntBuffer result = new IntToByteBufferAdapter(bb);byteBuffer.clear();return result;}

// Translation:
public override java.nio.IntBuffer slice(){byteBuffer.limit(_limit * libcore.io.SizeOf.INT);byteBuffer.position(_position * libcore.io.SizeOf.INT);java.nio.ByteBuffer bb = byteBuffer.slice().order(byteBuffer.order());java.nio.IntBuffer result = new java.nio.IntToByteBufferAdapter(bb);byteBuffer.clear();return result;}
// Original:
public CreateDeploymentConfigResult createDeploymentConfig(CreateDeploymentConfigRequest request) {request = beforeClientExecution(request);return executeCreateDeploymentConfig(request);}

// Translation:
public virtual CreateDeploymentConfigResponse CreateDeploymentConfig(CreateDeploymentConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDeploymentConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDeploymentConfigResponseUnmarshaller.Instance;return Invoke<CreateDeploymentConfigResponse>(request, options);}
// Original:
public HSSFColor findColor(byte red, byte green, byte blue){byte[] b = _palette.getColor(PaletteRecord.FIRST_COLOR_INDEX);for (short i = PaletteRecord.FIRST_COLOR_INDEX; b != null;b = _palette.getColor(++i)){if (b[0] == red && b[1] == green && b[2] == blue){return new CustomColor(i, b);}}return null;}

// Translation:
public HSSFColor FindColor(byte red, byte green, byte blue){byte[] b = palette.GetColor(PaletteRecord.FIRST_COLOR_INDEX);for (short i = (short)PaletteRecord.FIRST_COLOR_INDEX; b != null;b = palette.GetColor(++i)){if (b[0] == red && b[1] == green && b[2] == blue){return new CustomColor(i, b);}}return null;}
// Original:
public boolean canEncode(char c) {return implCanEncode(CharBuffer.wrap(new char[] { c }));}

// Translation:
public virtual bool canEncode(char c){return implCanEncode(java.nio.CharBuffer.wrap(new char[] { c }));}
// Original:
public NetworkInterface(String macAddress) {mac = macAddress;path = "/network/interfaces/macs/" + mac + "/";}

// Translation:
public NetworkInterface(string macAddress){_mac = macAddress;_path = string.Format(CultureInfo.InvariantCulture, "/network/interfaces/macs/{0}/", _mac);}
// Original:
public final boolean isAccept(int state) {return accept.get(state);}

// Translation:
public bool IsAccept(int state){return m_accept[state];}
// Original:
public String toStringTree() {return toStringTree((List<String>)null);}

// Translation:
public virtual string ToStringTree(){return ToStringTree((IList<string>)null);}
// Original:
public TermRangeQuery(String field, BytesRef lowerTerm, BytesRef upperTerm, boolean includeLower, boolean includeUpper) {super(new Term(field, lowerTerm), toAutomaton(lowerTerm, upperTerm, includeLower, includeUpper), Integer.MAX_VALUE, true);this.lowerTerm = lowerTerm;this.upperTerm = upperTerm;this.includeLower = includeLower;this.includeUpper = includeUpper;}

// Translation:
public TermRangeQuery(string field, BytesRef lowerTerm, BytesRef upperTerm, bool includeLower, bool includeUpper): base(field){this.lowerTerm = lowerTerm;this.upperTerm = upperTerm;this.includeLower = includeLower;this.includeUpper = includeUpper;}
// Original:
public ScanResult scan(String tableName, java.util.List<String> attributesToGet) {return scan(new ScanRequest().withTableName(tableName).withAttributesToGet(attributesToGet));}

// Translation:
public virtual ScanResponse Scan(string tableName, List<string> attributesToGet){var request = new ScanRequest();request.TableName = tableName;request.AttributesToGet = attributesToGet;return Scan(request);}
// Original:
public StopLabelingJobResult stopLabelingJob(StopLabelingJobRequest request) {request = beforeClientExecution(request);return executeStopLabelingJob(request);}

// Translation:
public virtual StopLabelingJobResponse StopLabelingJob(StopLabelingJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopLabelingJobRequestMarshaller.Instance;options.ResponseUnmarshaller = StopLabelingJobResponseUnmarshaller.Instance;return Invoke<StopLabelingJobResponse>(request, options);}
// Original:
public PublishSchemaResult publishSchema(PublishSchemaRequest request) {request = beforeClientExecution(request);return executePublishSchema(request);}

// Translation:
public virtual PublishSchemaResponse PublishSchema(PublishSchemaRequest request){var options = new InvokeOptions();options.RequestMarshaller = PublishSchemaRequestMarshaller.Instance;options.ResponseUnmarshaller = PublishSchemaResponseUnmarshaller.Instance;return Invoke<PublishSchemaResponse>(request, options);}
// Original:
public DeleteAttributesRequest(String domainName, String itemName, java.util.List<Attribute> attributes) {setDomainName(domainName);setItemName(itemName);setAttributes(attributes);}

// Translation:
public DeleteAttributesRequest(string domainName, string itemName, List<Attribute> attributes){_domainName = domainName;_itemName = itemName;_attributes = attributes;}
// Original:
public ObjectId toObjectId() {return this;}

// Translation:
public override NGit.ObjectId ToObjectId(){return this;}
// Original:
@Override public ListIterator<E> listIterator() {return listIterator(0);}

// Translation:
public virtual java.util.ListIterator<E> listIterator(){object[] snapshot = elements;return new java.util.concurrent.CopyOnWriteArrayList.CowIterator<E>(snapshot, 0,snapshot.Length);}
// Original:
public ExternalBookBlock() {_externalBookRecord = SupBookRecord.createAddInFunctions();_externalNameRecords = new ExternalNameRecord[0];_crnBlocks = new CRNBlock[0];}

// Translation:
public ExternalBookBlock(){_externalBookRecord = SupBookRecord.CreateAddInFunctions();_externalNameRecords = new ExternalNameRecord[0];_crnBlocks = new CRNBlock[0];}
// Original:
public String getFragment() {return decode(fragment);}

// Translation:
public string getFragment(){return decode(fragment);}
// Original:
public String toString() {return slice.toString()+":"+ postingsEnum;}

// Translation:
public override string ToString(){return "MultiDocsAndPositionsEnum(" + Arrays.ToString(Subs) + ")";}
// Original:
public ByteBuffer putDouble(double value) {throw new ReadOnlyBufferException();}

// Translation:
public override java.nio.ByteBuffer putDouble(double value){throw new java.nio.ReadOnlyBufferException();}
// Original:
public static InternalWorkbook createStubWorkbook(ExternSheetRecord[] externs,BoundSheetRecord[] bounds) {return createStubWorkbook(externs, bounds, null);}

// Translation:
public static InternalWorkbook CreateStubWorkbook(ExternSheetRecord[] externs,BoundSheetRecord[] bounds){return CreateStubWorkbook(externs, bounds, null);}
// Original:
public IndexDocumentsResult indexDocuments(IndexDocumentsRequest request) {request = beforeClientExecution(request);return executeIndexDocuments(request);}

// Translation:
public virtual IndexDocumentsResponse IndexDocuments(IndexDocumentsRequest request){var options = new InvokeOptions();options.RequestMarshaller = IndexDocumentsRequestMarshaller.Instance;options.ResponseUnmarshaller = IndexDocumentsResponseUnmarshaller.Instance;return Invoke<IndexDocumentsResponse>(request, options);}
// Original:
public String toStringTree(Parser recog) {return Trees.toStringTree(this, recog);}

// Translation:
public virtual string ToStringTree(Parser recog){return Trees.ToStringTree(this, recog);}