yijunyu/c-to-rust huggingface dataset:
// Original:
public SearchLocalGatewayRoutesResult searchLocalGatewayRoutes(SearchLocalGatewayRoutesRequest request) {request = beforeClientExecution(request);return executeSearchLocalGatewayRoutes(request);}

// Translation:
public virtual SearchLocalGatewayRoutesResponse SearchLocalGatewayRoutes(SearchLocalGatewayRoutesRequest request){var options = new InvokeOptions();options.RequestMarshaller = SearchLocalGatewayRoutesRequestMarshaller.Instance;options.ResponseUnmarshaller = SearchLocalGatewayRoutesResponseUnmarshaller.Instance;return Invoke<SearchLocalGatewayRoutesResponse>(request, options);}
// Original:
public void write(byte[] buffer) throws IOException {write(buffer, 0, buffer.length);}

// Translation:
public virtual void write(byte[] buffer){throw new System.NotImplementedException();}
// Original:
public ExtendedPivotTableViewFieldsRecord(RecordInputStream in) {_grbit1 = in.readInt();_grbit2 = in.readUByte();_citmShow = in.readUByte();_isxdiSort = in.readUShort();_isxdiShow = in.readUShort();switch (in.remaining()) {case 0:_reserved1 = 0;_reserved2 = 0;_subtotalName = null;return;case 10:break;default:throw new RecordFormatException("Unexpected remaining size (" + in.remaining() + ")");}int cchSubName = in.readUShort();_reserved1 = in.readInt();_reserved2 = in.readInt();if (cchSubName != STRING_NOT_PRESENT_LEN) {_subtotalName = in.readUnicodeLEString(cchSubName);}}

// Translation:
public ExtendedPivotTableViewFieldsRecord(RecordInputStream in1){grbit1 = in1.ReadInt();grbit2 = in1.ReadUByte();citmShow = in1.ReadUByte();isxdiSort = in1.ReadUShort();isxdiShow = in1.ReadUShort();switch (in1.Remaining) {case 0:reserved1 = 0;reserved2 = 0;subName = null;return;case 10:break;default:throw new RecordFormatException("Unexpected remaining size (" + in1.Remaining + ")");}int cchSubName = in1.ReadUShort();reserved1 = in1.ReadInt();reserved2 = in1.ReadInt();if (cchSubName != STRING_NOT_PRESENT_LEN){subName = in1.ReadUnicodeLEString(cchSubName);}}
// Original:
public static double cosh(double d) {double ePowX = Math.pow(Math.E, d);double ePowNegX = Math.pow(Math.E, -d);return (ePowX + ePowNegX) / 2;}

// Translation:
public static double Cosh(double d){double ePowX = Math.Pow(Math.E, d);double ePowNegX = Math.Pow(Math.E, -d);d = (ePowX + ePowNegX) / 2;return d;}
// Original:
public List<String> getDFAStrings() {synchronized (_interp.decisionToDFA) {List<String> s = new ArrayList<String>();for (int d = 0; d < _interp.decisionToDFA.length; d++) {DFA dfa = _interp.decisionToDFA[d];s.add( dfa.toString(getVocabulary()) );}return s;}}

// Translation:
public virtual IList<string> GetDFAStrings(){IList<string> s = new List<string>();for (int d = 0; d < Interpreter.atn.decisionToDFA.Length; d++){DFA dfa = Interpreter.atn.decisionToDFA[d];s.Add(dfa.ToString(Vocabulary));}return s;}
// Original:
public LexerChannelAction(int channel) {this.channel = channel;}

// Translation:
public LexerChannelAction(int channel){this.channel = channel;}
// Original:
public MappingCharFilter(NormalizeCharMap normMap, Reader in) {super(in);buffer.reset(in);map = normMap.map;cachedRootArcs = normMap.cachedRootArcs;if (map != null) {fstReader = map.getBytesReader();} else {fstReader = null;}}

// Translation:
public MappingCharFilter(NormalizeCharMap normMap, TextReader @in): base(@in){_input = GetBufferedReader(@in);_input.Mark(BufferedCharFilter.DEFAULT_CHAR_BUFFER_SIZE);buffer.Reset(_input);map = normMap.map;cachedRootArcs = normMap.cachedRootArcs;if (map != null){fstReader = map.GetBytesReader();}else{fstReader = null;}}
// Original:
public String toString() {String newline = System.getProperty("line.separator");StringBuilder sb = new StringBuilder();sb.append(sequence.toString());sb.append(newline);return sb.toString();}

// Translation:
public override string ToString(){string newline = Environment.NewLine;StringBuilder sb = new StringBuilder();sb.Append(sequence.ToString());sb.Append(newline);return sb.ToString();}
// Original:
public void visitContainedRecords(RecordVisitor rv) {for (CFRecordsAggregate subAgg : _cfHeaders) {subAgg.visitContainedRecords(rv);}}

// Translation:
public override void VisitContainedRecords(RecordVisitor rv){for (int i = 0; i < _cfHeaders.Count; i++){CFRecordsAggregate subAgg = (CFRecordsAggregate)_cfHeaders[i];subAgg.VisitContainedRecords(rv);}}
// Original:
public static boolean equals(short[] array1, short[] array2) {if (array1 == array2) {return true;}if (array1 == null || array2 == null || array1.length != array2.length) {return false;}for (int i = 0; i < array1.length; i++) {if (array1[i] != array2[i]) {return false;}}return true;}

// Translation:
public static bool equals(short[] array1, short[] array2){if (array1 == array2){return true;}if (array1 == null || array2 == null || array1.Length != array2.Length){return false;}{for (int i = 0; i < array1.Length; i++){if (array1[i] != array2[i]){return false;}}}return true;}
// Original:
public String getString(){return getString(field_2_bytes, codepage);}

// Translation:
public String GetString(){return GetString(field_2_bytes, codepage);}
// Original:
public SimpleDate(Calendar cal) {year = cal.get(Calendar.YEAR);month = cal.get(Calendar.MONTH) + 1;day = cal.get(Calendar.DAY_OF_MONTH);tsMilliseconds = cal.getTimeInMillis();}

// Translation:
public SimpleDate(DateTime date){year = date.Year;month = date.Month;day = date.Day;ticks = date.Ticks;}
// Original:
public TreeFilter clone() {throw new IllegalStateException("Do not clone this kind of filter: " + getClass().getName());}

// Translation:
public override TreeFilter Clone(){throw new InvalidOperationException("Do not clone this kind of filter: " + GetType().FullName);}
// Original:
public String getText(Interval interval) {int start = interval.a;int stop = interval.b;if ( start<0 || stop<0 ) return "";fill();if ( stop>=tokens.size() ) stop = tokens.size()-1;StringBuilder buf = new StringBuilder();for (int i = start; i <= stop; i++) {Token t = tokens.get(i);if ( t.getType()==Token.EOF ) break;buf.append(t.getText());}return buf.toString();}

// Translation:
public virtual string GetText(Interval interval){int start = interval.a;int stop = interval.b;if (start < 0 || stop < 0){return string.Empty;}LazyInit();if (stop >= tokens.Count){stop = tokens.Count - 1;}StringBuilder buf = new StringBuilder();for (int i = start; i <= stop; i++){IToken t = tokens[i];if (t.Type == TokenConstants.EOF){break;}buf.Append(t.Text);}return buf.ToString();}
// Original:
public CancelStepsResult cancelSteps(CancelStepsRequest request) {request = beforeClientExecution(request);return executeCancelSteps(request);}

// Translation:
public virtual CancelStepsResponse CancelSteps(CancelStepsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CancelStepsRequestMarshaller.Instance;options.ResponseUnmarshaller = CancelStepsResponseUnmarshaller.Instance;return Invoke<CancelStepsResponse>(request, options);}
// Original:
public long ramBytesUsed() {return 0;}

// Translation:
public override long RamBytesUsed(){return 0;}
// Original:
public boolean contains(Object o) {return containsValue(o);}

// Translation:
public override bool contains(object o){return this._enclosing.containsValue(o);}
// Original:
public synchronized int codePointBefore(int index) {return super.codePointBefore(index);}

// Translation:
public override int codePointBefore(int index){lock (this){return base.codePointBefore(index);}}
// Original:
public DeleteApplicationRequest(String applicationName) {setApplicationName(applicationName);}

// Translation:
public DeleteApplicationRequest(string applicationName){_applicationName = applicationName;}
// Original:
public LazyDocument(IndexReader reader, int docID) {this.reader = reader;this.docID = docID;}

// Translation:
public LazyDocument(IndexReader reader, int docID){this.reader = reader;this.docID = docID;}
// Original:
public static int trimLeadingWhitespace(byte[] raw, int start, int end) {while (start < end && isWhitespace(raw[start]))start++;return start;}

// Translation:
public static int TrimLeadingWhitespace(byte[] raw, int start, int end){while (start < end && IsWhitespace(raw[start])){start++;}return start;}
// Original:
public int[] getMap() {return map;}

// Translation:
public int[] GetMap(){return (int[])map.Clone(); }
// Original:
public void set(E object) {iterator.set(object);}

// Translation:
public void set(E @object){iterator.set(@object);}
// Original:
public ModifyCurrentDBClusterCapacityResult modifyCurrentDBClusterCapacity(ModifyCurrentDBClusterCapacityRequest request) {request = beforeClientExecution(request);return executeModifyCurrentDBClusterCapacity(request);}

// Translation:
public virtual ModifyCurrentDBClusterCapacityResponse ModifyCurrentDBClusterCapacity(ModifyCurrentDBClusterCapacityRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyCurrentDBClusterCapacityRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyCurrentDBClusterCapacityResponseUnmarshaller.Instance;return Invoke<ModifyCurrentDBClusterCapacityResponse>(request, options);}
// Original:
public CancelRepoBuildRequest() {super("cr", "2016-06-07", "CancelRepoBuild", "cr");setUriPattern("/repos/[RepoNamespace]/[RepoName]/build/[BuildId]/cancel");setMethod(MethodType.POST);}

// Translation:
public CancelRepoBuildRequest(): base("cr", "2016-06-07", "CancelRepoBuild", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/build/[BuildId]/cancel";Method = MethodType.POST;}
// Original:
public LongBuffer get(long[] dst, int dstOffset, int longCount) {Arrays.checkOffsetAndCount(dst.length, dstOffset, longCount);if (longCount > remaining()) {throw new BufferUnderflowException();}for (int i = dstOffset; i < dstOffset + longCount; ++i) {dst[i] = get();}return this;}

// Translation:
public virtual java.nio.LongBuffer get(long[] dst, int dstOffset, int longCount){java.util.Arrays.checkOffsetAndCount(dst.Length, dstOffset, longCount);if (longCount > remaining()){throw new java.nio.BufferUnderflowException();}{for (int i = dstOffset; i < dstOffset + longCount; ++i){dst[i] = get();}}return this;}
// Original:
public SpreadsheetVersion getSpreadsheetVersion(){return SpreadsheetVersion.EXCEL97;}

// Translation:
public SpreadsheetVersion GetSpreadsheetVersion(){return SpreadsheetVersion.EXCEL97;}
// Original:
public boolean equals(Object obj) {if (obj instanceof Point) {Point rhs = (Point) obj;return this.x == rhs.x && this.y == rhs.y;}return false;}

// Translation:
public override bool Equals(object o){if (o is android.graphics.Point){android.graphics.Point p = (android.graphics.Point)o;return this.x == p.x && this.y == p.y;}return false;}
// Original:
public int numNodes() {return numNodes(rootNode);}

// Translation:
public virtual int NumNodes(){return NumNodes(rootNode);}
// Original:
public String toString() {return super.toString() + flags;}

// Translation:
public override string ToString(){return base.ToString() + flags;}
// Original:
public EnglishPossessiveFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

// Translation:
public EnglishPossessiveFilterFactory(IDictionary<string, string> args) : base(args){AssureMatchVersion();if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
// Original:
public static double atanh(double d) {return Math.log((1 + d)/(1 - d)) / 2;}

// Translation:
public static double Atanh(double d){return Math.Log((1 + d) / (1 - d)) / 2;}
// Original:
public WindowsIndexInput clone() {WindowsIndexInput clone = (WindowsIndexInput)super.clone();clone.isClone = true;return clone;}

// Translation:
public override WindowsIndexInput clone(){WindowsIndexInput clone = (WindowsIndexInput)base.clone();clone.isClone = true;return clone;}
// Original:
public ParseException(Token currentTokenVal,int[][] expectedTokenSequencesVal,String[] tokenImageVal){super(initialise(currentTokenVal, expectedTokenSequencesVal, tokenImageVal));currentToken = currentTokenVal;expectedTokenSequences = expectedTokenSequencesVal;tokenImage = tokenImageVal;}

// Translation:
public ParseException(Token currentToken,int[][] expectedTokenSequences,string[] tokenImage): base(Initialize(currentToken, expectedTokenSequences, tokenImage)){this.CurrentToken = currentToken;this.ExpectedTokenSequences = expectedTokenSequences;this.TokenImage = tokenImage;}
// Original:
public long getTotalATNLookaheadOps() {DecisionInfo[] decisions = atnSimulator.getDecisionInfo();long k = 0;for (int i = 0; i < decisions.length; i++) {k += decisions[i].SLL_ATNTransitions;k += decisions[i].LL_ATNTransitions;}return k;}

// Translation:
public long getTotalATNLookaheadOps(){DecisionInfo[] decisions = atnSimulator.getDecisionInfo();long k = 0;for (int i = 0; i < decisions.Length; i++){k += decisions[i].SLL_ATNTransitions;k += decisions[i].LL_ATNTransitions;}return k;}
// Original:
public synchronized StringBuffer reverse() {reverse0();return this;}

// Translation:
public java.lang.StringBuffer reverse(){lock (this){reverse0();return this;}}
// Original:
public DescribeLoadBalancersRequest(java.util.List<String> loadBalancerNames) {setLoadBalancerNames(loadBalancerNames);}

// Translation:
public DescribeLoadBalancersRequest(List<string> loadBalancerNames){_loadBalancerNames = loadBalancerNames;}
// Original:
public String toString() {return '~'+super.toString();}

// Translation:
public override string ToString(){return '~' + base.ToString();}
// Original:
public static ISignatureComposer getComposer() {if (null == composer) {composer = new RoaSignatureComposer();}return composer;}

// Translation:
public static ISignatureComposer GetComposer(){if (null == composer){composer = new RoaSignatureComposer();}return composer;}
// Original:
public boolean ready() throws IOException {synchronized (lock) {if (buf == null) {throw new IOException("Reader is closed");}return (buf.length - pos > 0 || in.ready());}}

// Translation:
public override bool ready(){lock (@lock){if (buf == null){throw new System.IO.IOException("Reader is closed");}return (buf.Length - pos > 0 || @in.ready());}}
// Original:
public GetClientCertificatesResult getClientCertificates(GetClientCertificatesRequest request) {request = beforeClientExecution(request);return executeGetClientCertificates(request);}

// Translation:
public virtual GetClientCertificatesResponse GetClientCertificates(GetClientCertificatesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetClientCertificatesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetClientCertificatesResponseUnmarshaller.Instance;return Invoke<GetClientCertificatesResponse>(request, options);}
// Original:
public static final int tagger(byte[] b, int ptr) {final int sz = b.length;if (ptr == 0)ptr += 48; while (ptr < sz) {if (b[ptr] == '\n')return -1;final int m = match(b, ptr, tagger);if (m >= 0)return m;ptr = nextLF(b, ptr);}return -1;}

// Translation:
public static int Tagger(byte[] b, int ptr){int sz = b.Length;if (ptr == 0){ptr += 48;}while (ptr < sz){if (b[ptr] == '\n'){return -1;}int m = Match(b, ptr, ObjectChecker.tagger);if (m >= 0){return m;}ptr = NextLF(b, ptr);}return -1;}
// Original:
public GetInstanceStateResult getInstanceState(GetInstanceStateRequest request) {request = beforeClientExecution(request);return executeGetInstanceState(request);}

// Translation:
public virtual GetInstanceStateResponse GetInstanceState(GetInstanceStateRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetInstanceStateRequestMarshaller.Instance;options.ResponseUnmarshaller = GetInstanceStateResponseUnmarshaller.Instance;return Invoke<GetInstanceStateResponse>(request, options);}
// Original:
public boolean isEmpty() {synchronized (mutex) {return delegate().isEmpty();}}

// Translation:
public virtual bool isEmpty(){lock (mutex){return c.isEmpty();}}
// Original:
public long getCount() {return cnt;}

// Translation:
public virtual long GetCount(){return cnt;}
// Original:
public DeleteConfigurationSetEventDestinationResult deleteConfigurationSetEventDestination(DeleteConfigurationSetEventDestinationRequest request) {request = beforeClientExecution(request);return executeDeleteConfigurationSetEventDestination(request);}

// Translation:
public virtual DeleteConfigurationSetEventDestinationResponse DeleteConfigurationSetEventDestination(DeleteConfigurationSetEventDestinationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteConfigurationSetEventDestinationRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteConfigurationSetEventDestinationResponseUnmarshaller.Instance;return Invoke<DeleteConfigurationSetEventDestinationResponse>(request, options);}
// Original:
public DeleteNetworkInterfacePermissionResult deleteNetworkInterfacePermission(DeleteNetworkInterfacePermissionRequest request) {request = beforeClientExecution(request);return executeDeleteNetworkInterfacePermission(request);}

// Translation:
public virtual DeleteNetworkInterfacePermissionResponse DeleteNetworkInterfacePermission(DeleteNetworkInterfacePermissionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteNetworkInterfacePermissionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteNetworkInterfacePermissionResponseUnmarshaller.Instance;return Invoke<DeleteNetworkInterfacePermissionResponse>(request, options);}
// Original:
public Tag(String key, String value) {this.key = key;this.value = value;}

// Translation:
public Tag(string key, string value){_key = key;_value = value;}
// Original:
public CreateTrafficMirrorTargetResult createTrafficMirrorTarget(CreateTrafficMirrorTargetRequest request) {request = beforeClientExecution(request);return executeCreateTrafficMirrorTarget(request);}

// Translation:
public virtual CreateTrafficMirrorTargetResponse CreateTrafficMirrorTarget(CreateTrafficMirrorTargetRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateTrafficMirrorTargetRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateTrafficMirrorTargetResponseUnmarshaller.Instance;return Invoke<CreateTrafficMirrorTargetResponse>(request, options);}
// Original:
public GetGroupPolicyRequest(String groupName, String policyName) {setGroupName(groupName);setPolicyName(policyName);}

// Translation:
public GetGroupPolicyRequest(string groupName, string policyName){_groupName = groupName;_policyName = policyName;}
// Original:
public DeleteVoiceChannelResult deleteVoiceChannel(DeleteVoiceChannelRequest request) {request = beforeClientExecution(request);return executeDeleteVoiceChannel(request);}

// Translation:
public virtual DeleteVoiceChannelResponse DeleteVoiceChannel(DeleteVoiceChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteVoiceChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteVoiceChannelResponseUnmarshaller.Instance;return Invoke<DeleteVoiceChannelResponse>(request, options);}
// Original:
public DBClusterSnapshotAttributesResult modifyDBClusterSnapshotAttribute(ModifyDBClusterSnapshotAttributeRequest request) {request = beforeClientExecution(request);return executeModifyDBClusterSnapshotAttribute(request);}

// Translation:
public virtual ModifyDBClusterSnapshotAttributeResponse ModifyDBClusterSnapshotAttribute(ModifyDBClusterSnapshotAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyDBClusterSnapshotAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyDBClusterSnapshotAttributeResponseUnmarshaller.Instance;return Invoke<ModifyDBClusterSnapshotAttributeResponse>(request, options);}
// Original:
public RegisterAVSDeviceResult registerAVSDevice(RegisterAVSDeviceRequest request) {request = beforeClientExecution(request);return executeRegisterAVSDevice(request);}

// Translation:
public virtual RegisterAVSDeviceResponse RegisterAVSDevice(RegisterAVSDeviceRequest request){var options = new InvokeOptions();options.RequestMarshaller = RegisterAVSDeviceRequestMarshaller.Instance;options.ResponseUnmarshaller = RegisterAVSDeviceResponseUnmarshaller.Instance;return Invoke<RegisterAVSDeviceResponse>(request, options);}
// Original:
public void setValue(char[] newValue) {clear();if (newValue != null) {value = new char[newValue.length];System.arraycopy(newValue, 0, value, 0, newValue.length);}}

// Translation:
public virtual void SetValue(char[] newValue){Clear();if (newValue != null){value = new char[newValue.Length];System.Array.Copy(newValue, 0, value, 0, newValue.Length);}}
// Original:
public int compareSameType(Object other) {assert exists || 0.0D == value;MutableValueDouble b = (MutableValueDouble)other;int c = Double.compare(value, b.value);if (c != 0) return c;if (exists == b.exists) return 0;return exists ? 1 : -1;}

// Translation:
public override int CompareSameType(object other){MutableValueDouble b = (MutableValueDouble)other;int c = Value.CompareTo(b.Value);if (c != 0){return c;}if (!Exists){return -1;}if (!b.Exists){return 1;}return 0;}
// Original:
public UpdateCodeRepositoryResult updateCodeRepository(UpdateCodeRepositoryRequest request) {request = beforeClientExecution(request);return executeUpdateCodeRepository(request);}

// Translation:
public virtual UpdateCodeRepositoryResponse UpdateCodeRepository(UpdateCodeRepositoryRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateCodeRepositoryRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateCodeRepositoryResponseUnmarshaller.Instance;return Invoke<UpdateCodeRepositoryResponse>(request, options);}
// Original:
public static FormulaError forString(String code) throws IllegalArgumentException {FormulaError err = smap.get(code);if(err == null) throw new IllegalArgumentException("Unknown error code: " + code);return err;}

// Translation:
public static FormulaError ForString(String code){if (smap.ContainsKey(code))return smap[code];throw new ArgumentException("Unknown error code: " + code);}
// Original:
public UnmonitorInstancesResult unmonitorInstances(UnmonitorInstancesRequest request) {request = beforeClientExecution(request);return executeUnmonitorInstances(request);}

// Translation:
public virtual UnmonitorInstancesResponse UnmonitorInstances(UnmonitorInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = UnmonitorInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = UnmonitorInstancesResponseUnmarshaller.Instance;return Invoke<UnmonitorInstancesResponse>(request, options);}
// Original:
public boolean isInteractive() {return false;}

// Translation:
public override bool IsInteractive(){return false;}
// Original:
public void setColor(short byteIndex, byte red, byte green, byte blue){int i = byteIndex - FIRST_COLOR_INDEX;if (i < 0 || i >= STANDARD_PALETTE_SIZE){return;}while (_colors.size() <= i) {_colors.add(new PColor(0, 0, 0));}PColor custColor = new PColor(red, green, blue);_colors.set(i, custColor);}

// Translation:
public void SetColor(short byteIndex, byte red, byte green, byte blue){int i = byteIndex - FIRST_COLOR_INDEX;if (i < 0 || i >= STANDARD_PALETTE_SIZE){return;}while (field_2_colors.Count <= i){field_2_colors.Add(new PColor((byte)0, (byte)0, (byte)0));}PColor custColor = new PColor(red, green, blue);field_2_colors[i] = custColor;}
// Original:
public boolean isUser() {return type == Type.USER;}

// Translation:
public virtual bool IsUser(){return type == JapaneseTokenizerType.USER;}
// Original:
public DeleteMeetingResult deleteMeeting(DeleteMeetingRequest request) {request = beforeClientExecution(request);return executeDeleteMeeting(request);}

// Translation:
public virtual DeleteMeetingResponse DeleteMeeting(DeleteMeetingRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteMeetingRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteMeetingResponseUnmarshaller.Instance;return Invoke<DeleteMeetingResponse>(request, options);}
// Original:
public void serializeTokens(LittleEndianOutput out) {out.write(_byteEncoding, 0, _encodedTokenLen);}

// Translation:
public void SerializeTokens(ILittleEndianOutput out1){out1.Write(_byteEncoding, 0, _encodedTokenLen);}