public SheetRefEvaluator getSheetEvaluator(int sheetIndex) {if (sheetIndex < _firstSheetIndex || sheetIndex > _lastSheetIndex) {throw new IllegalArgumentException("Invalid SheetIndex: " + sheetIndex +" - Outside range " + _firstSheetIndex + " : " + _lastSheetIndex);}return _sheetEvaluators[sheetIndex-_firstSheetIndex];}

public SheetRefEvaluator GetSheetEvaluator(int sheetIndex){if (sheetIndex < _firstSheetIndex || sheetIndex > _lastSheetIndex){throw new ArgumentException("Invalid SheetIndex: " + sheetIndex +" - Outside range " + _firstSheetIndex + " : " + _lastSheetIndex);}return _sheetEvaluators[sheetIndex - _firstSheetIndex];}

[User] public SheetRefEvaluator getSheetEvaluator(int sheetIndex) {if (sheetIndex < _firstSheetIndex || sheetIndex > _lastSheetIndex) {throw new IllegalArgumentException("Invalid SheetIndex: " + sheetIndex +" - Outside range " + _firstSheetIndex + " : " + _lastSheetIndex);}return _sheetEvaluators[sheetIndex-_firstSheetIndex];}

[Assistant] public SheetRefEvaluator GetSheetEvaluator(int sheetIndex){if (sheetIndex < _firstSheetIndex || sheetIndex > _lastSheetIndex){throw new ArgumentException("Invalid SheetIndex: " + sheetIndex +" - Outside range " + _firstSheetIndex + " : " + _lastSheetIndex);}return _sheetEvaluators[sheetIndex - _firstSheetIndex];}


public static String[] stringToPath(String s) {List<String> parts = new ArrayList<>();int length = s.length();if (length == 0) {return new String[0];}char[] buffer = new char[length];int upto = 0;boolean lastEscape = false;for(int i=0;i<length;i++) {char ch = s.charAt(i);if (lastEscape) {buffer[upto++] = ch;lastEscape = false;} else if (ch == ESCAPE_CHAR) {lastEscape = true;} else if (ch == DELIM_CHAR) {parts.add(new String(buffer, 0, upto));upto = 0;} else {buffer[upto++] = ch;}}parts.add(new String(buffer, 0, upto));assert !lastEscape;return parts.toArray(new String[parts.size()]);}

public static string[] StringToPath(string s){IList<string> parts = new List<string>();int length = s.Length;if (length == 0){return new string[0];}char[] buffer = new char[length];int upto = 0;bool lastEscape = false;for (int i = 0; i < length; i++){char ch = s[i];if (lastEscape){buffer[upto++] = ch;lastEscape = false;}else if (ch == ESCAPE_CHAR){lastEscape = true;}else if (ch == DELIM_CHAR){parts.Add(new string(buffer, 0, upto));upto = 0;}else{buffer[upto++] = ch;}}parts.Add(new string(buffer, 0, upto));Debug.Assert(!lastEscape);return parts.ToArray();}

[User] public static String[] stringToPath(String s) {List<String> parts = new ArrayList<>();int length = s.length();if (length == 0) {return new String[0];}char[] buffer = new char[length];int upto = 0;boolean lastEscape = false;for(int i=0;i<length;i++) {char ch = s.charAt(i);if (lastEscape) {buffer[upto++] = ch;lastEscape = false;} else if (ch == ESCAPE_CHAR) {lastEscape = true;} else if (ch == DELIM_CHAR) {parts.add(new String(buffer, 0, upto));upto = 0;} else {buffer[upto++] = ch;}}parts.add(new String(buffer, 0, upto));assert !lastEscape;return parts.toArray(new String[parts.size()]);}

[Assistant] public static string[] StringToPath(string s){IList<string> parts = new List<string>();int length = s.Length;if (length == 0){return new string[0];}char[] buffer = new char[length];int upto = 0;bool lastEscape = false;for (int i = 0; i < length; i++){char ch = s[i];if (lastEscape){buffer[upto++] = ch;lastEscape = false;}else if (ch == ESCAPE_CHAR){lastEscape = true;}else if (ch == DELIM_CHAR){parts.Add(new string(buffer, 0, upto));upto = 0;}else{buffer[upto++] = ch;}}parts.Add(new string(buffer, 0, upto));Debug.Assert(!lastEscape);return parts.ToArray();}


public CreateDirectConnectGatewayResult createDirectConnectGateway(CreateDirectConnectGatewayRequest request) {request = beforeClientExecution(request);return executeCreateDirectConnectGateway(request);}

public virtual CreateDirectConnectGatewayResponse CreateDirectConnectGateway(CreateDirectConnectGatewayRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDirectConnectGatewayRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDirectConnectGatewayResponseUnmarshaller.Instance;return Invoke<CreateDirectConnectGatewayResponse>(request, options);}

[User] public CreateDirectConnectGatewayResult createDirectConnectGateway(CreateDirectConnectGatewayRequest request) {request = beforeClientExecution(request);return executeCreateDirectConnectGateway(request);}

[Assistant] public virtual CreateDirectConnectGatewayResponse CreateDirectConnectGateway(CreateDirectConnectGatewayRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDirectConnectGatewayRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDirectConnectGatewayResponseUnmarshaller.Instance;return Invoke<CreateDirectConnectGatewayResponse>(request, options);}


public GetMLModelResult getMLModel(GetMLModelRequest request) {request = beforeClientExecution(request);return executeGetMLModel(request);}

public virtual GetMLModelResponse GetMLModel(GetMLModelRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetMLModelRequestMarshaller.Instance;options.ResponseUnmarshaller = GetMLModelResponseUnmarshaller.Instance;return Invoke<GetMLModelResponse>(request, options);}

[User] public GetMLModelResult getMLModel(GetMLModelRequest request) {request = beforeClientExecution(request);return executeGetMLModel(request);}

[Assistant] public virtual GetMLModelResponse GetMLModel(GetMLModelRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetMLModelRequestMarshaller.Instance;options.ResponseUnmarshaller = GetMLModelResponseUnmarshaller.Instance;return Invoke<GetMLModelResponse>(request, options);}


public boolean isValid() {if (bytes == null) {throw new IllegalStateException("bytes is null");}if (length < 0) {throw new IllegalStateException("length is negative: " + length);}if (length > bytes.length) {throw new IllegalStateException("length is out of bounds: " + length + ",bytes.length=" + bytes.length);}if (offset < 0) {throw new IllegalStateException("offset is negative: " + offset);}if (offset > bytes.length) {throw new IllegalStateException("offset out of bounds: " + offset + ",bytes.length=" + bytes.length);}if (offset + length < 0) {throw new IllegalStateException("offset+length is negative: offset=" + offset + ",length=" + length);}if (offset + length > bytes.length) {throw new IllegalStateException("offset+length out of bounds: offset=" + offset + ",length=" + length + ",bytes.length=" + bytes.length);}return true;}

public bool IsValid(){if (Bytes == null){throw new InvalidOperationException("bytes is null");}if (Length < 0){throw new InvalidOperationException("length is negative: " + Length);}if (Length > Bytes.Length){throw new InvalidOperationException("length is out of bounds: " + Length + ",bytes.length=" + Bytes.Length);}if (Offset < 0){throw new InvalidOperationException("offset is negative: " + Offset);}if (Offset > Bytes.Length){throw new InvalidOperationException("offset out of bounds: " + Offset + ",bytes.length=" + Bytes.Length);}if (Offset + Length < 0){throw new InvalidOperationException("offset+length is negative: offset=" + Offset + ",length=" + Length);}if (Offset + Length > Bytes.Length){throw new InvalidOperationException("offset+length out of bounds: offset=" + Offset + ",length=" + Length + ",bytes.length=" + Bytes.Length);}return true;}

[User] public boolean isValid() {if (bytes == null) {throw new IllegalStateException("bytes is null");}if (length < 0) {throw new IllegalStateException("length is negative: " + length);}if (length > bytes.length) {throw new IllegalStateException("length is out of bounds: " + length + ",bytes.length=" + bytes.length);}if (offset < 0) {throw new IllegalStateException("offset is negative: " + offset);}if (offset > bytes.length) {throw new IllegalStateException("offset out of bounds: " + offset + ",bytes.length=" + bytes.length);}if (offset + length < 0) {throw new IllegalStateException("offset+length is negative: offset=" + offset + ",length=" + length);}if (offset + length > bytes.length) {throw new IllegalStateException("offset+length out of bounds: offset=" + offset + ",length=" + length + ",bytes.length=" + bytes.length);}return true;}

[Assistant] public bool IsValid(){if (Bytes == null){throw new InvalidOperationException("bytes is null");}if (Length < 0){throw new InvalidOperationException("length is negative: " + Length);}if (Length > Bytes.Length){throw new InvalidOperationException("length is out of bounds: " + Length + ",bytes.length=" + Bytes.Length);}if (Offset < 0){throw new InvalidOperationException("offset is negative: " + Offset);}if (Offset > Bytes.Length){throw new InvalidOperationException("offset out of bounds: " + Offset + ",bytes.length=" + Bytes.Length);}if (Offset + Length < 0){throw new InvalidOperationException("offset+length is negative: offset=" + Offset + ",length=" + Length);}if (Offset + Length > Bytes.Length){throw new InvalidOperationException("offset+length out of bounds: offset=" + Offset + ",length=" + Length + ",bytes.length=" + Bytes.Length);}return true;}


public String toString() {return getName();}

public override string ToString(){return Name;}

[User] public String toString() {return getName();}

[Assistant] public override string ToString(){return Name;}


public DescribeIAMPolicyAssignmentResult describeIAMPolicyAssignment(DescribeIAMPolicyAssignmentRequest request) {request = beforeClientExecution(request);return executeDescribeIAMPolicyAssignment(request);}

public virtual DescribeIAMPolicyAssignmentResponse DescribeIAMPolicyAssignment(DescribeIAMPolicyAssignmentRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeIAMPolicyAssignmentRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeIAMPolicyAssignmentResponseUnmarshaller.Instance;return Invoke<DescribeIAMPolicyAssignmentResponse>(request, options);}

[User] public DescribeIAMPolicyAssignmentResult describeIAMPolicyAssignment(DescribeIAMPolicyAssignmentRequest request) {request = beforeClientExecution(request);return executeDescribeIAMPolicyAssignment(request);}

[Assistant] public virtual DescribeIAMPolicyAssignmentResponse DescribeIAMPolicyAssignment(DescribeIAMPolicyAssignmentRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeIAMPolicyAssignmentRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeIAMPolicyAssignmentResponseUnmarshaller.Instance;return Invoke<DescribeIAMPolicyAssignmentResponse>(request, options);}


public boolean isRefLogIncludingResult() {return refLogIncludeResult;}

protected internal virtual bool IsRefLogIncludingResult(){return refLogIncludeResult;}

[User] public boolean isRefLogIncludingResult() {return refLogIncludeResult;}

[Assistant] protected internal virtual bool IsRefLogIncludingResult(){return refLogIncludeResult;}


public DeleteStreamingDistributionResult deleteStreamingDistribution(DeleteStreamingDistributionRequest request) {request = beforeClientExecution(request);return executeDeleteStreamingDistribution(request);}

public virtual DeleteStreamingDistributionResponse DeleteStreamingDistribution(DeleteStreamingDistributionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteStreamingDistributionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteStreamingDistributionResponseUnmarshaller.Instance;return Invoke<DeleteStreamingDistributionResponse>(request, options);}

[User] public DeleteStreamingDistributionResult deleteStreamingDistribution(DeleteStreamingDistributionRequest request) {request = beforeClientExecution(request);return executeDeleteStreamingDistribution(request);}

[Assistant] public virtual DeleteStreamingDistributionResponse DeleteStreamingDistribution(DeleteStreamingDistributionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteStreamingDistributionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteStreamingDistributionResponseUnmarshaller.Instance;return Invoke<DeleteStreamingDistributionResponse>(request, options);}


public RawSubStringPattern(String patternText) {if (patternText.length() == 0)throw new IllegalArgumentException(JGitText.get().cannotMatchOnEmptyString);needleString = patternText;final byte[] b = Constants.encode(patternText);needle = new byte[b.length];for (int i = 0; i < b.length; i++)needle[i] = lc(b[i]);}

public RawSubStringPattern(string patternText){if (patternText.Length == 0){throw new ArgumentException(JGitText.Get().cannotMatchOnEmptyString);}needleString = patternText;byte[] b = Constants.Encode(patternText);needle = new byte[b.Length];for (int i = 0; i < b.Length; i++){needle[i] = Lc(b[i]);}}

[User] public RawSubStringPattern(String patternText) {if (patternText.length() == 0)throw new IllegalArgumentException(JGitText.get().cannotMatchOnEmptyString);needleString = patternText;final byte[] b = Constants.encode(patternText);needle = new byte[b.length];for (int i = 0; i < b.length; i++)needle[i] = lc(b[i]);}

[Assistant] public RawSubStringPattern(string patternText){if (patternText.Length == 0){throw new ArgumentException(JGitText.Get().cannotMatchOnEmptyString);}needleString = patternText;byte[] b = Constants.Encode(patternText);needle = new byte[b.Length];for (int i = 0; i < b.Length; i++){needle[i] = Lc(b[i]);}}


public ListRulesResult listRules(ListRulesRequest request) {request = beforeClientExecution(request);return executeListRules(request);}

public virtual ListRulesResponse ListRules(ListRulesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListRulesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListRulesResponseUnmarshaller.Instance;return Invoke<ListRulesResponse>(request, options);}

[User] public ListRulesResult listRules(ListRulesRequest request) {request = beforeClientExecution(request);return executeListRules(request);}

[Assistant] public virtual ListRulesResponse ListRules(ListRulesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListRulesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListRulesResponseUnmarshaller.Instance;return Invoke<ListRulesResponse>(request, options);}


@Override public Iterator<Entry<K, V>> iterator() {final Iterator<Entry<K, V>> iterator = esDelegate.iterator();return new Iterator<Entry<K, V>>() {Entry<K, V> entry;

public override java.util.Iterator<java.util.MapClass.Entry<K, V>> iterator(){return new java.util.Hashtable<K, V>.EntryIterator(this._enclosing);}

[User] @Override public Iterator<Entry<K, V>> iterator() {final Iterator<Entry<K, V>> iterator = esDelegate.iterator();return new Iterator<Entry<K, V>>() {Entry<K, V> entry;

[Assistant] public override java.util.Iterator<java.util.MapClass.Entry<K, V>> iterator(){return new java.util.Hashtable<K, V>.EntryIterator(this._enclosing);}


public SendMessageResult sendMessage(String queueUrl, String messageBody) {return sendMessage(new SendMessageRequest().withQueueUrl(queueUrl).withMessageBody(messageBody));}

public virtual SendMessageResponse SendMessage(string queueUrl, string messageBody){var request = new SendMessageRequest();request.QueueUrl = queueUrl;request.MessageBody = messageBody;return SendMessage(request);}

[User] public SendMessageResult sendMessage(String queueUrl, String messageBody) {return sendMessage(new SendMessageRequest().withQueueUrl(queueUrl).withMessageBody(messageBody));}

[Assistant] public virtual SendMessageResponse SendMessage(string queueUrl, string messageBody){var request = new SendMessageRequest();request.QueueUrl = queueUrl;request.MessageBody = messageBody;return SendMessage(request);}


public static double getExcelDate(Date date) {return getExcelDate(date, false);}

public static double GetExcelDate(DateTime date){return GetExcelDate(date, false);}

[User] public static double getExcelDate(Date date) {return getExcelDate(date, false);}

[Assistant] public static double GetExcelDate(DateTime date){return GetExcelDate(date, false);}


public String toString() {return markedUpText.subSequence(textStartPos, textEndPos).toString();}

public override string ToString(){return markedUpText.ToString(TextStartPos, TextEndPos - TextStartPos);}

[User] public String toString() {return markedUpText.subSequence(textStartPos, textEndPos).toString();}

[Assistant] public override string ToString(){return markedUpText.ToString(TextStartPos, TextEndPos - TextStartPos);}


public ModifyInstancePlacementResult modifyInstancePlacement(ModifyInstancePlacementRequest request) {request = beforeClientExecution(request);return executeModifyInstancePlacement(request);}

public virtual ModifyInstancePlacementResponse ModifyInstancePlacement(ModifyInstancePlacementRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyInstancePlacementRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyInstancePlacementResponseUnmarshaller.Instance;return Invoke<ModifyInstancePlacementResponse>(request, options);}

[User] public ModifyInstancePlacementResult modifyInstancePlacement(ModifyInstancePlacementRequest request) {request = beforeClientExecution(request);return executeModifyInstancePlacement(request);}

[Assistant] public virtual ModifyInstancePlacementResponse ModifyInstancePlacement(ModifyInstancePlacementRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyInstancePlacementRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyInstancePlacementResponseUnmarshaller.Instance;return Invoke<ModifyInstancePlacementResponse>(request, options);}


public static String replaceOccupiedParameters(String url, Map<String, String> paths) {String result = url;for (Map.Entry<String, String> entry : paths.entrySet()) {String key = entry.getKey();String value = entry.getValue();String target = "[" + key + "]";result = result.replace(target, value);}return result;}

public static string ReplaceOccupiedParameters(string url, Dictionary<string, string> paths){var result = url;foreach (var entry in paths){var key = entry.Key;var value = entry.Value;var target = "[" + key + "]";result = result.Replace(target, value);}return result;}

[User] public static String replaceOccupiedParameters(String url, Map<String, String> paths) {String result = url;for (Map.Entry<String, String> entry : paths.entrySet()) {String key = entry.getKey();String value = entry.getValue();String target = "[" + key + "]";result = result.replace(target, value);}return result;}

[Assistant] public static string ReplaceOccupiedParameters(string url, Dictionary<string, string> paths){var result = url;foreach (var entry in paths){var key = entry.Key;var value = entry.Value;var target = "[" + key + "]";result = result.Replace(target, value);}return result;}


public String toString() {return "<matchAllDocs field='*' term='*'/>";}

public override string ToString(){return "<matchAllDocs field='*' term='*'/>";}

[User] public String toString() {return "<matchAllDocs field='*' term='*'/>";}

[Assistant] public override string ToString(){return "<matchAllDocs field='*' term='*'/>";}


public DeleteMetricFilterRequest(String logGroupName, String filterName) {setLogGroupName(logGroupName);setFilterName(filterName);}

public DeleteMetricFilterRequest(string logGroupName, string filterName){_logGroupName = logGroupName;_filterName = filterName;}

[User] public DeleteMetricFilterRequest(String logGroupName, String filterName) {setLogGroupName(logGroupName);setFilterName(filterName);}

[Assistant] public DeleteMetricFilterRequest(string logGroupName, string filterName){_logGroupName = logGroupName;_filterName = filterName;}


public char readChar() throws IOException {return primitiveTypes.readChar();}

public virtual char readChar(){throw new System.NotImplementedException();}

[User] public char readChar() throws IOException {return primitiveTypes.readChar();}

[Assistant] public virtual char readChar(){throw new System.NotImplementedException();}


public DescribeInstanceStatusResult describeInstanceStatus(DescribeInstanceStatusRequest request) {request = beforeClientExecution(request);return executeDescribeInstanceStatus(request);}

public virtual DescribeInstanceStatusResponse DescribeInstanceStatus(DescribeInstanceStatusRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeInstanceStatusRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeInstanceStatusResponseUnmarshaller.Instance;return Invoke<DescribeInstanceStatusResponse>(request, options);}

[User] public DescribeInstanceStatusResult describeInstanceStatus(DescribeInstanceStatusRequest request) {request = beforeClientExecution(request);return executeDescribeInstanceStatus(request);}

[Assistant] public virtual DescribeInstanceStatusResponse DescribeInstanceStatus(DescribeInstanceStatusRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeInstanceStatusRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeInstanceStatusResponseUnmarshaller.Instance;return Invoke<DescribeInstanceStatusResponse>(request, options);}


public BatchDeleteAttributesResult batchDeleteAttributes(BatchDeleteAttributesRequest request) {request = beforeClientExecution(request);return executeBatchDeleteAttributes(request);}

public virtual BatchDeleteAttributesResponse BatchDeleteAttributes(BatchDeleteAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchDeleteAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchDeleteAttributesResponseUnmarshaller.Instance;return Invoke<BatchDeleteAttributesResponse>(request, options);}

[User] public BatchDeleteAttributesResult batchDeleteAttributes(BatchDeleteAttributesRequest request) {request = beforeClientExecution(request);return executeBatchDeleteAttributes(request);}

[Assistant] public virtual BatchDeleteAttributesResponse BatchDeleteAttributes(BatchDeleteAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchDeleteAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchDeleteAttributesResponseUnmarshaller.Instance;return Invoke<BatchDeleteAttributesResponse>(request, options);}


public String toString() {return "<fieldconfig name=\"" + this.fieldName + "\" configurations=\""+ super.toString() + "\"/>";}

public override string ToString(){return "<fieldconfig name=\"" + this.fieldName + "\" configurations=\""+ base.ToString() + "\"/>";}

[User] public String toString() {return "<fieldconfig name=\"" + this.fieldName + "\" configurations=\""+ super.toString() + "\"/>";}

[Assistant] public override string ToString(){return "<fieldconfig name=\"" + this.fieldName + "\" configurations=\""+ base.ToString() + "\"/>";}


public ListDeploymentGroupsResult listDeploymentGroups(ListDeploymentGroupsRequest request) {request = beforeClientExecution(request);return executeListDeploymentGroups(request);}

public virtual ListDeploymentGroupsResponse ListDeploymentGroups(ListDeploymentGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDeploymentGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDeploymentGroupsResponseUnmarshaller.Instance;return Invoke<ListDeploymentGroupsResponse>(request, options);}

[User] public ListDeploymentGroupsResult listDeploymentGroups(ListDeploymentGroupsRequest request) {request = beforeClientExecution(request);return executeListDeploymentGroups(request);}

[Assistant] public virtual ListDeploymentGroupsResponse ListDeploymentGroups(ListDeploymentGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDeploymentGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDeploymentGroupsResponseUnmarshaller.Instance;return Invoke<ListDeploymentGroupsResponse>(request, options);}


[User] public CellGeneralFormatter() {this(LocaleUtil.getUserLocale());}

[Assistant] public CellGeneralFormatter(): base("General"){;}


public BloomFilteredTerms(Terms terms, FuzzySet filter) {this.delegateTerms = terms;this.filter = filter;}

public BloomFilteredTerms(Terms terms, FuzzySet filter){_delegateTerms = terms;_filter = filter;}

[User] public BloomFilteredTerms(Terms terms, FuzzySet filter) {this.delegateTerms = terms;this.filter = filter;}

[Assistant] public BloomFilteredTerms(Terms terms, FuzzySet filter){_delegateTerms = terms;_filter = filter;}


public int numBits(int idx) {return bytes[idx].bits;}

public virtual int NumBits(int idx){return bytes[idx].Bits;}

[User] public int numBits(int idx) {return bytes[idx].bits;}

[Assistant] public virtual int NumBits(int idx){return bytes[idx].Bits;}


public boolean equals(Object obj) {if (obj == this) {return true;}else if (!(obj instanceof LexerChannelAction)) {return false;}return channel == ((LexerChannelAction)obj).channel;}

public override bool Equals(object obj){if (obj == this){return true;}else{if (!(obj is Antlr4.Runtime.Atn.LexerChannelAction)){return false;}}return channel == ((Antlr4.Runtime.Atn.LexerChannelAction)obj).channel;}

[User] public boolean equals(Object obj) {if (obj == this) {return true;}else if (!(obj instanceof LexerChannelAction)) {return false;}return channel == ((LexerChannelAction)obj).channel;}

[Assistant] public override bool Equals(object obj){if (obj == this){return true;}else{if (!(obj is Antlr4.Runtime.Atn.LexerChannelAction)){return false;}}return channel == ((Antlr4.Runtime.Atn.LexerChannelAction)obj).channel;}


public void write(LittleEndianOutput out) {out.writeByte(sid + getPtgClass());out.writeShort(getValue());}

public override void Write(ILittleEndianOutput out1){out1.WriteByte(sid + PtgClass);out1.WriteShort(Value);}

[User] public void write(LittleEndianOutput out) {out.writeByte(sid + getPtgClass());out.writeShort(getValue());}

[Assistant] public override void Write(ILittleEndianOutput out1){out1.WriteByte(sid + PtgClass);out1.WriteShort(Value);}


public ExecuteChangeSetResult executeChangeSet(ExecuteChangeSetRequest request) {request = beforeClientExecution(request);return executeExecuteChangeSet(request);}

public virtual ExecuteChangeSetResponse ExecuteChangeSet(ExecuteChangeSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = ExecuteChangeSetRequestMarshaller.Instance;options.ResponseUnmarshaller = ExecuteChangeSetResponseUnmarshaller.Instance;return Invoke<ExecuteChangeSetResponse>(request, options);}

[User] public ExecuteChangeSetResult executeChangeSet(ExecuteChangeSetRequest request) {request = beforeClientExecution(request);return executeExecuteChangeSet(request);}

[Assistant] public virtual ExecuteChangeSetResponse ExecuteChangeSet(ExecuteChangeSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = ExecuteChangeSetRequestMarshaller.Instance;options.ResponseUnmarshaller = ExecuteChangeSetResponseUnmarshaller.Instance;return Invoke<ExecuteChangeSetResponse>(request, options);}


public StartInstanceResult startInstance(StartInstanceRequest request) {request = beforeClientExecution(request);return executeStartInstance(request);}

public virtual StartInstanceResponse StartInstance(StartInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = StartInstanceResponseUnmarshaller.Instance;return Invoke<StartInstanceResponse>(request, options);}

[User] public StartInstanceResult startInstance(StartInstanceRequest request) {request = beforeClientExecution(request);return executeStartInstance(request);}

[Assistant] public virtual StartInstanceResponse StartInstance(StartInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = StartInstanceResponseUnmarshaller.Instance;return Invoke<StartInstanceResponse>(request, options);}


public CapitalizationFilterFactory(Map<String, String> args) {super(args);boolean ignoreCase = getBoolean(args, KEEP_IGNORE_CASE, false);Set<String> k = getSet(args, KEEP);if (k != null) {keep = new CharArraySet(10, ignoreCase);keep.addAll(k);}k = getSet(args, OK_PREFIX);if (k != null) {okPrefix = new ArrayList<>();for (String item : k) {okPrefix.add(item.toCharArray());}}minWordLength = getInt(args, MIN_WORD_LENGTH, 0);maxWordCount = getInt(args, MAX_WORD_COUNT, CapitalizationFilter.DEFAULT_MAX_WORD_COUNT);maxTokenLength = getInt(args, MAX_TOKEN_LENGTH, CapitalizationFilter.DEFAULT_MAX_TOKEN_LENGTH);onlyFirstWord = getBoolean(args, ONLY_FIRST_WORD, true);forceFirstLetter = getBoolean(args, FORCE_FIRST_LETTER, true);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

public CapitalizationFilterFactory(IDictionary<string, string> args): base(args){AssureMatchVersion();bool ignoreCase = GetBoolean(args, KEEP_IGNORE_CASE, false);ICollection<string> k = GetSet(args, KEEP);if (k != null){keep = new CharArraySet(m_luceneMatchVersion, 10, ignoreCase);keep.UnionWith(k);}k = GetSet(args, OK_PREFIX);if (k != null){okPrefix = new List<char[]>();foreach (string item in k){okPrefix.Add(item.ToCharArray());}}minWordLength = GetInt32(args, MIN_WORD_LENGTH, 0);maxWordCount = GetInt32(args, MAX_WORD_COUNT, CapitalizationFilter.DEFAULT_MAX_WORD_COUNT);maxTokenLength = GetInt32(args, MAX_TOKEN_LENGTH, CapitalizationFilter.DEFAULT_MAX_TOKEN_LENGTH);onlyFirstWord = GetBoolean(args, ONLY_FIRST_WORD, true);forceFirstLetter = GetBoolean(args, FORCE_FIRST_LETTER, true);culture = GetCulture(args, CULTURE, null);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}

[User] public CapitalizationFilterFactory(Map<String, String> args) {super(args);boolean ignoreCase = getBoolean(args, KEEP_IGNORE_CASE, false);Set<String> k = getSet(args, KEEP);if (k != null) {keep = new CharArraySet(10, ignoreCase);keep.addAll(k);}k = getSet(args, OK_PREFIX);if (k != null) {okPrefix = new ArrayList<>();for (String item : k) {okPrefix.add(item.toCharArray());}}minWordLength = getInt(args, MIN_WORD_LENGTH, 0);maxWordCount = getInt(args, MAX_WORD_COUNT, CapitalizationFilter.DEFAULT_MAX_WORD_COUNT);maxTokenLength = getInt(args, MAX_TOKEN_LENGTH, CapitalizationFilter.DEFAULT_MAX_TOKEN_LENGTH);onlyFirstWord = getBoolean(args, ONLY_FIRST_WORD, true);forceFirstLetter = getBoolean(args, FORCE_FIRST_LETTER, true);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

[Assistant] public CapitalizationFilterFactory(IDictionary<string, string> args): base(args){AssureMatchVersion();bool ignoreCase = GetBoolean(args, KEEP_IGNORE_CASE, false);ICollection<string> k = GetSet(args, KEEP);if (k != null){keep = new CharArraySet(m_luceneMatchVersion, 10, ignoreCase);keep.UnionWith(k);}k = GetSet(args, OK_PREFIX);if (k != null){okPrefix = new List<char[]>();foreach (string item in k){okPrefix.Add(item.ToCharArray());}}minWordLength = GetInt32(args, MIN_WORD_LENGTH, 0);maxWordCount = GetInt32(args, MAX_WORD_COUNT, CapitalizationFilter.DEFAULT_MAX_WORD_COUNT);maxTokenLength = GetInt32(args, MAX_TOKEN_LENGTH, CapitalizationFilter.DEFAULT_MAX_TOKEN_LENGTH);onlyFirstWord = GetBoolean(args, ONLY_FIRST_WORD, true);forceFirstLetter = GetBoolean(args, FORCE_FIRST_LETTER, true);culture = GetCulture(args, CULTURE, null);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}


public static long[] copyOf(long[] original, int newLength) {if (newLength < 0) {throw new NegativeArraySizeException();}return copyOfRange(original, 0, newLength);}

public static long[] copyOf(long[] original, int newLength){if (newLength < 0){throw new java.lang.NegativeArraySizeException();}return copyOfRange(original, 0, newLength);}

[User] public static long[] copyOf(long[] original, int newLength) {if (newLength < 0) {throw new NegativeArraySizeException();}return copyOfRange(original, 0, newLength);}

[Assistant] public static long[] copyOf(long[] original, int newLength){if (newLength < 0){throw new java.lang.NegativeArraySizeException();}return copyOfRange(original, 0, newLength);}


public String toString() {return ref.toString();}

public override string ToString(){return this.@ref.ToString();}

[User] public String toString() {return ref.toString();}

[Assistant] public override string ToString(){return this.@ref.ToString();}


public ListNetworksResult listNetworks(ListNetworksRequest request) {request = beforeClientExecution(request);return executeListNetworks(request);}

public virtual ListNetworksResponse ListNetworks(ListNetworksRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListNetworksRequestMarshaller.Instance;options.ResponseUnmarshaller = ListNetworksResponseUnmarshaller.Instance;return Invoke<ListNetworksResponse>(request, options);}

[User] public ListNetworksResult listNetworks(ListNetworksRequest request) {request = beforeClientExecution(request);return executeListNetworks(request);}

[Assistant] public virtual ListNetworksResponse ListNetworks(ListNetworksRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListNetworksRequestMarshaller.Instance;options.ResponseUnmarshaller = ListNetworksResponseUnmarshaller.Instance;return Invoke<ListNetworksResponse>(request, options);}


public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0) {ValueEval arg = arg0;if (arg instanceof RefEval) {RefEval re = (RefEval)arg;arg = re.getInnerValueEval(re.getFirstSheetIndex());} else if (arg instanceof AreaEval) {arg = ((AreaEval) arg).getRelativeValue(0, 0);}if (arg instanceof StringEval) {return arg;}if (arg instanceof ErrorEval) {return arg;}return StringEval.EMPTY_INSTANCE;}

public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0){ValueEval arg = arg0;if (arg is RefEval){RefEval re = (RefEval)arg;arg = re.GetInnerValueEval(re.FirstSheetIndex);}else if (arg is AreaEval){arg = ((AreaEval)arg).GetRelativeValue(0, 0);}if (arg is StringEval){return arg;}if (arg is ErrorEval){return arg;}return StringEval.EMPTY_INSTANCE;}

[User] public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0) {ValueEval arg = arg0;if (arg instanceof RefEval) {RefEval re = (RefEval)arg;arg = re.getInnerValueEval(re.getFirstSheetIndex());} else if (arg instanceof AreaEval) {arg = ((AreaEval) arg).getRelativeValue(0, 0);}if (arg instanceof StringEval) {return arg;}if (arg instanceof ErrorEval) {return arg;}return StringEval.EMPTY_INSTANCE;}

[Assistant] public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0){ValueEval arg = arg0;if (arg is RefEval){RefEval re = (RefEval)arg;arg = re.GetInnerValueEval(re.FirstSheetIndex);}else if (arg is AreaEval){arg = ((AreaEval)arg).GetRelativeValue(0, 0);}if (arg is StringEval){return arg;}if (arg is ErrorEval){return arg;}return StringEval.EMPTY_INSTANCE;}


public StopNotebookInstanceResult stopNotebookInstance(StopNotebookInstanceRequest request) {request = beforeClientExecution(request);return executeStopNotebookInstance(request);}

public virtual StopNotebookInstanceResponse StopNotebookInstance(StopNotebookInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopNotebookInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = StopNotebookInstanceResponseUnmarshaller.Instance;return Invoke<StopNotebookInstanceResponse>(request, options);}

[User] public StopNotebookInstanceResult stopNotebookInstance(StopNotebookInstanceRequest request) {request = beforeClientExecution(request);return executeStopNotebookInstance(request);}

[Assistant] public virtual StopNotebookInstanceResponse StopNotebookInstance(StopNotebookInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopNotebookInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = StopNotebookInstanceResponseUnmarshaller.Instance;return Invoke<StopNotebookInstanceResponse>(request, options);}


public void applyFont(int startIndex, int endIndex, short fontIndex) {if (startIndex > endIndex)throw new IllegalArgumentException("Start index must be less than end index.");if (startIndex < 0 || endIndex > length())throw new IllegalArgumentException("Start and end index not in range.");if (startIndex == endIndex)return;short currentFont = NO_FONT;if (endIndex != length()) {currentFont = this.getFontAtIndex(endIndex);}_string = cloneStringIfRequired();Iterator<FormatRun> formatting = _string.formatIterator();if (formatting != null) {while (formatting.hasNext()) {FormatRun r = formatting.next();if ((r.getCharacterPos() >= startIndex) && (r.getCharacterPos() < endIndex))formatting.remove();}}_string.addFormatRun(new FormatRun((short)startIndex, fontIndex));if (endIndex != length())_string.addFormatRun(new FormatRun((short)endIndex, currentFont));addToSSTIfRequired();}

public void ApplyFont(int startIndex, int endIndex, short fontIndex){if (startIndex > endIndex)throw new ArgumentException("Start index must be less than end index.");if (startIndex < 0 || endIndex > Length)throw new ArgumentException("Start and end index not in range.");if (startIndex == endIndex)return;short currentFont = NO_FONT;if (endIndex != Length){currentFont = this.GetFontAtIndex(endIndex);}_string = CloneStringIfRequired();System.Collections.Generic.List<UnicodeString.FormatRun> formatting = _string.FormatIterator();ArrayList deletedFR = new ArrayList();if (formatting != null){IEnumerator<UnicodeString.FormatRun> formats = formatting.GetEnumerator();while (formats.MoveNext()){UnicodeString.FormatRun r = formats.Current;if ((r.CharacterPos >= startIndex) && (r.CharacterPos < endIndex)){deletedFR.Add(r);}}}foreach (UnicodeString.FormatRun fr in deletedFR){_string.RemoveFormatRun(fr);}_string.AddFormatRun(new UnicodeString.FormatRun((short)startIndex, fontIndex));if (endIndex != Length)_string.AddFormatRun(new UnicodeString.FormatRun((short)endIndex, currentFont));AddToSSTIfRequired();}

[User] public void applyFont(int startIndex, int endIndex, short fontIndex) {if (startIndex > endIndex)throw new IllegalArgumentException("Start index must be less than end index.");if (startIndex < 0 || endIndex > length())throw new IllegalArgumentException("Start and end index not in range.");if (startIndex == endIndex)return;short currentFont = NO_FONT;if (endIndex != length()) {currentFont = this.getFontAtIndex(endIndex);}_string = cloneStringIfRequired();Iterator<FormatRun> formatting = _string.formatIterator();if (formatting != null) {while (formatting.hasNext()) {FormatRun r = formatting.next();if ((r.getCharacterPos() >= startIndex) && (r.getCharacterPos() < endIndex))formatting.remove();}}_string.addFormatRun(new FormatRun((short)startIndex, fontIndex));if (endIndex != length())_string.addFormatRun(new FormatRun((short)endIndex, currentFont));addToSSTIfRequired();}

[Assistant] public void ApplyFont(int startIndex, int endIndex, short fontIndex){if (startIndex > endIndex)throw new ArgumentException("Start index must be less than end index.");if (startIndex < 0 || endIndex > Length)throw new ArgumentException("Start and end index not in range.");if (startIndex == endIndex)return;short currentFont = NO_FONT;if (endIndex != Length){currentFont = this.GetFontAtIndex(endIndex);}_string = CloneStringIfRequired();System.Collections.Generic.List<UnicodeString.FormatRun> formatting = _string.FormatIterator();ArrayList deletedFR = new ArrayList();if (formatting != null){IEnumerator<UnicodeString.FormatRun> formats = formatting.GetEnumerator();while (formats.MoveNext()){UnicodeString.FormatRun r = formats.Current;if ((r.CharacterPos >= startIndex) && (r.CharacterPos < endIndex)){deletedFR.Add(r);}}}foreach (UnicodeString.FormatRun fr in deletedFR){_string.RemoveFormatRun(fr);}_string.AddFormatRun(new UnicodeString.FormatRun((short)startIndex, fontIndex));if (endIndex != Length)_string.AddFormatRun(new UnicodeString.FormatRun((short)endIndex, currentFont));AddToSSTIfRequired();}


public int readInt() throws IOException {return primitiveTypes.readInt();}

public virtual int readInt(){throw new System.NotImplementedException();}

[User] public int readInt() throws IOException {return primitiveTypes.readInt();}

[Assistant] public virtual int readInt(){throw new System.NotImplementedException();}


public Iterable<RevCommit> call() throws GitAPIException, NoHeadException {checkCallable();List<TreeFilter> filters = new ArrayList<>();if (!pathFilters.isEmpty()) {filters.add(AndTreeFilter.create(PathFilterGroup.create(pathFilters), TreeFilter.ANY_DIFF));}if (!excludeTreeFilters.isEmpty()) {for (TreeFilter f : excludeTreeFilters) {filters.add(AndTreeFilter.create(f, TreeFilter.ANY_DIFF));}}if (!filters.isEmpty()) {if (filters.size() == 1) {filters.add(TreeFilter.ANY_DIFF);}walk.setTreeFilter(AndTreeFilter.create(filters));}if (skip > -1 && maxCount > -1)walk.setRevFilter(AndRevFilter.create(SkipRevFilter.create(skip),MaxCountRevFilter.create(maxCount)));else if (skip > -1)walk.setRevFilter(SkipRevFilter.create(skip));else if (maxCount > -1)walk.setRevFilter(MaxCountRevFilter.create(maxCount));if (!startSpecified) {try {ObjectId headId = repo.resolve(Constants.HEAD);if (headId == null)throw new NoHeadException(JGitText.get().noHEADExistsAndNoExplicitStartingRevisionWasSpecified);add(headId);} catch (IOException e) {throw new JGitInternalException(JGitText.get().anExceptionOccurredWhileTryingToAddTheIdOfHEAD,e);}}if (this.revFilter != null) {walk.setRevFilter(this.revFilter);}setCallable(false);return walk;}

public override Iterable<RevCommit> Call(){CheckCallable();if (pathFilters.Count > 0){walk.SetTreeFilter(AndTreeFilter.Create(PathFilterGroup.Create(pathFilters), TreeFilter.ANY_DIFF));}if (skip > -1 && maxCount > -1){walk.SetRevFilter(AndRevFilter.Create(SkipRevFilter.Create(skip), MaxCountRevFilter.Create(maxCount)));}else{if (skip > -1){walk.SetRevFilter(SkipRevFilter.Create(skip));}else{if (maxCount > -1){walk.SetRevFilter(MaxCountRevFilter.Create(maxCount));}}}if (!startSpecified){try{ObjectId headId = repo.Resolve(Constants.HEAD);if (headId == null){throw new NoHeadException(JGitText.Get().noHEADExistsAndNoExplicitStartingRevisionWasSpecified);}Add(headId);}catch (IOException e){throw new JGitInternalException(JGitText.Get().anExceptionOccurredWhileTryingToAddTheIdOfHEAD, e);}}SetCallable(false);return walk;}

[User] public Iterable<RevCommit> call() throws GitAPIException, NoHeadException {checkCallable();List<TreeFilter> filters = new ArrayList<>();if (!pathFilters.isEmpty()) {filters.add(AndTreeFilter.create(PathFilterGroup.create(pathFilters), TreeFilter.ANY_DIFF));}if (!excludeTreeFilters.isEmpty()) {for (TreeFilter f : excludeTreeFilters) {filters.add(AndTreeFilter.create(f, TreeFilter.ANY_DIFF));}}if (!filters.isEmpty()) {if (filters.size() == 1) {filters.add(TreeFilter.ANY_DIFF);}walk.setTreeFilter(AndTreeFilter.create(filters));}if (skip > -1 && maxCount > -1)walk.setRevFilter(AndRevFilter.create(SkipRevFilter.create(skip),MaxCountRevFilter.create(maxCount)));else if (skip > -1)walk.setRevFilter(SkipRevFilter.create(skip));else if (maxCount > -1)walk.setRevFilter(MaxCountRevFilter.create(maxCount));if (!startSpecified) {try {ObjectId headId = repo.resolve(Constants.HEAD);if (headId == null)throw new NoHeadException(JGitText.get().noHEADExistsAndNoExplicitStartingRevisionWasSpecified);add(headId);} catch (IOException e) {throw new JGitInternalException(JGitText.get().anExceptionOccurredWhileTryingToAddTheIdOfHEAD,e);}}if (this.revFilter != null) {walk.setRevFilter(this.revFilter);}setCallable(false);return walk;}

[Assistant] public override Iterable<RevCommit> Call(){CheckCallable();if (pathFilters.Count > 0){walk.SetTreeFilter(AndTreeFilter.Create(PathFilterGroup.Create(pathFilters), TreeFilter.ANY_DIFF));}if (skip > -1 && maxCount > -1){walk.SetRevFilter(AndRevFilter.Create(SkipRevFilter.Create(skip), MaxCountRevFilter.Create(maxCount)));}else{if (skip > -1){walk.SetRevFilter(SkipRevFilter.Create(skip));}else{if (maxCount > -1){walk.SetRevFilter(MaxCountRevFilter.Create(maxCount));}}}if (!startSpecified){try{ObjectId headId = repo.Resolve(Constants.HEAD);if (headId == null){throw new NoHeadException(JGitText.Get().noHEADExistsAndNoExplicitStartingRevisionWasSpecified);}Add(headId);}catch (IOException e){throw new JGitInternalException(JGitText.Get().anExceptionOccurredWhileTryingToAddTheIdOfHEAD, e);}}SetCallable(false);return walk;}


public HyphenationCompoundWordTokenFilterFactory(Map<String, String> args) {super(args);dictFile = get(args, "dictionary");encoding = get(args, "encoding");hypFile = require(args, "hyphenator");minWordSize = getInt(args, "minWordSize", CompoundWordTokenFilterBase.DEFAULT_MIN_WORD_SIZE);minSubwordSize = getInt(args, "minSubwordSize", CompoundWordTokenFilterBase.DEFAULT_MIN_SUBWORD_SIZE);maxSubwordSize = getInt(args, "maxSubwordSize", CompoundWordTokenFilterBase.DEFAULT_MAX_SUBWORD_SIZE);onlyLongestMatch = getBoolean(args, "onlyLongestMatch", false);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

public HyphenationCompoundWordTokenFilterFactory(IDictionary<string, string> args) : base(args){AssureMatchVersion();dictFile = Get(args, "dictionary");encoding = Get(args, "encoding");hypFile = Require(args, "hyphenator");minWordSize = GetInt32(args, "minWordSize", CompoundWordTokenFilterBase.DEFAULT_MIN_WORD_SIZE);minSubwordSize = GetInt32(args, "minSubwordSize", CompoundWordTokenFilterBase.DEFAULT_MIN_SUBWORD_SIZE);maxSubwordSize = GetInt32(args, "maxSubwordSize", CompoundWordTokenFilterBase.DEFAULT_MAX_SUBWORD_SIZE);onlyLongestMatch = GetBoolean(args, "onlyLongestMatch", false);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}

[User] public HyphenationCompoundWordTokenFilterFactory(Map<String, String> args) {super(args);dictFile = get(args, "dictionary");encoding = get(args, "encoding");hypFile = require(args, "hyphenator");minWordSize = getInt(args, "minWordSize", CompoundWordTokenFilterBase.DEFAULT_MIN_WORD_SIZE);minSubwordSize = getInt(args, "minSubwordSize", CompoundWordTokenFilterBase.DEFAULT_MIN_SUBWORD_SIZE);maxSubwordSize = getInt(args, "maxSubwordSize", CompoundWordTokenFilterBase.DEFAULT_MAX_SUBWORD_SIZE);onlyLongestMatch = getBoolean(args, "onlyLongestMatch", false);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

[Assistant] public HyphenationCompoundWordTokenFilterFactory(IDictionary<string, string> args) : base(args){AssureMatchVersion();dictFile = Get(args, "dictionary");encoding = Get(args, "encoding");hypFile = Require(args, "hyphenator");minWordSize = GetInt32(args, "minWordSize", CompoundWordTokenFilterBase.DEFAULT_MIN_WORD_SIZE);minSubwordSize = GetInt32(args, "minSubwordSize", CompoundWordTokenFilterBase.DEFAULT_MIN_SUBWORD_SIZE);maxSubwordSize = GetInt32(args, "maxSubwordSize", CompoundWordTokenFilterBase.DEFAULT_MAX_SUBWORD_SIZE);onlyLongestMatch = GetBoolean(args, "onlyLongestMatch", false);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}


public DeleteTerminologyResult deleteTerminology(DeleteTerminologyRequest request) {request = beforeClientExecution(request);return executeDeleteTerminology(request);}

public virtual DeleteTerminologyResponse DeleteTerminology(DeleteTerminologyRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteTerminologyRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteTerminologyResponseUnmarshaller.Instance;return Invoke<DeleteTerminologyResponse>(request, options);}

[User] public DeleteTerminologyResult deleteTerminology(DeleteTerminologyRequest request) {request = beforeClientExecution(request);return executeDeleteTerminology(request);}

[Assistant] public virtual DeleteTerminologyResponse DeleteTerminology(DeleteTerminologyRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteTerminologyRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteTerminologyResponseUnmarshaller.Instance;return Invoke<DeleteTerminologyResponse>(request, options);}


public boolean remove(Object o) {if (!(o instanceof Entry))return false;Entry<?, ?> e = (Entry<?, ?>)o;return removeMapping(e.getKey(), e.getValue());}

public override bool remove(object o){if (!(o is java.util.MapClass.Entry<K, V>)){return false;}java.util.MapClass.Entry<object, object> e = (java.util.MapClass.Entry<object, object>)o;return this._enclosing.removeMapping(e.getKey(), e.getValue());}

[User] public boolean remove(Object o) {if (!(o instanceof Entry))return false;Entry<?, ?> e = (Entry<?, ?>)o;return removeMapping(e.getKey(), e.getValue());}

[Assistant] public override bool remove(object o){if (!(o is java.util.MapClass.Entry<K, V>)){return false;}java.util.MapClass.Entry<object, object> e = (java.util.MapClass.Entry<object, object>)o;return this._enclosing.removeMapping(e.getKey(), e.getValue());}


public GetObjectAttributesResult getObjectAttributes(GetObjectAttributesRequest request) {request = beforeClientExecution(request);return executeGetObjectAttributes(request);}

public virtual GetObjectAttributesResponse GetObjectAttributes(GetObjectAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetObjectAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetObjectAttributesResponseUnmarshaller.Instance;return Invoke<GetObjectAttributesResponse>(request, options);}

[User] public GetObjectAttributesResult getObjectAttributes(GetObjectAttributesRequest request) {request = beforeClientExecution(request);return executeGetObjectAttributes(request);}

[Assistant] public virtual GetObjectAttributesResponse GetObjectAttributes(GetObjectAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetObjectAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetObjectAttributesResponseUnmarshaller.Instance;return Invoke<GetObjectAttributesResponse>(request, options);}


public RevWalk getRevWalk() {throw new UnsupportedOperationException(MessageFormat.format(JGitText.get().isAStaticFlagAndHasNorevWalkInstance, toString()));}

public override RevWalk GetRevWalk(){throw new NotSupportedException(MessageFormat.Format(JGitText.Get().isAStaticFlagAndHasNorevWalkInstance, ToString()));}

[User] public RevWalk getRevWalk() {throw new UnsupportedOperationException(MessageFormat.format(JGitText.get().isAStaticFlagAndHasNorevWalkInstance, toString()));}

[Assistant] public override RevWalk GetRevWalk(){throw new NotSupportedException(MessageFormat.Format(JGitText.Get().isAStaticFlagAndHasNorevWalkInstance, ToString()));}


public DescribeKeyPairsResult describeKeyPairs(DescribeKeyPairsRequest request) {request = beforeClientExecution(request);return executeDescribeKeyPairs(request);}

public virtual DescribeKeyPairsResponse DescribeKeyPairs(DescribeKeyPairsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeKeyPairsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeKeyPairsResponseUnmarshaller.Instance;return Invoke<DescribeKeyPairsResponse>(request, options);}

[User] public DescribeKeyPairsResult describeKeyPairs(DescribeKeyPairsRequest request) {request = beforeClientExecution(request);return executeDescribeKeyPairs(request);}

[Assistant] public virtual DescribeKeyPairsResponse DescribeKeyPairs(DescribeKeyPairsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeKeyPairsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeKeyPairsResponseUnmarshaller.Instance;return Invoke<DescribeKeyPairsResponse>(request, options);}


public byte[] toByteArray() {return build();}

public virtual byte[] ToByteArray(){return Build();}

[User] public byte[] toByteArray() {return build();}

[Assistant] public virtual byte[] ToByteArray(){return Build();}


public void setIndexVersion(int version) {indexVersion = version;}

public virtual void SetIndexVersion(int version){indexVersion = version;}

[User] public void setIndexVersion(int version) {indexVersion = version;}

[Assistant] public virtual void SetIndexVersion(int version){indexVersion = version;}


public IgnoreNode() {rules = new ArrayList<>();}

public IgnoreNode(){rules = new AList<IgnoreRule>();}

[User] public IgnoreNode() {rules = new ArrayList<>();}

[Assistant] public IgnoreNode(){rules = new AList<IgnoreRule>();}


public TreeFilter negate() {return NotTreeFilter.create(this);}

public virtual TreeFilter Negate(){return NotTreeFilter.Create(this);}

[User] public TreeFilter negate() {return NotTreeFilter.create(this);}

[Assistant] public virtual TreeFilter Negate(){return NotTreeFilter.Create(this);}


public long ramBytesUsed() {return docs.ramBytesUsed()+ RamUsageEstimator.NUM_BYTES_OBJECT_HEADER+ 2 * Integer.BYTES+ 2 + Long.BYTES+ RamUsageEstimator.NUM_BYTES_OBJECT_REF;}

public long RamBytesUsed(){return RamUsageEstimator.AlignObjectSize(3 * RamUsageEstimator.NUM_BYTES_OBJECT_REF + 2 * RamUsageEstimator.NUM_BYTES_INT32)+ RamUsageEstimator.SizeOf(data)+ positions.RamBytesUsed()+ wordNums.RamBytesUsed();}

[User] public long ramBytesUsed() {return docs.ramBytesUsed()+ RamUsageEstimator.NUM_BYTES_OBJECT_HEADER+ 2 * Integer.BYTES+ 2 + Long.BYTES+ RamUsageEstimator.NUM_BYTES_OBJECT_REF;}

[Assistant] public long RamBytesUsed(){return RamUsageEstimator.AlignObjectSize(3 * RamUsageEstimator.NUM_BYTES_OBJECT_REF + 2 * RamUsageEstimator.NUM_BYTES_INT32)+ RamUsageEstimator.SizeOf(data)+ positions.RamBytesUsed()+ wordNums.RamBytesUsed();}


public String toString() {return exists() ? toObject().toString() : "(null)";}

public override string ToString(){return Exists ? ToObject().ToString() : "(null)";}

[User] public String toString() {return exists() ? toObject().toString() : "(null)";}

[Assistant] public override string ToString(){return Exists ? ToObject().ToString() : "(null)";}


public int available() throws IOException {checkReadPrimitiveTypes();return primitiveData.available();}

public override int available(){throw new System.NotImplementedException();}

[User] public int available() throws IOException {checkReadPrimitiveTypes();return primitiveData.available();}

[Assistant] public override int available(){throw new System.NotImplementedException();}


public UnicodeMapping(String pEntityName, String pResolvedValue) {entityName = "&" + pEntityName + ";";resolvedValue = pResolvedValue;}

public UnicodeMapping(String pEntityName, String pResolvedValue){entityName = "&" + pEntityName + ";";resolvedValue = pResolvedValue;}

[User] public UnicodeMapping(String pEntityName, String pResolvedValue) {entityName = "&" + pEntityName + ";";resolvedValue = pResolvedValue;}

[Assistant] public UnicodeMapping(String pEntityName, String pResolvedValue){entityName = "&" + pEntityName + ";";resolvedValue = pResolvedValue;}


public final void removeBreak(int main) {Integer rowKey = Integer.valueOf(main);Break region = _breakMap.get(rowKey);_breaks.remove(region);_breakMap.remove(rowKey);}

public void RemoveBreak(int main){int rowKey = main;Break region = (Break)_breakMap[rowKey];_breaks.Remove(region);_breakMap.Remove(rowKey);}

[User] public final void removeBreak(int main) {Integer rowKey = Integer.valueOf(main);Break region = _breakMap.get(rowKey);_breaks.remove(region);_breakMap.remove(rowKey);}

[Assistant] public void RemoveBreak(int main){int rowKey = main;Break region = (Break)_breakMap[rowKey];_breaks.Remove(region);_breakMap.Remove(rowKey);}


public void sort(int from, int to) {checkRange(from, to);if (to - from <= 1) {return;}reset(from, to);do {ensureInvariants();pushRunLen(nextRun());} while (runEnd(0) < to);exhaustStack();assert runEnd(0) == to;}

public override void Sort(int from, int to){CheckRange(from, to);if (to - from <= 1){return;}Reset(from, to);do{EnsureInvariants();PushRunLen(NextRun());} while (RunEnd(0) < to);ExhaustStack();Debug.Assert(RunEnd(0) == to);}

[User] public void sort(int from, int to) {checkRange(from, to);if (to - from <= 1) {return;}reset(from, to);do {ensureInvariants();pushRunLen(nextRun());} while (runEnd(0) < to);exhaustStack();assert runEnd(0) == to;}

[Assistant] public override void Sort(int from, int to){CheckRange(from, to);if (to - from <= 1){return;}Reset(from, to);do{EnsureInvariants();PushRunLen(NextRun());} while (RunEnd(0) < to);ExhaustStack();Debug.Assert(RunEnd(0) == to);}


public File getDirectory() {return directory;}

public virtual FilePath GetDirectory(){return directory;}

[User] public File getDirectory() {return directory;}

[Assistant] public virtual FilePath GetDirectory(){return directory;}


public PositionTrackingVisitor(RecordVisitor rv, int initialPosition) {_rv = rv;_position = initialPosition;}

public PositionTrackingVisitor(RecordVisitor rv, int initialPosition){_rv = rv;_position = initialPosition;}

[User] public PositionTrackingVisitor(RecordVisitor rv, int initialPosition) {_rv = rv;_position = initialPosition;}

[Assistant] public PositionTrackingVisitor(RecordVisitor rv, int initialPosition){_rv = rv;_position = initialPosition;}


[User] public T top() {return top;}

[Assistant] public T Top(){return top;}


public String toString() {StringBuilder sb = new StringBuilder();sb.append(getClass().getName());sb.append(" [");if (externalWorkbookNumber >= 0) {sb.append(" [");sb.append("workbook=").append(getExternalWorkbookNumber());sb.append("] ");}sb.append("sheet=").append(getSheetName());if (lastSheetName != null) {sb.append(" : ");sb.append("sheet=").append(lastSheetName);}sb.append(" ! ");sb.append(formatReferenceAsString());sb.append("]");return sb.toString();}

public override String ToString(){StringBuilder sb = new StringBuilder();sb.Append(this.GetType().Name);sb.Append(" [");if (externalWorkbookNumber >= 0){sb.Append(" [");sb.Append("workbook=").Append(ExternalWorkbookNumber);sb.Append("] ");}sb.Append("sheet=").Append(SheetName);if (lastSheetName != null){sb.Append(" : ");sb.Append("sheet=").Append(lastSheetName);}sb.Append(" ! ");sb.Append(FormatReferenceAsString());sb.Append("]");return sb.ToString();}

[User] public String toString() {StringBuilder sb = new StringBuilder();sb.append(getClass().getName());sb.append(" [");if (externalWorkbookNumber >= 0) {sb.append(" [");sb.append("workbook=").append(getExternalWorkbookNumber());sb.append("] ");}sb.append("sheet=").append(getSheetName());if (lastSheetName != null) {sb.append(" : ");sb.append("sheet=").append(lastSheetName);}sb.append(" ! ");sb.append(formatReferenceAsString());sb.append("]");return sb.toString();}

[Assistant] public override String ToString(){StringBuilder sb = new StringBuilder();sb.Append(this.GetType().Name);sb.Append(" [");if (externalWorkbookNumber >= 0){sb.Append(" [");sb.Append("workbook=").Append(ExternalWorkbookNumber);sb.Append("] ");}sb.Append("sheet=").Append(SheetName);if (lastSheetName != null){sb.Append(" : ");sb.Append("sheet=").Append(lastSheetName);}sb.Append(" ! ");sb.Append(FormatReferenceAsString());sb.Append("]");return sb.ToString();}


public SubmoduleSyncCommand addPath(String path) {paths.add(path);return this;}

public virtual NGit.Api.SubmoduleSyncCommand AddPath(string path){paths.AddItem(path);return this;}

[User] public SubmoduleSyncCommand addPath(String path) {paths.add(path);return this;}

[Assistant] public virtual NGit.Api.SubmoduleSyncCommand AddPath(string path){paths.AddItem(path);return this;}


@Override public int size() {return map.size();}

public override int size(){return this._enclosing._size;}

[User] @Override public int size() {return map.size();}

[Assistant] public override int size(){return this._enclosing._size;}


public DeleteNamespaceRequest() {super("cr", "2016-06-07", "DeleteNamespace", "cr");setUriPattern("/namespace/[Namespace]");setMethod(MethodType.DELETE);}

public DeleteNamespaceRequest(): base("cr", "2016-06-07", "DeleteNamespace", "cr", "openAPI"){UriPattern = "/namespace/[Namespace]";Method = MethodType.DELETE;}

[User] public DeleteNamespaceRequest() {super("cr", "2016-06-07", "DeleteNamespace", "cr");setUriPattern("/namespace/[Namespace]");setMethod(MethodType.DELETE);}

[Assistant] public DeleteNamespaceRequest(): base("cr", "2016-06-07", "DeleteNamespace", "cr", "openAPI"){UriPattern = "/namespace/[Namespace]";Method = MethodType.DELETE;}


public GeoRestriction(GeoRestrictionType restrictionType) {setRestrictionType(restrictionType.toString());}

public GeoRestriction(GeoRestrictionType restrictionType){_restrictionType = restrictionType;}

[User] public GeoRestriction(GeoRestrictionType restrictionType) {setRestrictionType(restrictionType.toString());}

[Assistant] public GeoRestriction(GeoRestrictionType restrictionType){_restrictionType = restrictionType;}


public RecognizeEntityRequest() {super("visionai-poc", "2020-04-08", "RecognizeEntity");setMethod(MethodType.POST);}

public RecognizeEntityRequest(): base("visionai-poc", "2020-04-08", "RecognizeEntity"){Method = MethodType.POST;}

[User] public RecognizeEntityRequest() {super("visionai-poc", "2020-04-08", "RecognizeEntity");setMethod(MethodType.POST);}

[Assistant] public RecognizeEntityRequest(): base("visionai-poc", "2020-04-08", "RecognizeEntity"){Method = MethodType.POST;}


public final int compareTo(byte[] bs, int p) {int cmp;cmp = NB.compareUInt32(w1, NB.decodeInt32(bs, p));if (cmp != 0)return cmp;cmp = NB.compareUInt32(w2, NB.decodeInt32(bs, p + 4));if (cmp != 0)return cmp;cmp = NB.compareUInt32(w3, NB.decodeInt32(bs, p + 8));if (cmp != 0)return cmp;cmp = NB.compareUInt32(w4, NB.decodeInt32(bs, p + 12));if (cmp != 0)return cmp;return NB.compareUInt32(w5, NB.decodeInt32(bs, p + 16));}

public int CompareTo(byte[] bs, int p){int cmp;cmp = NB.CompareUInt32(w1, NB.DecodeInt32(bs, p));if (cmp != 0){return cmp;}cmp = NB.CompareUInt32(w2, NB.DecodeInt32(bs, p + 4));if (cmp != 0){return cmp;}cmp = NB.CompareUInt32(w3, NB.DecodeInt32(bs, p + 8));if (cmp != 0){return cmp;}cmp = NB.CompareUInt32(w4, NB.DecodeInt32(bs, p + 12));if (cmp != 0){return cmp;}return NB.CompareUInt32(w5, NB.DecodeInt32(bs, p + 16));}

[User] public final int compareTo(byte[] bs, int p) {int cmp;cmp = NB.compareUInt32(w1, NB.decodeInt32(bs, p));if (cmp != 0)return cmp;cmp = NB.compareUInt32(w2, NB.decodeInt32(bs, p + 4));if (cmp != 0)return cmp;cmp = NB.compareUInt32(w3, NB.decodeInt32(bs, p + 8));if (cmp != 0)return cmp;cmp = NB.compareUInt32(w4, NB.decodeInt32(bs, p + 12));if (cmp != 0)return cmp;return NB.compareUInt32(w5, NB.decodeInt32(bs, p + 16));}

[Assistant] public int CompareTo(byte[] bs, int p){int cmp;cmp = NB.CompareUInt32(w1, NB.DecodeInt32(bs, p));if (cmp != 0){return cmp;}cmp = NB.CompareUInt32(w2, NB.DecodeInt32(bs, p + 4));if (cmp != 0){return cmp;}cmp = NB.CompareUInt32(w3, NB.DecodeInt32(bs, p + 8));if (cmp != 0){return cmp;}cmp = NB.CompareUInt32(w4, NB.DecodeInt32(bs, p + 12));if (cmp != 0){return cmp;}return NB.CompareUInt32(w5, NB.DecodeInt32(bs, p + 16));}


public SendMessageRequest() {super("OnsMqtt", "2019-12-11", "SendMessage", "onsmqtt");setMethod(MethodType.POST);}

public SendMessageRequest(): base("OnsMqtt", "2019-12-11", "SendMessage", "onsmqtt", "openAPI"){Method = MethodType.POST;}

[User] public SendMessageRequest() {super("OnsMqtt", "2019-12-11", "SendMessage", "onsmqtt");setMethod(MethodType.POST);}

[Assistant] public SendMessageRequest(): base("OnsMqtt", "2019-12-11", "SendMessage", "onsmqtt", "openAPI"){Method = MethodType.POST;}


public SelectRequest(String selectExpression) {setSelectExpression(selectExpression);}

public SelectRequest(string selectExpression){_selectExpression = selectExpression;}

[User] public SelectRequest(String selectExpression) {setSelectExpression(selectExpression);}

[Assistant] public SelectRequest(string selectExpression){_selectExpression = selectExpression;}


public TopMarginRecord clone() {return copy();}

public override Object Clone(){TopMarginRecord rec = new TopMarginRecord();rec.field_1_margin = this.field_1_margin;return rec;}

[User] public TopMarginRecord clone() {return copy();}

[Assistant] public override Object Clone(){TopMarginRecord rec = new TopMarginRecord();rec.field_1_margin = this.field_1_margin;return rec;}


public GetStaticIpsResult getStaticIps(GetStaticIpsRequest request) {request = beforeClientExecution(request);return executeGetStaticIps(request);}

public virtual GetStaticIpsResponse GetStaticIps(GetStaticIpsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetStaticIpsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetStaticIpsResponseUnmarshaller.Instance;return Invoke<GetStaticIpsResponse>(request, options);}

[User] public GetStaticIpsResult getStaticIps(GetStaticIpsRequest request) {request = beforeClientExecution(request);return executeGetStaticIps(request);}

[Assistant] public virtual GetStaticIpsResponse GetStaticIps(GetStaticIpsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetStaticIpsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetStaticIpsResponseUnmarshaller.Instance;return Invoke<GetStaticIpsResponse>(request, options);}


public String toString() {final StringBuilder b = new StringBuilder();final int sectionCount = getSectionCount();b.append(getClass().getName());b.append('[');b.append("byteOrder: ");b.append(getByteOrder());b.append(", classID: ");b.append(getClassID());b.append(", format: ");b.append(getFormat());b.append(", OSVersion: ");b.append(getOSVersion());b.append(", sectionCount: ");b.append(sectionCount);b.append(", sections: [\n");for (Section section: getSections()) {b.append(section.toString(getPropertySetIDMap()));}b.append(']');b.append(']');return b.toString();}

public override String ToString(){StringBuilder b = new StringBuilder();int sectionCount = SectionCount;b.Append(GetType().Name);b.Append('[');b.Append("byteOrder: ");b.Append(ByteOrder);b.Append(", classID: ");b.Append(ClassID);b.Append(", format: ");b.Append(Format);b.Append(", OSVersion: ");b.Append(OSVersion);b.Append(", sectionCount: ");b.Append(sectionCount);b.Append(", sections: [\n");foreach (Section section in Sections){b.Append(section.ToString());}b.Append(']');b.Append(']');return b.ToString();}

[User] public String toString() {final StringBuilder b = new StringBuilder();final int sectionCount = getSectionCount();b.append(getClass().getName());b.append('[');b.append("byteOrder: ");b.append(getByteOrder());b.append(", classID: ");b.append(getClassID());b.append(", format: ");b.append(getFormat());b.append(", OSVersion: ");b.append(getOSVersion());b.append(", sectionCount: ");b.append(sectionCount);b.append(", sections: [\n");for (Section section: getSections()) {b.append(section.toString(getPropertySetIDMap()));}b.append(']');b.append(']');return b.toString();}

[Assistant] public override String ToString(){StringBuilder b = new StringBuilder();int sectionCount = SectionCount;b.Append(GetType().Name);b.Append('[');b.Append("byteOrder: ");b.Append(ByteOrder);b.Append(", classID: ");b.Append(ClassID);b.Append(", format: ");b.Append(Format);b.Append(", OSVersion: ");b.Append(OSVersion);b.Append(", sectionCount: ");b.Append(sectionCount);b.Append(", sections: [\n");foreach (Section section in Sections){b.Append(section.ToString());}b.Append(']');b.Append(']');return b.ToString();}


public int stem(char s[], int len) {if (len < 4) return len;final int origLen = len;len = rule0(s, len);len = rule1(s, len);len = rule2(s, len);len = rule3(s, len);len = rule4(s, len);len = rule5(s, len);len = rule6(s, len);len = rule7(s, len);len = rule8(s, len);len = rule9(s, len);len = rule10(s, len);len = rule11(s, len);len = rule12(s, len);len = rule13(s, len);len = rule14(s, len);len = rule15(s, len);len = rule16(s, len);len = rule17(s, len);len = rule18(s, len);len = rule19(s, len);len = rule20(s, len);if (len == origLen)len = rule21(s, len);return rule22(s, len);}

public virtual int Stem(char[] s, int len){if (len < 4) {return len;}int origLen = len;len = Rule0(s, len);len = Rule1(s, len);len = Rule2(s, len);len = Rule3(s, len);len = Rule4(s, len);len = Rule5(s, len);len = Rule6(s, len);len = Rule7(s, len);len = Rule8(s, len);len = Rule9(s, len);len = Rule10(s, len);len = Rule11(s, len);len = Rule12(s, len);len = Rule13(s, len);len = Rule14(s, len);len = Rule15(s, len);len = Rule16(s, len);len = Rule17(s, len);len = Rule18(s, len);len = Rule19(s, len);len = Rule20(s, len);if (len == origLen){len = Rule21(s, len);}return Rule22(s, len);}

[User] public int stem(char s[], int len) {if (len < 4) return len;final int origLen = len;len = rule0(s, len);len = rule1(s, len);len = rule2(s, len);len = rule3(s, len);len = rule4(s, len);len = rule5(s, len);len = rule6(s, len);len = rule7(s, len);len = rule8(s, len);len = rule9(s, len);len = rule10(s, len);len = rule11(s, len);len = rule12(s, len);len = rule13(s, len);len = rule14(s, len);len = rule15(s, len);len = rule16(s, len);len = rule17(s, len);len = rule18(s, len);len = rule19(s, len);len = rule20(s, len);if (len == origLen)len = rule21(s, len);return rule22(s, len);}

[Assistant] public virtual int Stem(char[] s, int len){if (len < 4) {return len;}int origLen = len;len = Rule0(s, len);len = Rule1(s, len);len = Rule2(s, len);len = Rule3(s, len);len = Rule4(s, len);len = Rule5(s, len);len = Rule6(s, len);len = Rule7(s, len);len = Rule8(s, len);len = Rule9(s, len);len = Rule10(s, len);len = Rule11(s, len);len = Rule12(s, len);len = Rule13(s, len);len = Rule14(s, len);len = Rule15(s, len);len = Rule16(s, len);len = Rule17(s, len);len = Rule18(s, len);len = Rule19(s, len);len = Rule20(s, len);if (len == origLen){len = Rule21(s, len);}return Rule22(s, len);}


public CreateStreamingURLResult createStreamingURL(CreateStreamingURLRequest request) {request = beforeClientExecution(request);return executeCreateStreamingURL(request);}

public virtual CreateStreamingURLResponse CreateStreamingURL(CreateStreamingURLRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateStreamingURLRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateStreamingURLResponseUnmarshaller.Instance;return Invoke<CreateStreamingURLResponse>(request, options);}

[User] public CreateStreamingURLResult createStreamingURL(CreateStreamingURLRequest request) {request = beforeClientExecution(request);return executeCreateStreamingURL(request);}

[Assistant] public virtual CreateStreamingURLResponse CreateStreamingURL(CreateStreamingURLRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateStreamingURLRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateStreamingURLResponseUnmarshaller.Instance;return Invoke<CreateStreamingURLResponse>(request, options);}


public IBSimilarity(Distribution distribution,Lambda lambda,Normalization normalization) {this.distribution = distribution;this.lambda = lambda;this.normalization = normalization;}

public IBSimilarity(Distribution distribution, Lambda lambda, Normalization normalization){this.m_distribution = distribution;this.m_lambda = lambda;this.m_normalization = normalization;}

[User] public IBSimilarity(Distribution distribution,Lambda lambda,Normalization normalization) {this.distribution = distribution;this.lambda = lambda;this.normalization = normalization;}

[Assistant] public IBSimilarity(Distribution distribution, Lambda lambda, Normalization normalization){this.m_distribution = distribution;this.m_lambda = lambda;this.m_normalization = normalization;}


public GetBatchPredictionResult getBatchPrediction(GetBatchPredictionRequest request) {request = beforeClientExecution(request);return executeGetBatchPrediction(request);}

public virtual GetBatchPredictionResponse GetBatchPrediction(GetBatchPredictionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetBatchPredictionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetBatchPredictionResponseUnmarshaller.Instance;return Invoke<GetBatchPredictionResponse>(request, options);}

[User] public GetBatchPredictionResult getBatchPrediction(GetBatchPredictionRequest request) {request = beforeClientExecution(request);return executeGetBatchPrediction(request);}

[Assistant] public virtual GetBatchPredictionResponse GetBatchPrediction(GetBatchPredictionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetBatchPredictionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetBatchPredictionResponseUnmarshaller.Instance;return Invoke<GetBatchPredictionResponse>(request, options);}


public StartInstancesResult startInstances(StartInstancesRequest request) {request = beforeClientExecution(request);return executeStartInstances(request);}

public virtual StartInstancesResponse StartInstances(StartInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = StartInstancesResponseUnmarshaller.Instance;return Invoke<StartInstancesResponse>(request, options);}

[User] public StartInstancesResult startInstances(StartInstancesRequest request) {request = beforeClientExecution(request);return executeStartInstances(request);}

[Assistant] public virtual StartInstancesResponse StartInstances(StartInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = StartInstancesResponseUnmarshaller.Instance;return Invoke<StartInstancesResponse>(request, options);}


public DescribeLoadBalancerAttributesResult describeLoadBalancerAttributes(DescribeLoadBalancerAttributesRequest request) {request = beforeClientExecution(request);return executeDescribeLoadBalancerAttributes(request);}

public virtual DescribeLoadBalancerAttributesResponse DescribeLoadBalancerAttributes(DescribeLoadBalancerAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLoadBalancerAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLoadBalancerAttributesResponseUnmarshaller.Instance;return Invoke<DescribeLoadBalancerAttributesResponse>(request, options);}

[User] public DescribeLoadBalancerAttributesResult describeLoadBalancerAttributes(DescribeLoadBalancerAttributesRequest request) {request = beforeClientExecution(request);return executeDescribeLoadBalancerAttributes(request);}

[Assistant] public virtual DescribeLoadBalancerAttributesResponse DescribeLoadBalancerAttributes(DescribeLoadBalancerAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLoadBalancerAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLoadBalancerAttributesResponseUnmarshaller.Instance;return Invoke<DescribeLoadBalancerAttributesResponse>(request, options);}


public Filter(int type, long size, InputStream in) {this.type = type;this.size = size;this.in = in;}

public Filter(int type, long size, InputStream @in){this.type = type;this.size = size;this.@in = @in;}

[User] public Filter(int type, long size, InputStream in) {this.type = type;this.size = size;this.in = in;}

[Assistant] public Filter(int type, long size, InputStream @in){this.type = type;this.size = size;this.@in = @in;}


public String getBaseForm() {return dictionary.getBaseForm(wordId, surfaceForm, offset, length);}

public virtual string GetBaseForm(){return dictionary.GetBaseForm(wordId, surfaceForm, offset, length);}

[User] public String getBaseForm() {return dictionary.getBaseForm(wordId, surfaceForm, offset, length);}

[Assistant] public virtual string GetBaseForm(){return dictionary.GetBaseForm(wordId, surfaceForm, offset, length);}


public Query makeLuceneQueryNoBoost(BasicQueryFactory qf) {if (fieldNames.size() == 1) { return q.makeLuceneQueryFieldNoBoost(fieldNames.get(0), qf);} else { List<SrndQuery> queries = new ArrayList<>();Iterator<String> fni = getFieldNames().listIterator();SrndQuery qc;while (fni.hasNext()) {qc = q.clone();queries.add( new FieldsQuery( qc, fni.next(), fieldOp));}OrQuery oq = new OrQuery(queries,true ,OR_OPERATOR_NAME);return oq.makeLuceneQueryField(null, qf);}}

public virtual Search.Query MakeLuceneQueryNoBoost(BasicQueryFactory qf){if (fieldNames.Count == 1){ return q.MakeLuceneQueryFieldNoBoost(fieldNames.FirstOrDefault(), qf);}else{ List<SrndQuery> queries = new List<SrndQuery>();foreach (var fieldName in fieldNames){var qc = (SrndQuery)q.Clone();queries.Add(new FieldsQuery(qc, fieldName, fieldOp));}OrQuery oq = new OrQuery(queries,true ,orOperatorName);return oq.MakeLuceneQueryField(null, qf);}}

[User] public Query makeLuceneQueryNoBoost(BasicQueryFactory qf) {if (fieldNames.size() == 1) { return q.makeLuceneQueryFieldNoBoost(fieldNames.get(0), qf);} else { List<SrndQuery> queries = new ArrayList<>();Iterator<String> fni = getFieldNames().listIterator();SrndQuery qc;while (fni.hasNext()) {qc = q.clone();queries.add( new FieldsQuery( qc, fni.next(), fieldOp));}OrQuery oq = new OrQuery(queries,true ,OR_OPERATOR_NAME);return oq.makeLuceneQueryField(null, qf);}}

[Assistant] public virtual Search.Query MakeLuceneQueryNoBoost(BasicQueryFactory qf){if (fieldNames.Count == 1){ return q.MakeLuceneQueryFieldNoBoost(fieldNames.FirstOrDefault(), qf);}else{ List<SrndQuery> queries = new List<SrndQuery>();foreach (var fieldName in fieldNames){var qc = (SrndQuery)q.Clone();queries.Add(new FieldsQuery(qc, fieldName, fieldOp));}OrQuery oq = new OrQuery(queries,true ,orOperatorName);return oq.MakeLuceneQueryField(null, qf);}}


public SetVisibleToAllUsersResult setVisibleToAllUsers(SetVisibleToAllUsersRequest request) {request = beforeClientExecution(request);return executeSetVisibleToAllUsers(request);}

public virtual SetVisibleToAllUsersResponse SetVisibleToAllUsers(SetVisibleToAllUsersRequest request){var options = new InvokeOptions();options.RequestMarshaller = SetVisibleToAllUsersRequestMarshaller.Instance;options.ResponseUnmarshaller = SetVisibleToAllUsersResponseUnmarshaller.Instance;return Invoke<SetVisibleToAllUsersResponse>(request, options);}

[User] public SetVisibleToAllUsersResult setVisibleToAllUsers(SetVisibleToAllUsersRequest request) {request = beforeClientExecution(request);return executeSetVisibleToAllUsers(request);}

[Assistant] public virtual SetVisibleToAllUsersResponse SetVisibleToAllUsers(SetVisibleToAllUsersRequest request){var options = new InvokeOptions();options.RequestMarshaller = SetVisibleToAllUsersRequestMarshaller.Instance;options.ResponseUnmarshaller = SetVisibleToAllUsersResponseUnmarshaller.Instance;return Invoke<SetVisibleToAllUsersResponse>(request, options);}


public GetBotResult getBot(GetBotRequest request) {request = beforeClientExecution(request);return executeGetBot(request);}

public virtual GetBotResponse GetBot(GetBotRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetBotRequestMarshaller.Instance;options.ResponseUnmarshaller = GetBotResponseUnmarshaller.Instance;return Invoke<GetBotResponse>(request, options);}

[User] public GetBotResult getBot(GetBotRequest request) {request = beforeClientExecution(request);return executeGetBot(request);}

[Assistant] public virtual GetBotResponse GetBot(GetBotRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetBotRequestMarshaller.Instance;options.ResponseUnmarshaller = GetBotResponseUnmarshaller.Instance;return Invoke<GetBotResponse>(request, options);}


public UpdateApnsSandboxChannelResult updateApnsSandboxChannel(UpdateApnsSandboxChannelRequest request) {request = beforeClientExecution(request);return executeUpdateApnsSandboxChannel(request);}

public virtual UpdateApnsSandboxChannelResponse UpdateApnsSandboxChannel(UpdateApnsSandboxChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateApnsSandboxChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateApnsSandboxChannelResponseUnmarshaller.Instance;return Invoke<UpdateApnsSandboxChannelResponse>(request, options);}

[User] public UpdateApnsSandboxChannelResult updateApnsSandboxChannel(UpdateApnsSandboxChannelRequest request) {request = beforeClientExecution(request);return executeUpdateApnsSandboxChannel(request);}

[Assistant] public virtual UpdateApnsSandboxChannelResponse UpdateApnsSandboxChannel(UpdateApnsSandboxChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateApnsSandboxChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateApnsSandboxChannelResponseUnmarshaller.Instance;return Invoke<UpdateApnsSandboxChannelResponse>(request, options);}


public CreateRouteResult createRoute(CreateRouteRequest request) {request = beforeClientExecution(request);return executeCreateRoute(request);}

public virtual CreateRouteResponse CreateRoute(CreateRouteRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateRouteRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance;return Invoke<CreateRouteResponse>(request, options);}

[User] public CreateRouteResult createRoute(CreateRouteRequest request) {request = beforeClientExecution(request);return executeCreateRoute(request);}

[Assistant] public virtual CreateRouteResponse CreateRoute(CreateRouteRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateRouteRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance;return Invoke<CreateRouteResponse>(request, options);}


public FreeRefFunction findFunction(String name) {FreeRefFunction func = super.findFunction(name);if (func != null) {int idx = getFunctionIndex(name);_funcMap.put(idx, name);}return func;}

public override FreeRefFunction FindFunction(String name){FreeRefFunction func = base.FindFunction(name);if (func != null){int idx = GetFunctionIndex(name);_funcMap[idx] = name;}return func;}

[User] public FreeRefFunction findFunction(String name) {FreeRefFunction func = super.findFunction(name);if (func != null) {int idx = getFunctionIndex(name);_funcMap.put(idx, name);}return func;}

[Assistant] public override FreeRefFunction FindFunction(String name){FreeRefFunction func = base.FindFunction(name);if (func != null){int idx = GetFunctionIndex(name);_funcMap[idx] = name;}return func;}


public boolean atMinValue() {return value == minValue;}

public virtual bool AtMinValue(){return value == minValue;}

[User] public boolean atMinValue() {return value == minValue;}

[Assistant] public virtual bool AtMinValue(){return value == minValue;}


public TerminateInstanceInAutoScalingGroupResult terminateInstanceInAutoScalingGroup(TerminateInstanceInAutoScalingGroupRequest request) {request = beforeClientExecution(request);return executeTerminateInstanceInAutoScalingGroup(request);}

public virtual TerminateInstanceInAutoScalingGroupResponse TerminateInstanceInAutoScalingGroup(TerminateInstanceInAutoScalingGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = TerminateInstanceInAutoScalingGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = TerminateInstanceInAutoScalingGroupResponseUnmarshaller.Instance;return Invoke<TerminateInstanceInAutoScalingGroupResponse>(request, options);}

[User] public TerminateInstanceInAutoScalingGroupResult terminateInstanceInAutoScalingGroup(TerminateInstanceInAutoScalingGroupRequest request) {request = beforeClientExecution(request);return executeTerminateInstanceInAutoScalingGroup(request);}

[Assistant] public virtual TerminateInstanceInAutoScalingGroupResponse TerminateInstanceInAutoScalingGroup(TerminateInstanceInAutoScalingGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = TerminateInstanceInAutoScalingGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = TerminateInstanceInAutoScalingGroupResponseUnmarshaller.Instance;return Invoke<TerminateInstanceInAutoScalingGroupResponse>(request, options);}


public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[DVAL]\n");buffer.append("    .options      = ").append(getOptions()).append('\n');buffer.append("    .horizPos     = ").append(getHorizontalPos()).append('\n');buffer.append("    .vertPos      = ").append(getVerticalPos()).append('\n');buffer.append("    .comboObjectID   = ").append(Integer.toHexString(getObjectID())).append("\n");buffer.append("    .DVRecordsNumber = ").append(Integer.toHexString(getDVRecNo())).append("\n");buffer.append("[/DVAL]\n");return buffer.toString();}

public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[DVAL]\n");buffer.Append("    .options      = ").Append(this.Options).Append('\n');buffer.Append("    .horizPos     = ").Append(this.HorizontalPos).Append('\n');buffer.Append("    .vertPos      = ").Append(this.VerticalPos).Append('\n');buffer.Append("    .comboObjectID   = ").Append(StringUtil.ToHexString(this.ObjectID)).Append("\n");buffer.Append("    .DVRecordsNumber = ").Append(StringUtil.ToHexString(this.DVRecNo)).Append("\n");buffer.Append("[/DVAL]\n");return buffer.ToString();}

[User] public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[DVAL]\n");buffer.append("    .options      = ").append(getOptions()).append('\n');buffer.append("    .horizPos     = ").append(getHorizontalPos()).append('\n');buffer.append("    .vertPos      = ").append(getVerticalPos()).append('\n');buffer.append("    .comboObjectID   = ").append(Integer.toHexString(getObjectID())).append("\n");buffer.append("    .DVRecordsNumber = ").append(Integer.toHexString(getDVRecNo())).append("\n");buffer.append("[/DVAL]\n");return buffer.toString();}

[Assistant] public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[DVAL]\n");buffer.Append("    .options      = ").Append(this.Options).Append('\n');buffer.Append("    .horizPos     = ").Append(this.HorizontalPos).Append('\n');buffer.Append("    .vertPos      = ").Append(this.VerticalPos).Append('\n');buffer.Append("    .comboObjectID   = ").Append(StringUtil.ToHexString(this.ObjectID)).Append("\n");buffer.Append("    .DVRecordsNumber = ").Append(StringUtil.ToHexString(this.DVRecNo)).Append("\n");buffer.Append("[/DVAL]\n");return buffer.ToString();}


public static Token newToken(int ofKind, String image){switch(ofKind){default : return new Token(ofKind, image);}}

public static Token NewToken(int ofKind, string image){switch (ofKind){default: return new Token(ofKind, image);}}

[User] public static Token newToken(int ofKind, String image){switch(ofKind){default : return new Token(ofKind, image);}}

[Assistant] public static Token NewToken(int ofKind, string image){switch (ofKind){default: return new Token(ofKind, image);}}


public ATNConfig(ATNState state,int alt,PredictionContext context,SemanticContext semanticContext){this.state = state;this.alt = alt;this.context = context;this.semanticContext = semanticContext;}

[User] public ATNConfig(ATNState state,int alt,PredictionContext context,SemanticContext semanticContext){this.state = state;this.alt = alt;this.context = context;this.semanticContext = semanticContext;}

[Assistant] public ATNConfig(ATNState state,int alt,PredictionContext context,SemanticContext semanticContext){this.state = state;this.alt = alt;this.context = context;this.semanticContext = semanticContext;}


public DataValidationConstraint createFormulaListConstraint(String listFormula) {return DVConstraint.createFormulaListConstraint(listFormula);}

public IDataValidationConstraint CreateFormulaListConstraint(String listFormula){return DVConstraint.CreateFormulaListConstraint(listFormula);}

[User] public DataValidationConstraint createFormulaListConstraint(String listFormula) {return DVConstraint.createFormulaListConstraint(listFormula);}

[Assistant] public IDataValidationConstraint CreateFormulaListConstraint(String listFormula){return DVConstraint.CreateFormulaListConstraint(listFormula);}


public GlobalReplicationGroup failoverGlobalReplicationGroup(FailoverGlobalReplicationGroupRequest request) {request = beforeClientExecution(request);return executeFailoverGlobalReplicationGroup(request);}

public virtual FailoverGlobalReplicationGroupResponse FailoverGlobalReplicationGroup(FailoverGlobalReplicationGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = FailoverGlobalReplicationGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = FailoverGlobalReplicationGroupResponseUnmarshaller.Instance;return Invoke<FailoverGlobalReplicationGroupResponse>(request, options);}

[User] public GlobalReplicationGroup failoverGlobalReplicationGroup(FailoverGlobalReplicationGroupRequest request) {request = beforeClientExecution(request);return executeFailoverGlobalReplicationGroup(request);}

[Assistant] public virtual FailoverGlobalReplicationGroupResponse FailoverGlobalReplicationGroup(FailoverGlobalReplicationGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = FailoverGlobalReplicationGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = FailoverGlobalReplicationGroupResponseUnmarshaller.Instance;return Invoke<FailoverGlobalReplicationGroupResponse>(request, options);}


public BatchPutAttributesResult batchPutAttributes(BatchPutAttributesRequest request) {request = beforeClientExecution(request);return executeBatchPutAttributes(request);}

public virtual BatchPutAttributesResponse BatchPutAttributes(BatchPutAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchPutAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchPutAttributesResponseUnmarshaller.Instance;return Invoke<BatchPutAttributesResponse>(request, options);}

[User] public BatchPutAttributesResult batchPutAttributes(BatchPutAttributesRequest request) {request = beforeClientExecution(request);return executeBatchPutAttributes(request);}

[Assistant] public virtual BatchPutAttributesResponse BatchPutAttributes(BatchPutAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchPutAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchPutAttributesResponseUnmarshaller.Instance;return Invoke<BatchPutAttributesResponse>(request, options);}


public long get(int index) {final int o = index >>> 1;final int b = index & 1;final int shift = b << 5;return (blocks[o] >>> shift) & 4294967295L;}

public override long Get(int index){int o = (int)((uint)index >> 1);int b = index & 1;int shift = b << 5;return ((long)((ulong)blocks[o] >> shift)) & 4294967295L;}

[User] public long get(int index) {final int o = index >>> 1;final int b = index & 1;final int shift = b << 5;return (blocks[o] >>> shift) & 4294967295L;}

[Assistant] public override long Get(int index){int o = (int)((uint)index >> 1);int b = index & 1;int shift = b << 5;return ((long)((ulong)blocks[o] >> shift)) & 4294967295L;}


public int execute(StringBuilder buf) {return index;}

public virtual int Execute(StringBuilder buf){return index;}

[User] public int execute(StringBuilder buf) {return index;}

[Assistant] public virtual int Execute(StringBuilder buf){return index;}


public int remove(Object key) {boolean hashedOk;int index, next, hash;int result;Object object;index = next = findIndex(key, keys);if (keys[index] != key) {return -1;}result = values[index];int length = keys.length;while (true) {next = (next + 2) % length;object = keys[next];if (object == null) {break;}hash = getModuloHash(object, length);hashedOk = hash > index;if (next < index) {hashedOk = hashedOk || (hash <= next);} else {hashedOk = hashedOk && (hash <= next);}if (!hashedOk) {keys[index] = object;values[index] = values[next];index = next;}}size--;keys[index] = null;values[index] = -1;return result;}

public int remove(object key){bool hashedOk;int index;int next;int hash;int result;object @object;index = next = findIndex(key, keys);if (keys[index] != key){return -1;}result = values[index];int length = keys.Length;while (true){next = (next + 2) % length;@object = keys[next];if (@object == null){break;}hash = getModuloHash(@object, length);hashedOk = hash > index;if (next < index){hashedOk = hashedOk || (hash <= next);}else{hashedOk = hashedOk && (hash <= next);}if (!hashedOk){keys[index] = @object;values[index] = values[next];index = next;}}size--;keys[index] = null;values[index] = -1;return result;}

[User] public int remove(Object key) {boolean hashedOk;int index, next, hash;int result;Object object;index = next = findIndex(key, keys);if (keys[index] != key) {return -1;}result = values[index];int length = keys.length;while (true) {next = (next + 2) % length;object = keys[next];if (object == null) {break;}hash = getModuloHash(object, length);hashedOk = hash > index;if (next < index) {hashedOk = hashedOk || (hash <= next);} else {hashedOk = hashedOk && (hash <= next);}if (!hashedOk) {keys[index] = object;values[index] = values[next];index = next;}}size--;keys[index] = null;values[index] = -1;return result;}

[Assistant] public int remove(object key){bool hashedOk;int index;int next;int hash;int result;object @object;index = next = findIndex(key, keys);if (keys[index] != key){return -1;}result = values[index];int length = keys.Length;while (true){next = (next + 2) % length;@object = keys[next];if (@object == null){break;}hash = getModuloHash(@object, length);hashedOk = hash > index;if (next < index){hashedOk = hashedOk || (hash <= next);}else{hashedOk = hashedOk && (hash <= next);}if (!hashedOk){keys[index] = @object;values[index] = values[next];index = next;}}size--;keys[index] = null;values[index] = -1;return result;}


public synchronized void setMaxMergesAndThreads(int maxMergeCount, int maxThreadCount) {if (maxMergeCount == AUTO_DETECT_MERGES_AND_THREADS && maxThreadCount == AUTO_DETECT_MERGES_AND_THREADS) {this.maxMergeCount = AUTO_DETECT_MERGES_AND_THREADS;this.maxThreadCount = AUTO_DETECT_MERGES_AND_THREADS;} else if (maxMergeCount == AUTO_DETECT_MERGES_AND_THREADS) {throw new IllegalArgumentException("both maxMergeCount and maxThreadCount must be AUTO_DETECT_MERGES_AND_THREADS");} else if (maxThreadCount == AUTO_DETECT_MERGES_AND_THREADS) {throw new IllegalArgumentException("both maxMergeCount and maxThreadCount must be AUTO_DETECT_MERGES_AND_THREADS");} else {if (maxThreadCount < 1) {throw new IllegalArgumentException("maxThreadCount should be at least 1");}if (maxMergeCount < 1) {throw new IllegalArgumentException("maxMergeCount should be at least 1");}if (maxThreadCount > maxMergeCount) {throw new IllegalArgumentException("maxThreadCount should be <= maxMergeCount (= " + maxMergeCount + ")");}this.maxThreadCount = maxThreadCount;this.maxMergeCount = maxMergeCount;}}

public virtual void SetMaxMergesAndThreads(int maxMergeCount, int maxThreadCount){if (maxThreadCount < 1){throw new System.ArgumentException("maxThreadCount should be at least 1");}if (maxMergeCount < 1){throw new System.ArgumentException("maxMergeCount should be at least 1");}if (maxThreadCount > maxMergeCount){throw new System.ArgumentException("maxThreadCount should be <= maxMergeCount (= " + maxMergeCount + ")");}this.maxThreadCount = maxThreadCount;this.maxMergeCount = maxMergeCount;}

[User] public synchronized void setMaxMergesAndThreads(int maxMergeCount, int maxThreadCount) {if (maxMergeCount == AUTO_DETECT_MERGES_AND_THREADS && maxThreadCount == AUTO_DETECT_MERGES_AND_THREADS) {this.maxMergeCount = AUTO_DETECT_MERGES_AND_THREADS;this.maxThreadCount = AUTO_DETECT_MERGES_AND_THREADS;} else if (maxMergeCount == AUTO_DETECT_MERGES_AND_THREADS) {throw new IllegalArgumentException("both maxMergeCount and maxThreadCount must be AUTO_DETECT_MERGES_AND_THREADS");} else if (maxThreadCount == AUTO_DETECT_MERGES_AND_THREADS) {throw new IllegalArgumentException("both maxMergeCount and maxThreadCount must be AUTO_DETECT_MERGES_AND_THREADS");} else {if (maxThreadCount < 1) {throw new IllegalArgumentException("maxThreadCount should be at least 1");}if (maxMergeCount < 1) {throw new IllegalArgumentException("maxMergeCount should be at least 1");}if (maxThreadCount > maxMergeCount) {throw new IllegalArgumentException("maxThreadCount should be <= maxMergeCount (= " + maxMergeCount + ")");}this.maxThreadCount = maxThreadCount;this.maxMergeCount = maxMergeCount;}}

[Assistant] public virtual void SetMaxMergesAndThreads(int maxMergeCount, int maxThreadCount){if (maxThreadCount < 1){throw new System.ArgumentException("maxThreadCount should be at least 1");}if (maxMergeCount < 1){throw new System.ArgumentException("maxMergeCount should be at least 1");}if (maxThreadCount > maxMergeCount){throw new System.ArgumentException("maxThreadCount should be <= maxMergeCount (= " + maxMergeCount + ")");}this.maxThreadCount = maxThreadCount;this.maxMergeCount = maxMergeCount;}


public final DoubleBuffer put(double[] src) {return put(src, 0, src.length);}

public java.nio.DoubleBuffer put(double[] src){return put(src, 0, src.Length);}

[User] public final DoubleBuffer put(double[] src) {return put(src, 0, src.length);}

[Assistant] public java.nio.DoubleBuffer put(double[] src){return put(src, 0, src.Length);}


public final Collection<Ref> getRefs() {return advertisedRefs.values();}

public ICollection<Ref> GetRefs(){return advertisedRefs.Values;}

[User] public final Collection<Ref> getRefs() {return advertisedRefs.values();}

[Assistant] public ICollection<Ref> GetRefs(){return advertisedRefs.Values;}


public DocFreqValueSource(String field, String val, String indexedField, BytesRef indexedBytes) {this.field = field;this.val = val;this.indexedField = indexedField;this.indexedBytes = indexedBytes;}

public DocFreqValueSource(string field, string val, string indexedField, BytesRef indexedBytes){this.m_field = field;this.m_val = val;this.m_indexedField = indexedField;this.m_indexedBytes = indexedBytes;}

[User] public DocFreqValueSource(String field, String val, String indexedField, BytesRef indexedBytes) {this.field = field;this.val = val;this.indexedField = indexedField;this.indexedBytes = indexedBytes;}

[Assistant] public DocFreqValueSource(string field, string val, string indexedField, BytesRef indexedBytes){this.m_field = field;this.m_val = val;this.m_indexedField = indexedField;this.m_indexedBytes = indexedBytes;}


public String getSegmentsFileName() {return IndexFileNames.fileNameFromGeneration(IndexFileNames.SEGMENTS,"",lastGeneration);}

public string GetSegmentsFileName(){return IndexFileNames.FileNameFromGeneration(IndexFileNames.SEGMENTS, "", lastGeneration);}

[User] public String getSegmentsFileName() {return IndexFileNames.fileNameFromGeneration(IndexFileNames.SEGMENTS,"",lastGeneration);}

[Assistant] public string GetSegmentsFileName(){return IndexFileNames.FileNameFromGeneration(IndexFileNames.SEGMENTS, "", lastGeneration);}


public Listener(String protocol, Integer loadBalancerPort, Integer instancePort) {setProtocol(protocol);setLoadBalancerPort(loadBalancerPort);setInstancePort(instancePort);}

public Listener(string protocol, int loadBalancerPort, int instancePort){_protocol = protocol;_loadBalancerPort = loadBalancerPort;_instancePort = instancePort;}

[User] public Listener(String protocol, Integer loadBalancerPort, Integer instancePort) {setProtocol(protocol);setLoadBalancerPort(loadBalancerPort);setInstancePort(instancePort);}

[Assistant] public Listener(string protocol, int loadBalancerPort, int instancePort){_protocol = protocol;_loadBalancerPort = loadBalancerPort;_instancePort = instancePort;}