yijunyu/c-to-rust huggingface dataset:
// Original:
public StartApplicationResult startApplication(StartApplicationRequest request) {request = beforeClientExecution(request);return executeStartApplication(request);}

// Translation:
public virtual StartApplicationResponse StartApplication(StartApplicationRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartApplicationRequestMarshaller.Instance;options.ResponseUnmarshaller = StartApplicationResponseUnmarshaller.Instance;return Invoke<StartApplicationResponse>(request, options);}
// Original:
public void mark(int readlimit) throws IOException {synchronized (lock) {super.mark(readlimit);markedLineNumber = lineNumber;markedLastWasCR = lastWasCR;}}

// Translation:
public override void mark(int readlimit){throw new System.NotImplementedException();}
// Original:
public int getPort() {return port;}

// Translation:
public virtual int GetPort(){return port;}
// Original:
public int get() {if (position == limit) {throw new BufferUnderflowException();}return byteBuffer.getInt(position++ * SizeOf.INT);}

// Translation:
public override int get(){if (_position == _limit){throw new java.nio.BufferUnderflowException();}return byteBuffer.getInt(_position++ * libcore.io.SizeOf.INT);}
// Original:
public Entry<K, V> pollLastEntry() {Node<K, V> result = endpoint(false);if (result != null) {removeInternal(result);}return immutableCopy(result);}

// Translation:
public java.util.MapClass.Entry<K, V> pollLastEntry(){java.util.TreeMap.Node<K, V> result = this.endpoint(false);if (result != null){this._enclosing.removeInternal(result);}return this._enclosing.immutableCopy(result);}
// Original:
public RebootRelationalDatabaseResult rebootRelationalDatabase(RebootRelationalDatabaseRequest request) {request = beforeClientExecution(request);return executeRebootRelationalDatabase(request);}

// Translation:
public virtual RebootRelationalDatabaseResponse RebootRelationalDatabase(RebootRelationalDatabaseRequest request){var options = new InvokeOptions();options.RequestMarshaller = RebootRelationalDatabaseRequestMarshaller.Instance;options.ResponseUnmarshaller = RebootRelationalDatabaseResponseUnmarshaller.Instance;return Invoke<RebootRelationalDatabaseResponse>(request, options);}
// Original:
public String toString() {return getClass().getName() + " [" + asFormulaString() + "]";}

// Translation:
public override String ToString(){StringBuilder sb = new StringBuilder(64);sb.Append(this.GetType().Name);sb.Append(" [");AsFormulaString(sb);sb.Append("]");return sb.ToString();}
// Original:
public BulkPublishResult bulkPublish(BulkPublishRequest request) {request = beforeClientExecution(request);return executeBulkPublish(request);}

// Translation:
public virtual BulkPublishResponse BulkPublish(BulkPublishRequest request){var options = new InvokeOptions();options.RequestMarshaller = BulkPublishRequestMarshaller.Instance;options.ResponseUnmarshaller = BulkPublishResponseUnmarshaller.Instance;return Invoke<BulkPublishResponse>(request, options);}
// Original:
public static String getNewRoleSessionName() {return "aliyun-java-sdk-" + System.currentTimeMillis();}

// Translation:
public static string GetNewRoleSessionName(){return "aliyun-net-sdk-" + DateTime.UtcNow.currentTimeMillis();}
// Original:
public CompleteLifecycleActionResult completeLifecycleAction(CompleteLifecycleActionRequest request) {request = beforeClientExecution(request);return executeCompleteLifecycleAction(request);}

// Translation:
public virtual CompleteLifecycleActionResponse CompleteLifecycleAction(CompleteLifecycleActionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CompleteLifecycleActionRequestMarshaller.Instance;options.ResponseUnmarshaller = CompleteLifecycleActionResponseUnmarshaller.Instance;return Invoke<CompleteLifecycleActionResponse>(request, options);}
// Original:
public ParseException generateParseException() {jj_expentries.clear();boolean[] la1tokens = new boolean[34];if (jj_kind >= 0) {la1tokens[jj_kind] = true;jj_kind = -1;}for (int i = 0; i < 25; i++) {if (jj_la1[i] == jj_gen) {for (int j = 0; j < 32; j++) {if ((jj_la1_0[i] & (1<<j)) != 0) {la1tokens[j] = true;}if ((jj_la1_1[i] & (1<<j)) != 0) {la1tokens[32+j] = true;}}}}for (int i = 0; i < 34; i++) {if (la1tokens[i]) {jj_expentry = new int[1];jj_expentry[0] = i;jj_expentries.add(jj_expentry);}}jj_endpos = 0;jj_rescan_token();jj_add_error_token(0, 0);int[][] exptokseq = new int[jj_expentries.size()][];for (int i = 0; i < jj_expentries.size(); i++) {exptokseq[i] = jj_expentries.get(i);}return new ParseException(token, exptokseq, tokenImage);}

// Translation:
public virtual ParseException GenerateParseException(){jj_expentries.Clear();bool[] la1tokens = new bool[34];if (jj_kind >= 0){la1tokens[jj_kind] = true;jj_kind = -1;}for (int i = 0; i < 28; i++){if (jj_la1[i] == jj_gen){for (int j = 0; j < 32; j++){if ((jj_la1_0[i] & (1 << j)) != 0){la1tokens[j] = true;}if ((jj_la1_1[i] & (1 << j)) != 0){la1tokens[32 + j] = true;}}}}for (int i = 0; i < 34; i++){if (la1tokens[i]){jj_expentry = new int[1];jj_expentry[0] = i;jj_expentries.Add(jj_expentry);}}jj_endpos = 0;Jj_rescan_token();Jj_add_error_token(0, 0);int[][] exptokseq = new int[jj_expentries.Count][];for (int i = 0; i < jj_expentries.Count; i++){exptokseq[i] = jj_expentries[i];}return new ParseException(Token, exptokseq, StandardSyntaxParserConstants.TokenImage);}
// Original:
public final ObjectToPack getDeltaBase() {if (deltaBase instanceof ObjectToPack)return (ObjectToPack) deltaBase;return null;}

// Translation:
public virtual NGit.Storage.Pack.ObjectToPack GetDeltaBase(){if (deltaBase is NGit.Storage.Pack.ObjectToPack){return (NGit.Storage.Pack.ObjectToPack)deltaBase;}return null;}
// Original:
public GetQueryExecutionResult getQueryExecution(GetQueryExecutionRequest request) {request = beforeClientExecution(request);return executeGetQueryExecution(request);}

// Translation:
public virtual GetQueryExecutionResponse GetQueryExecution(GetQueryExecutionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetQueryExecutionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetQueryExecutionResponseUnmarshaller.Instance;return Invoke<GetQueryExecutionResponse>(request, options);}
// Original:
public int getFontIndex(FontRecord font) {for(int i=0; i<=numfonts; i++) {FontRecord thisFont =( FontRecord ) records.get((records.getFontpos() - (numfonts - 1)) + i);if(thisFont == font) {return (i > 3) ? i+1 : i;}}throw new IllegalArgumentException("Could not find that font!");}

// Translation:
public int GetFontIndex(FontRecord font){for (int i = 0; i <= numfonts; i++){FontRecord thisFont =(FontRecord)records[(records.Fontpos - (numfonts - 1)) + i];if (thisFont == font){if (i > 3){return (i + 1);}return i;}}throw new ArgumentException("Could not find that font!");}
// Original:
public FieldInfo add(FieldInfo fi) {return add(fi, -1);}

// Translation:
public void Add(FieldInfos other){foreach (FieldInfo fieldInfo in other){Add(fieldInfo);}}
// Original:
public DescribeDominantLanguageDetectionJobResult describeDominantLanguageDetectionJob(DescribeDominantLanguageDetectionJobRequest request) {request = beforeClientExecution(request);return executeDescribeDominantLanguageDetectionJob(request);}

// Translation:
public virtual DescribeDominantLanguageDetectionJobResponse DescribeDominantLanguageDetectionJob(DescribeDominantLanguageDetectionJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDominantLanguageDetectionJobRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDominantLanguageDetectionJobResponseUnmarshaller.Instance;return Invoke<DescribeDominantLanguageDetectionJobResponse>(request, options);}
// Original:
public DescribeReservedInstancesModificationsResult describeReservedInstancesModifications() {return describeReservedInstancesModifications(new DescribeReservedInstancesModificationsRequest());}

// Translation:
public virtual DescribeReservedInstancesModificationsResponse DescribeReservedInstancesModifications(){return DescribeReservedInstancesModifications(new DescribeReservedInstancesModificationsRequest());}
// Original:
public DiffCommand setOutputStream(OutputStream out) {this.out = out;return this;}

// Translation:
public virtual NGit.Api.DiffCommand SetOutputStream(OutputStream @out){this.@out = @out;return this;}
// Original:
public ObjectId toObjectId() {return new ObjectId(this);}

// Translation:
public override ObjectId ToObjectId(){return new ObjectId(this);}
// Original:
public static short[] getAllKnownRecordSIDs() {if (_allKnownRecordSIDs == null) {short[] results = new short[ _recordCreatorsById.size() ];int i = 0;for (Integer sid : _recordCreatorsById.keySet()) {results[i++] = sid.shortValue();}Arrays.sort(results);_allKnownRecordSIDs = results;}return _allKnownRecordSIDs.clone();}

// Translation:
public static short[] GetAllKnownRecordSIDs(){if (_allKnownRecordSIDs == null){short[] results = new short[_recordCreatorsById.Count];int i = 0;foreach (KeyValuePair<short, I_RecordCreator> kv in _recordCreatorsById){results[i++] = kv.Key;}Array.Sort(results);_allKnownRecordSIDs = results;}return (short[])_allKnownRecordSIDs.Clone();}
// Original:
public PredictionContext getCachedContext(PredictionContext context) {if ( sharedContextCache==null ) return context;synchronized (sharedContextCache) {IdentityHashMap<PredictionContext, PredictionContext> visited =new IdentityHashMap<PredictionContext, PredictionContext>();return PredictionContext.getCachedContext(context,sharedContextCache,visited);}}

// Translation:
public PredictionContext getCachedContext(PredictionContext context){if (sharedContextCache == null) return context;lock (sharedContextCache){PredictionContext.IdentityHashMap visited =new PredictionContext.IdentityHashMap();return PredictionContext.GetCachedContext(context,sharedContextCache,visited);}}
// Original:
public CreateStageResult createStage(CreateStageRequest request) {request = beforeClientExecution(request);return executeCreateStage(request);}

// Translation:
public virtual CreateStageResponse CreateStage(CreateStageRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateStageRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateStageResponseUnmarshaller.Instance;return Invoke<CreateStageResponse>(request, options);}
// Original:
public static EditList singleton(Edit edit) {EditList res = new EditList(1);res.add(edit);return res;}

// Translation:
public static NGit.Diff.EditList Singleton(Edit edit){NGit.Diff.EditList res = new NGit.Diff.EditList(1);res.AddItem(edit);return res;}
// Original:
public ModifySnapshotScheduleResult modifySnapshotSchedule(ModifySnapshotScheduleRequest request) {request = beforeClientExecution(request);return executeModifySnapshotSchedule(request);}

// Translation:
public virtual ModifySnapshotScheduleResponse ModifySnapshotSchedule(ModifySnapshotScheduleRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifySnapshotScheduleRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifySnapshotScheduleResponseUnmarshaller.Instance;return Invoke<ModifySnapshotScheduleResponse>(request, options);}
// Original:
public boolean isEmpty() {return elements.length == 0;}

// Translation:
public virtual bool isEmpty(){return elements.Length == 0;}
// Original:
public void copy(BytesRef bytes, BytesRef out) {int left = blockSize - upto;if (bytes.length > left || currentBlock==null) {if (currentBlock != null) {addBlock(currentBlock);didSkipBytes = true;}currentBlock = new byte[blockSize];upto = 0;left = blockSize;assert bytes.length <= blockSize;}out.bytes = currentBlock;out.offset = upto;out.length = bytes.length;System.arraycopy(bytes.bytes, bytes.offset, currentBlock, upto, bytes.length);upto += bytes.length;}

// Translation:
public void Copy(BytesRef bytes, BytesRef @out){int left = blockSize - upto;if (bytes.Length > left || currentBlock == null){if (currentBlock != null){blocks.Add(currentBlock);blockEnd.Add(upto);didSkipBytes = true;}currentBlock = new byte[blockSize];upto = 0;left = blockSize;Debug.Assert(bytes.Length <= blockSize);}@out.Bytes = currentBlock;@out.Offset = upto;@out.Length = bytes.Length;Array.Copy(bytes.Bytes, bytes.Offset, currentBlock, upto, bytes.Length);upto += bytes.Length;}
// Original:
public void add(int location, E object) {listIterator(location).add(object);}

// Translation:
public override void add(int location, E @object){listIterator(location).add(@object);}
// Original:
public CreateKeyPairRequest(String keyName) {setKeyName(keyName);}

// Translation:
public CreateKeyPairRequest(string keyName){_keyName = keyName;}
// Original:
public boolean removeLastOccurrence(Object o) {Iterator<E> iter = new ReverseLinkIterator<E>(this);return removeOneOccurrence(o, iter);}

// Translation:
public virtual bool removeLastOccurrence(object o){java.util.Iterator<E> iter = new java.util.LinkedList<E>.ReverseLinkIterator<E>(this, this);return removeOneOccurrence(o, iter);}
// Original:
public int keyAt(int index) {return mKeys[index];}

// Translation:
public virtual int keyAt(int index){return mKeys[index];}
// Original:
public synchronized void setHierarchical(String dimName, boolean v) {DimConfig ft = fieldTypes.get(dimName);if (ft == null) {ft = new DimConfig();fieldTypes.put(dimName, ft);}ft.hierarchical = v;}

// Translation:
public virtual void SetHierarchical(string dimName, bool v){lock (this){if (!fieldTypes.TryGetValue(dimName, out DimConfig fieldType)){fieldTypes[dimName] = new DimConfig { IsHierarchical = v };}else{fieldType.IsHierarchical = v;}}}
// Original:
public ObjectId getOldObjectId() {return oldObjectId;}

// Translation:
public virtual ObjectId GetOldObjectId(){return oldObjectId;}
// Original:
public static String toStringTree(final Tree t, final List<String> ruleNames) {String s = Utils.escapeWhitespace(getNodeText(t, ruleNames), false);if ( t.getChildCount()==0 ) return s;StringBuilder buf = new StringBuilder();buf.append("(");s = Utils.escapeWhitespace(getNodeText(t, ruleNames), false);buf.append(s);buf.append(' ');for (int i = 0; i<t.getChildCount(); i++) {if ( i>0 ) buf.append(' ');buf.append(toStringTree(t.getChild(i), ruleNames));}buf.append(")");return buf.toString();}

// Translation:
public static string ToStringTree(ITree t, IList<string> ruleNames){string s = Utils.EscapeWhitespace(GetNodeText(t, ruleNames), false);if (t.ChildCount == 0){return s;}StringBuilder buf = new StringBuilder();buf.Append("(");s = Utils.EscapeWhitespace(GetNodeText(t, ruleNames), false);buf.Append(s);buf.Append(' ');for (int i = 0; i < t.ChildCount; i++){if (i > 0){buf.Append(' ');}buf.Append(ToStringTree(t.GetChild(i), ruleNames));}buf.Append(")");return buf.ToString();}
// Original:
public NavigableSet<E> headSet(E end, boolean endInclusive) {Comparator<? super E> c = backingMap.comparator();if (c == null) {((Comparable<E>) end).compareTo(end);} else {c.compare(end, end);}return new TreeSet<E>(backingMap.headMap(end, endInclusive));}

// Translation:
public virtual java.util.NavigableSet<E> headSet(E end, bool endInclusive){java.util.Comparator<E> c = backingMap.comparator();if (c == null){((java.lang.Comparable<E>)end).compareTo(end);}else{c.compare(end, end);}return new java.util.TreeSet<E>(backingMap.headMap(end, endInclusive));}
// Original:
public static ContentSource create(ObjectReader reader) {return new ObjectReaderSource(reader);}

// Translation:
public static ContentSource Create(ObjectReader reader){return new ContentSource.ObjectReaderSource(reader);}
// Original:
public void setReuseDeltas(boolean reuseDeltas) {this.reuseDeltas = reuseDeltas;}

// Translation:
public virtual void SetReuseDeltas(bool reuseDeltas){this.reuseDeltas = reuseDeltas;}
// Original:
public ListSkillsStoreSkillsByCategoryResult listSkillsStoreSkillsByCategory(ListSkillsStoreSkillsByCategoryRequest request) {request = beforeClientExecution(request);return executeListSkillsStoreSkillsByCategory(request);}

// Translation:
public virtual ListSkillsStoreSkillsByCategoryResponse ListSkillsStoreSkillsByCategory(ListSkillsStoreSkillsByCategoryRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListSkillsStoreSkillsByCategoryRequestMarshaller.Instance;options.ResponseUnmarshaller = ListSkillsStoreSkillsByCategoryResponseUnmarshaller.Instance;return Invoke<ListSkillsStoreSkillsByCategoryResponse>(request, options);}
// Original:
public final Ref getRef(String name) {return advertisedRefs.get(name);}

// Translation:
public Ref GetRef(string name){return advertisedRefs.Get(name);}
// Original:
public ModifyInstanceGroupsResult modifyInstanceGroups(ModifyInstanceGroupsRequest request) {request = beforeClientExecution(request);return executeModifyInstanceGroups(request);}

// Translation:
public virtual ModifyInstanceGroupsResponse ModifyInstanceGroups(ModifyInstanceGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyInstanceGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyInstanceGroupsResponseUnmarshaller.Instance;return Invoke<ModifyInstanceGroupsResponse>(request, options);}
// Original:
public Object toObject() {return exists ? new Date(value) : null;}

// Translation:
public override object ToObject(){return Exists ? new DateTime(Value) as object : null;}
// Original:
public DescribeDBInstanceAutomatedBackupsResult describeDBInstanceAutomatedBackups(DescribeDBInstanceAutomatedBackupsRequest request) {request = beforeClientExecution(request);return executeDescribeDBInstanceAutomatedBackups(request);}

// Translation:
public virtual DescribeDBInstanceAutomatedBackupsResponse DescribeDBInstanceAutomatedBackups(DescribeDBInstanceAutomatedBackupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDBInstanceAutomatedBackupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDBInstanceAutomatedBackupsResponseUnmarshaller.Instance;return Invoke<DescribeDBInstanceAutomatedBackupsResponse>(request, options);}
// Original:
public PreviewAgentsResult previewAgents(PreviewAgentsRequest request) {request = beforeClientExecution(request);return executePreviewAgents(request);}

// Translation:
public virtual PreviewAgentsResponse PreviewAgents(PreviewAgentsRequest request){var options = new InvokeOptions();options.RequestMarshaller = PreviewAgentsRequestMarshaller.Instance;options.ResponseUnmarshaller = PreviewAgentsResponseUnmarshaller.Instance;return Invoke<PreviewAgentsResponse>(request, options);}
// Original:
public QueryGroupUsersRequest() {super("LinkFace", "2018-07-20", "QueryGroupUsers");setProtocol(ProtocolType.HTTPS);setMethod(MethodType.POST);}

// Translation:
public QueryGroupUsersRequest(): base("LinkFace", "2018-07-20", "QueryGroupUsers"){Protocol = ProtocolType.HTTPS;Method = MethodType.POST;}
// Original:
public DescribeOptionGroupsResult describeOptionGroups(DescribeOptionGroupsRequest request) {request = beforeClientExecution(request);return executeDescribeOptionGroups(request);}

// Translation:
public virtual DescribeOptionGroupsResponse DescribeOptionGroups(DescribeOptionGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeOptionGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeOptionGroupsResponseUnmarshaller.Instance;return Invoke<DescribeOptionGroupsResponse>(request, options);}
// Original:
public UpdateGroupResult updateGroup(UpdateGroupRequest request) {request = beforeClientExecution(request);return executeUpdateGroup(request);}

// Translation:
public virtual UpdateGroupResponse UpdateGroup(UpdateGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateGroupResponseUnmarshaller.Instance;return Invoke<UpdateGroupResponse>(request, options);}
// Original:
public UpdateSigningCertificateRequest(String certificateId, StatusType status) {setCertificateId(certificateId);setStatus(status.toString());}

// Translation:
public UpdateSigningCertificateRequest(string certificateId, StatusType status){_certificateId = certificateId;_status = status;}
// Original:
public CreateInstancesResult createInstances(CreateInstancesRequest request) {request = beforeClientExecution(request);return executeCreateInstances(request);}

// Translation:
public virtual CreateInstancesResponse CreateInstances(CreateInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateInstancesResponseUnmarshaller.Instance;return Invoke<CreateInstancesResponse>(request, options);}
// Original:
public static int getRecordSizeForBlockCount(int blockCount) {return 20 + 4 * blockCount;}

// Translation:
public static int GetRecordSizeForBlockCount(int blockCount){return 20 + (4 * blockCount);}
// Original:
public StopStreamEncryptionResult stopStreamEncryption(StopStreamEncryptionRequest request) {request = beforeClientExecution(request);return executeStopStreamEncryption(request);}

// Translation:
public virtual StopStreamEncryptionResponse StopStreamEncryption(StopStreamEncryptionRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopStreamEncryptionRequestMarshaller.Instance;options.ResponseUnmarshaller = StopStreamEncryptionResponseUnmarshaller.Instance;return Invoke<StopStreamEncryptionResponse>(request, options);}
// Original:
public GetPredictionResult getPrediction(GetPredictionRequest request) {request = beforeClientExecution(request);return executeGetPrediction(request);}

// Translation:
public virtual GetPredictionResponse GetPrediction(GetPredictionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetPredictionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetPredictionResponseUnmarshaller.Instance;return Invoke<GetPredictionResponse>(request, options);}
// Original:
public ModifyWorkspacePropertiesResult modifyWorkspaceProperties(ModifyWorkspacePropertiesRequest request) {request = beforeClientExecution(request);return executeModifyWorkspaceProperties(request);}

// Translation:
public virtual ModifyWorkspacePropertiesResponse ModifyWorkspaceProperties(ModifyWorkspacePropertiesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyWorkspacePropertiesRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyWorkspacePropertiesResponseUnmarshaller.Instance;return Invoke<ModifyWorkspacePropertiesResponse>(request, options);}
// Original:
public void copyFrom(TermState _other) {assert _other instanceof BlockTermState : "can not copy from " + _other.getClass().getName();BlockTermState other = (BlockTermState) _other;super.copyFrom(_other);docFreq = other.docFreq;totalTermFreq = other.totalTermFreq;termBlockOrd = other.termBlockOrd;blockFilePointer = other.blockFilePointer;}

// Translation:
public override void CopyFrom(TermState other){Debug.Assert(other is BlockTermState, "can not copy from " + other.GetType().Name);BlockTermState other2 = (BlockTermState)other;base.CopyFrom(other);DocFreq = other2.DocFreq;TotalTermFreq = other2.TotalTermFreq;TermBlockOrd = other2.TermBlockOrd;BlockFilePointer = other2.BlockFilePointer;}
// Original:
public String getLine() {return command.getLine();}

// Translation:
public virtual string GetLine(){return line;}
// Original:
public static void release(Inflater i) {if (i != null) {i.reset();if (releaseImpl(i))i.end();}}

// Translation:
public static void Release(Inflater i){if (i != null){i.Reset();if (ReleaseImpl(i)){i.Finish();}}}
// Original:
public EnumSet<RevSort> getRevSort() {return sorting.clone();}

// Translation:
public virtual EnumSet<RevSort> GetRevSort(){return sorting.Clone();}
// Original:
public boolean removeFetchRefSpec(RefSpec s) {return fetch.remove(s);}

// Translation:
public virtual bool RemoveFetchRefSpec(RefSpec s){return fetch.Remove(s);}
// Original:
public CharBuffer put(char c) {if (position == limit) {throw new BufferOverflowException();}backingArray[offset + position++] = c;return this;}

// Translation:
public override java.nio.CharBuffer put(char c){if (_position == _limit){throw new java.nio.BufferOverflowException();}backingArray[offset + _position++] = c;return this;}