yijunyu/c-to-rust huggingface dataset:
// Original:
public static char[] copyOfRange(char[] original, int start, int end) {if (start > end) {throw new IllegalArgumentException();}int originalLength = original.length;if (start < 0 || start > originalLength) {throw new ArrayIndexOutOfBoundsException();}int resultLength = end - start;int copyLength = Math.min(resultLength, originalLength - start);char[] result = new char[resultLength];System.arraycopy(original, start, result, 0, copyLength);return result;}

// Translation:
public static char[] copyOfRange(char[] original, int start, int end){if (start > end){throw new System.ArgumentException();}int originalLength = original.Length;if (start < 0 || start > originalLength){throw new System.IndexOutOfRangeException();}int resultLength = end - start;int copyLength = System.Math.Min(resultLength, originalLength - start);char[] result = new char[resultLength];System.Array.Copy(original, start, result, 0, copyLength);return result;}
// Original:
public static void fill(int[] array, int value) {for (int i = 0; i < array.length; i++) {array[i] = value;}}

// Translation:
public static void fill(int[] array, int value){{for (int i = 0; i < array.Length; i++){array[i] = value;}}}
// Original:
public Class<? extends Record> peekNextClass() {if(!hasNext()) {return null;}return _list.get(_nextIndex).getClass();}

// Translation:
public Type PeekNextClass(){if (_nextIndex >= _list.Count){return null;}return _list[_nextIndex].GetType();}
// Original:
public static char[] copyOf(char[] original, int newLength) {if (newLength < 0) {throw new NegativeArraySizeException();}return copyOfRange(original, 0, newLength);}

// Translation:
public static char[] copyOf(char[] original, int newLength){if (newLength < 0){throw new java.lang.NegativeArraySizeException();}return copyOfRange(original, 0, newLength);}
// Original:
public DeleteRelationalDatabaseResult deleteRelationalDatabase(DeleteRelationalDatabaseRequest request) {request = beforeClientExecution(request);return executeDeleteRelationalDatabase(request);}

// Translation:
public virtual DeleteRelationalDatabaseResponse DeleteRelationalDatabase(DeleteRelationalDatabaseRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteRelationalDatabaseRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteRelationalDatabaseResponseUnmarshaller.Instance;return Invoke<DeleteRelationalDatabaseResponse>(request, options);}
// Original:
public boolean equals(Object obj) {if (this == obj) {return true;}if (obj == null) {return false;}if (getClass() != obj.getClass()) {return false;}WeightedPhraseInfo other = (WeightedPhraseInfo) obj;if (getStartOffset() != other.getStartOffset()) {return false;}if (getEndOffset() != other.getEndOffset()) {return false;}if (getBoost() != other.getBoost()) {return false;}return true;}

// Translation:
public override bool Equals(object obj){if (this == obj){return true;}if (obj == null){return false;}if (GetType() != obj.GetType()){return false;}WeightedPhraseInfo other = (WeightedPhraseInfo)obj;if (StartOffset != other.StartOffset){return false;}if (EndOffset != other.EndOffset){return false;}if (Boost != other.Boost){return false;}return true;}
// Original:
public boolean hasNext() {return nextBlock != POIFSConstants.END_OF_CHAIN;}

// Translation:
public bool HasNext(){if (nextBlock == POIFSConstants.END_OF_CHAIN){return false;}return true;}
// Original:
public void write(char b) {if (len >= buf.length) {resize(len +1);}unsafeWrite(b);}

// Translation:
public virtual void Write(char b){if (m_len >= m_buf.Length){Resize(m_len + 1);}UnsafeWrite(b);}
// Original:
public void serialize(LittleEndianOutput out) {futureHeader.serialize(out);out.writeShort(isf_sharedFeatureType);out.writeByte(reserved);out.writeInt((int)cbHdrData);out.write(rgbHdrData);}

// Translation:
public override void Serialize(ILittleEndianOutput out1){futureHeader.Serialize(out1);out1.WriteShort(isf_sharedFeatureType);out1.WriteByte(reserved);out1.WriteInt((int)cbHdrData);out1.Write(rgbHdrData);}
// Original:
public ListUserHierarchyGroupsResult listUserHierarchyGroups(ListUserHierarchyGroupsRequest request) {request = beforeClientExecution(request);return executeListUserHierarchyGroups(request);}

// Translation:
public virtual ListUserHierarchyGroupsResponse ListUserHierarchyGroups(ListUserHierarchyGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListUserHierarchyGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListUserHierarchyGroupsResponseUnmarshaller.Instance;return Invoke<ListUserHierarchyGroupsResponse>(request, options);}
// Original:
public GetTopicAttributesRequest(String topicArn) {setTopicArn(topicArn);}

// Translation:
public GetTopicAttributesRequest(string topicArn){_topicArn = topicArn;}
// Original:
public CreateTrafficPolicyVersionResult createTrafficPolicyVersion(CreateTrafficPolicyVersionRequest request) {request = beforeClientExecution(request);return executeCreateTrafficPolicyVersion(request);}

// Translation:
public virtual CreateTrafficPolicyVersionResponse CreateTrafficPolicyVersion(CreateTrafficPolicyVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateTrafficPolicyVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateTrafficPolicyVersionResponseUnmarshaller.Instance;return Invoke<CreateTrafficPolicyVersionResponse>(request, options);}
// Original:
@Override public boolean equals(Object object) {if (this == object) {return true;}if (object instanceof Map.Entry) {Map.Entry<?, ?> entry = (Map.Entry<?, ?>) object;return (key == null ? entry.getKey() == null : key.equals(entry.getKey()))&& (value == null ? entry.getValue() == null : value.equals(entry.getValue()));}return false;}

// Translation:
public override bool Equals(object @object){if (this == @object){return true;}if (@object is java.util.MapClass.Entry<K, V>){java.util.MapClass.Entry<object, object> entry = (java.util.MapClass.Entry<object, object>)@object;return ((object)key == null ? entry.getKey() == null : key.Equals(entry.getKey())) && ((object)value == null ? entry.getValue() == null : value.Equals(entry.getValue()));}return false;}
// Original:
public ListResourcesResult listResources(ListResourcesRequest request) {request = beforeClientExecution(request);return executeListResources(request);}

// Translation:
public virtual ListResourcesResponse ListResources(ListResourcesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListResourcesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListResourcesResponseUnmarshaller.Instance;return Invoke<ListResourcesResponse>(request, options);}
// Original:
public final V getAndSet(V newValue) {while (true) {V x = get();if (compareAndSet(x, newValue))return x;}}

// Translation:
public V getAndSet(V newValue){while(true) {V x = get ();if (compareAndSet(x, newValue))return x;}}
// Original:
public FeatHdrRecord() {futureHeader = new FtrHeader();futureHeader.setRecordType(sid);}

// Translation:
public FeatHdrRecord(){futureHeader = new FtrHeader();futureHeader.RecordType = (sid);}
// Original:
public DisassociatePhoneNumbersFromVoiceConnectorResult disassociatePhoneNumbersFromVoiceConnector(DisassociatePhoneNumbersFromVoiceConnectorRequest request) {request = beforeClientExecution(request);return executeDisassociatePhoneNumbersFromVoiceConnector(request);}

// Translation:
public virtual DisassociatePhoneNumbersFromVoiceConnectorResponse DisassociatePhoneNumbersFromVoiceConnector(DisassociatePhoneNumbersFromVoiceConnectorRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociatePhoneNumbersFromVoiceConnectorRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociatePhoneNumbersFromVoiceConnectorResponseUnmarshaller.Instance;return Invoke<DisassociatePhoneNumbersFromVoiceConnectorResponse>(request, options);}
// Original:
public ObjectId idFor(int type, byte[] data) {return idFor(type, data, 0, data.length);}

// Translation:
public virtual ObjectId IdFor(int type, byte[] data){return IdFor(type, data, 0, data.Length);}
// Original:
public void removeParseListener(ParseTreeListener listener) {if (_parseListeners != null) {if (_parseListeners.remove(listener)) {if (_parseListeners.isEmpty()) {_parseListeners = null;}}}}

// Translation:
public virtual void RemoveParseListener(IParseTreeListener listener){if (_parseListeners != null){if (_parseListeners.Remove(listener)){if (_parseListeners.Count == 0){_parseListeners = null;}}}}
// Original:
public AxisRecord(RecordInputStream in) {field_1_axisType  = in.readShort();field_2_reserved1 = in.readInt();field_3_reserved2 = in.readInt();field_4_reserved3 = in.readInt();field_5_reserved4 = in.readInt();}

// Translation:
public AxisRecord(RecordInputStream in1){field_1_axisType = in1.ReadShort();field_2_reserved1 = in1.ReadInt();field_3_reserved2 = in1.ReadInt();field_4_reserved3 = in1.ReadInt();field_5_reserved4 = in1.ReadInt();}
// Original:
public static double evaluate(double[] v) throws EvaluationException {if (v.length < 2) {throw new EvaluationException(ErrorEval.NA);}int[] counts = new int[v.length];Arrays.fill(counts, 1);for (int i = 0, iSize = v.length; i < iSize; i++) {for (int j = i + 1, jSize = v.length; j < jSize; j++) {if (v[i] == v[j])counts[i]++;}}double maxv = 0;int maxc = 0;for (int i = 0, iSize = counts.length; i < iSize; i++) {if (counts[i] > maxc) {maxv = v[i];maxc = counts[i];}}if (maxc > 1) {return maxv;}throw new EvaluationException(ErrorEval.NA);}

// Translation:
public static double Evaluate(double[] v){if (v.Length < 2){throw new EvaluationException(ErrorEval.NA);}int[] counts = new int[v.Length];Arrays.Fill(counts, 1);for (int i = 0, iSize = v.Length; i < iSize; i++){for (int j = i + 1, jSize = v.Length; j < jSize; j++){if (v[i] == v[j])counts[i]++;}}double maxv = 0;int maxc = 0;for (int i = 0, iSize = counts.Length; i < iSize; i++){if (counts[i] > maxc){maxv = v[i];maxc = counts[i];}}if (maxc > 1){return maxv;}throw new EvaluationException(ErrorEval.NA);}
// Original:
public void addFacetCount(BytesRef facetValue, int count) {if (count < currentMin) {return;}FacetEntry facetEntry = new FacetEntry(facetValue, count);if (facetEntries.size() == maxSize) {if (facetEntries.higher(facetEntry) == null) {return;}facetEntries.pollLast();}facetEntries.add(facetEntry);if (facetEntries.size() == maxSize) {currentMin = facetEntries.last().count;}}

// Translation:
public virtual void AddFacetCount(BytesRef facetValue, int count){if (count < currentMin){return;}FacetEntry facetEntry = new FacetEntry(facetValue, count);if (facetEntries.Count == maxSize){if (!facetEntries.TryGetSuccessor(facetEntry, out FacetEntry _)){return;}var max = facetEntries.Max;if (max != null)facetEntries.Remove(max);}facetEntries.Add(facetEntry);if (facetEntries.Count == maxSize){var max = facetEntries.Max;currentMin =  max != null ? max.Count : 0;}}
// Original:
public String toString(){StringBuilder buffer = new StringBuilder();String nl = System.getProperty("line.separator");buffer.append("[ftGmo]" + nl);buffer.append("  reserved = ").append(HexDump.toHex(reserved)).append(nl);buffer.append("[/ftGmo]" + nl);return buffer.toString();}

// Translation:
public override String ToString(){StringBuilder buffer = new StringBuilder();String nl = Environment.NewLine;buffer.Append("[ftGmo]" + nl);buffer.Append("  reserved = ").Append(HexDump.ToHex(reserved)).Append(nl);buffer.Append("[/ftGmo]" + nl);return buffer.ToString();}
// Original:
public String toString() {return getMode().toString() + " " + getName(); }

// Translation:
public override string ToString(){return GetMode().ToString() + " " + GetName();}
// Original:
public CharVector(int capacity) {if (capacity > 0) {blockSize = capacity;} else {blockSize = DEFAULT_BLOCK_SIZE;}array = new char[blockSize];n = 0;}

// Translation:
public CharVector(int capacity){if (capacity > 0){blockSize = capacity;}else{blockSize = DEFAULT_BLOCK_SIZE;}array = new char[blockSize];n = 0;}
// Original:
public DescribeAccountLimitsResult describeAccountLimits(DescribeAccountLimitsRequest request) {request = beforeClientExecution(request);return executeDescribeAccountLimits(request);}

// Translation:
public virtual DescribeAccountLimitsResponse DescribeAccountLimits(DescribeAccountLimitsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAccountLimitsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAccountLimitsResponseUnmarshaller.Instance;return Invoke<DescribeAccountLimitsResponse>(request, options);}
// Original:
public void removeBuiltinRecord(byte name, int sheetIndex) {linkTable.removeBuiltinRecord(name, sheetIndex);}

// Translation:
public void RemoveBuiltinRecord(byte name, int sheetIndex){linkTable.RemoveBuiltinRecord(name, sheetIndex);}
// Original:
public CreateSecurityGroupResult createSecurityGroup(CreateSecurityGroupRequest request) {request = beforeClientExecution(request);return executeCreateSecurityGroup(request);}

// Translation:
public virtual CreateSecurityGroupResponse CreateSecurityGroup(CreateSecurityGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateSecurityGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateSecurityGroupResponseUnmarshaller.Instance;return Invoke<CreateSecurityGroupResponse>(request, options);}
// Original:
public boolean equals(Object other) {return sameClassAs(other) &&equalsTo(getClass().cast(other));}

// Translation:
public override bool Equals(object o){if (!(o is DisjunctionMaxQuery)){return false;}DisjunctionMaxQuery other = (DisjunctionMaxQuery)o;return this.Boost == other.Boost&& this.tieBreakerMultiplier == other.tieBreakerMultiplier&& this.disjuncts.Equals(other.disjuncts);}
// Original:
public GetObjectInformationResult getObjectInformation(GetObjectInformationRequest request) {request = beforeClientExecution(request);return executeGetObjectInformation(request);}

// Translation:
public virtual GetObjectInformationResponse GetObjectInformation(GetObjectInformationRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetObjectInformationRequestMarshaller.Instance;options.ResponseUnmarshaller = GetObjectInformationResponseUnmarshaller.Instance;return Invoke<GetObjectInformationResponse>(request, options);}
// Original:
public StringBuffer append(long l) {IntegralToString.appendLong(this, l);return this;}

// Translation:
public java.lang.StringBuffer append(bool b){return append(b ? "true" : "false");}
// Original:
public GetIntegrationResponsesResult getIntegrationResponses(GetIntegrationResponsesRequest request) {request = beforeClientExecution(request);return executeGetIntegrationResponses(request);}

// Translation:
public virtual GetIntegrationResponsesResponse GetIntegrationResponses(GetIntegrationResponsesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetIntegrationResponsesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetIntegrationResponsesResponseUnmarshaller.Instance;return Invoke<GetIntegrationResponsesResponse>(request, options);}
// Original:
public ListDeploymentConfigsResult listDeploymentConfigs() {return listDeploymentConfigs(new ListDeploymentConfigsRequest());}

// Translation:
public virtual ListDeploymentConfigsResponse ListDeploymentConfigs(){return ListDeploymentConfigs(new ListDeploymentConfigsRequest());}
// Original:
public CellRangeAddress remove(int rangeIndex) {if (_list.isEmpty()) {throw new RuntimeException("List is empty");}if (rangeIndex < 0 || rangeIndex >= _list.size()) {throw new RuntimeException("Range index (" + rangeIndex+ ") is outside allowable range (0.." + (_list.size()-1) + ")");}return _list.remove(rangeIndex);}

// Translation:
public CellRangeAddress Remove(int rangeIndex){if (_list.Count == 0){throw new Exception("List is empty");}if (rangeIndex < 0 || rangeIndex >= _list.Count){throw new Exception("Range index (" + rangeIndex+ ") is outside allowable range (0.." + (_list.Count - 1) + ")");}CellRangeAddress cra = (CellRangeAddress)_list[rangeIndex];_list.Remove(rangeIndex);return cra;}
// Original:
public DimConfig getDimConfig(String dimName) {DimConfig ft = fieldTypes.get(dimName);if (ft == null) {ft = getDefaultDimConfig();}return ft;}

// Translation:
public virtual DimConfig GetDimConfig(string dimName){lock (this){DimConfig ft;if (!fieldTypes.TryGetValue(dimName, out ft)){ft = DefaultDimConfig;}return ft;}}
// Original:
public DescribeStackResourceDriftsResult describeStackResourceDrifts(DescribeStackResourceDriftsRequest request) {request = beforeClientExecution(request);return executeDescribeStackResourceDrifts(request);}

// Translation:
public virtual DescribeStackResourceDriftsResponse DescribeStackResourceDrifts(DescribeStackResourceDriftsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeStackResourceDriftsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeStackResourceDriftsResponseUnmarshaller.Instance;return Invoke<DescribeStackResourceDriftsResponse>(request, options);}
// Original:
public void setParams(String params) {if (!supportsParams()) {throw new UnsupportedOperationException(getName()+" does not support command line parameters.");}this.params = params;}

// Translation:
public virtual void SetParams(string @params){if (!SupportsParams){throw new NotSupportedException(GetName() + " does not support command line parameters.");}this.m_params = @params;}
// Original:
public DescribeRepositoryAssociationResult describeRepositoryAssociation(DescribeRepositoryAssociationRequest request) {request = beforeClientExecution(request);return executeDescribeRepositoryAssociation(request);}

// Translation:
public virtual DescribeRepositoryAssociationResponse DescribeRepositoryAssociation(DescribeRepositoryAssociationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeRepositoryAssociationRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeRepositoryAssociationResponseUnmarshaller.Instance;return Invoke<DescribeRepositoryAssociationResponse>(request, options);}
// Original:
public synchronized Enumeration<V> elements() {return new ValueEnumeration();}

// Translation:
public override java.util.Enumeration<V> elements(){lock (this){return new java.util.Hashtable<K, V>.ValueEnumeration(this);}}
// Original:
public void set(int index, long value) {final int o = index >>> 4;final int b = index & 15;final int shift = b << 2;blocks[o] = (blocks[o] & ~(15L << shift)) | (value << shift);}

// Translation:
public override void Set(int index, long value){int o = (int)((uint)index >> 4);int b = index & 15;int shift = b << 2;blocks[o] = (blocks[o] & ~(15L << shift)) | (value << shift);}
// Original:
public HTMLStripCharFilterFactory(Map<String,String> args) {super(args);escapedTags = getSet(args, "escapedTags");if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

// Translation:
public HTMLStripCharFilterFactory(IDictionary<string, string> args) : base(args){escapedTags = GetSet(args, "escapedTags");if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
// Original:
public int getEntryPathLength() {return pathLen;}

// Translation:
public virtual int GetEntryPathLength(){return pathLen;}
// Original:
public void serialize(LittleEndianOutput out) {out.writeShort(field_1_option_flag);out.writeShort(field_2_ixals);out.writeShort(field_3_not_used);out.writeByte(field_4_name.length());StringUtil.writeUnicodeStringFlagAndData(out, field_4_name);if(!isOLELink() && !isStdDocumentNameIdentifier()){if(isAutomaticLink()){if(_ddeValues != null) {out.writeByte(_nColumns-1);out.writeShort(_nRows-1);ConstantValueParser.encode(out, _ddeValues);}} else {field_5_name_definition.serialize(out);}}}

// Translation:
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_1_option_flag);out1.WriteShort(field_2_ixals);out1.WriteShort(field_3_not_used);out1.WriteByte(field_4_name.Length);StringUtil.WriteUnicodeStringFlagAndData(out1, field_4_name);if (!IsOLELink && !IsStdDocumentNameIdentifier){if (IsAutomaticLink){if (_ddeValues != null){out1.WriteByte(_nColumns - 1);out1.WriteShort(_nRows - 1);ConstantValueParser.Encode(out1, _ddeValues);}}else{field_5_name_definition.Serialize(out1);}}}
// Original:
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[REFRESHALL]\n");buffer.append("    .options      = ").append(HexDump.shortToHex(_options)).append("\n");buffer.append("[/REFRESHALL]\n");return buffer.toString();}

// Translation:
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[REFRESHALL]\n");buffer.Append("    .refreshall      = ").Append(RefreshAll).Append("\n");buffer.Append("[/REFRESHALL]\n");return buffer.ToString();}
// Original:
public ContinueDeploymentResult continueDeployment(ContinueDeploymentRequest request) {request = beforeClientExecution(request);return executeContinueDeployment(request);}

// Translation:
public virtual ContinueDeploymentResponse ContinueDeployment(ContinueDeploymentRequest request){var options = new InvokeOptions();options.RequestMarshaller = ContinueDeploymentRequestMarshaller.Instance;options.ResponseUnmarshaller = ContinueDeploymentResponseUnmarshaller.Instance;return Invoke<ContinueDeploymentResponse>(request, options);}
// Original:
public void set(int index, long value) {final int o = index / 3;final int b = index % 3;final int shift = b * 21;blocks[o] = (blocks[o] & ~(2097151L << shift)) | (value << shift);}

// Translation:
public override void Set(int index, long value){int o = index / 3;int b = index % 3;int shift = b * 21;blocks[o] = (blocks[o] & ~(2097151L << shift)) | (value << shift);}
// Original:
public long next() throws IOException {if (ord == valueCount) {throw new EOFException();}if (off == blockSize) {refill();}final long value = values[off++];++ord;return value;}

// Translation:
public long Next(){if (ord == valueCount){throw new System.IO.EndOfStreamException();}if (off == blockSize){Refill();}long value = values[off++];++ord;return value;}
// Original:
public static final RevFilter between(Date since, Date until) {return between(since.getTime(), until.getTime());}

// Translation:
public static RevFilter Between(DateTime since, DateTime until){return Between(since.GetTime(), until.GetTime());}
// Original:
public DeleteVaultResult deleteVault(DeleteVaultRequest request) {request = beforeClientExecution(request);return executeDeleteVault(request);}

// Translation:
public virtual DeleteVaultResponse DeleteVault(DeleteVaultRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteVaultRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteVaultResponseUnmarshaller.Instance;return Invoke<DeleteVaultResponse>(request, options);}
// Original:
public final void reset() {it = cachedStates.getStates();}

// Translation:
public override sealed void Reset(){it = cachedStates.GetEnumerator();}
// Original:
public void setDetachingSymbolicRef() {detachingSymbolicRef = true;}

// Translation:
public virtual void SetDetachingSymbolicRef(){detachingSymbolicRef = true;}
// Original:
public ModifyIdentityIdFormatResult modifyIdentityIdFormat(ModifyIdentityIdFormatRequest request) {request = beforeClientExecution(request);return executeModifyIdentityIdFormat(request);}

// Translation:
public virtual ModifyIdentityIdFormatResponse ModifyIdentityIdFormat(ModifyIdentityIdFormatRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyIdentityIdFormatRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyIdentityIdFormatResponseUnmarshaller.Instance;return Invoke<ModifyIdentityIdFormatResponse>(request, options);}
// Original:
public void addException(String word, ArrayList<Object> hyphenatedword) {stoplist.put(word, hyphenatedword);}

// Translation:
public virtual void AddException(string word, IList<object> hyphenatedword){m_stoplist[word] = hyphenatedword;}