public ListTrafficPolicyInstancesByPolicyResult listTrafficPolicyInstancesByPolicy(ListTrafficPolicyInstancesByPolicyRequest request) {request = beforeClientExecution(request);return executeListTrafficPolicyInstancesByPolicy(request);}

public virtual ListTrafficPolicyInstancesByPolicyResponse ListTrafficPolicyInstancesByPolicy(ListTrafficPolicyInstancesByPolicyRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTrafficPolicyInstancesByPolicyRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTrafficPolicyInstancesByPolicyResponseUnmarshaller.Instance;return Invoke<ListTrafficPolicyInstancesByPolicyResponse>(request, options);}

[User] public ListTrafficPolicyInstancesByPolicyResult listTrafficPolicyInstancesByPolicy(ListTrafficPolicyInstancesByPolicyRequest request) {request = beforeClientExecution(request);return executeListTrafficPolicyInstancesByPolicy(request);}

[Assistant] public virtual ListTrafficPolicyInstancesByPolicyResponse ListTrafficPolicyInstancesByPolicy(ListTrafficPolicyInstancesByPolicyRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTrafficPolicyInstancesByPolicyRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTrafficPolicyInstancesByPolicyResponseUnmarshaller.Instance;return Invoke<ListTrafficPolicyInstancesByPolicyResponse>(request, options);}


public ComplexPhraseQuery(String field, String phrasedQueryStringContents,int slopFactor, boolean inOrder) {this.field = Objects.requireNonNull(field);this.phrasedQueryStringContents = Objects.requireNonNull(phrasedQueryStringContents);this.slopFactor = slopFactor;this.inOrder = inOrder;}

public ComplexPhraseQuery(string field, string phrasedQueryStringContents,int slopFactor, bool inOrder){this.field = field;this.phrasedQueryStringContents = phrasedQueryStringContents;this.slopFactor = slopFactor;this.inOrder = inOrder;}

[User] public ComplexPhraseQuery(String field, String phrasedQueryStringContents,int slopFactor, boolean inOrder) {this.field = Objects.requireNonNull(field);this.phrasedQueryStringContents = Objects.requireNonNull(phrasedQueryStringContents);this.slopFactor = slopFactor;this.inOrder = inOrder;}

[Assistant] public ComplexPhraseQuery(string field, string phrasedQueryStringContents,int slopFactor, bool inOrder){this.field = field;this.phrasedQueryStringContents = phrasedQueryStringContents;this.slopFactor = slopFactor;this.inOrder = inOrder;}


public String toString(String field) {StringBuilder buffer = new StringBuilder();if (!term.field().equals(field)) {buffer.append(term.field());buffer.append(":");}buffer.append(getClass().getSimpleName());buffer.append(" {");buffer.append('\n');buffer.append(automaton.toString());buffer.append("}");return buffer.toString();}

public override string ToString(string field){StringBuilder buffer = new StringBuilder();if (!m_term.Field.Equals(field, StringComparison.Ordinal)){buffer.Append(m_term.Field);buffer.Append(":");}buffer.Append(this.GetType().Name);buffer.Append(" {");buffer.Append('\n');buffer.Append(m_automaton.ToString());buffer.Append("}");buffer.Append(ToStringUtils.Boost(Boost));return buffer.ToString();}

[User] public String toString(String field) {StringBuilder buffer = new StringBuilder();if (!term.field().equals(field)) {buffer.append(term.field());buffer.append(":");}buffer.append(getClass().getSimpleName());buffer.append(" {");buffer.append('\n');buffer.append(automaton.toString());buffer.append("}");return buffer.toString();}

[Assistant] public override string ToString(string field){StringBuilder buffer = new StringBuilder();if (!m_term.Field.Equals(field, StringComparison.Ordinal)){buffer.Append(m_term.Field);buffer.Append(":");}buffer.Append(this.GetType().Name);buffer.Append(" {");buffer.Append('\n');buffer.Append(m_automaton.ToString());buffer.Append("}");buffer.Append(ToStringUtils.Boost(Boost));return buffer.ToString();}


public final String toFormulaString() {return getName();}

public override String ToFormulaString(){return Name;}

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

[Assistant] public override String ToFormulaString(){return Name;}


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

public override Object Clone(){AreaRecord rec = new AreaRecord();rec.field_1_formatFlags = field_1_formatFlags;return rec;}

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

[Assistant] public override Object Clone(){AreaRecord rec = new AreaRecord();rec.field_1_formatFlags = field_1_formatFlags;return rec;}


public long ramBytesUsed() {return TERMS_BASE_RAM_BYTES_USED + (fst!=null ? fst.ramBytesUsed() : 0)+ RamUsageEstimator.sizeOf(scratch.bytes()) + RamUsageEstimator.sizeOf(scratchUTF16.chars());}

public override long RamBytesUsed(){return _termsCache.Values.Sum(simpleTextTerms => (simpleTextTerms != null) ? simpleTextTerms.RamBytesUsed() : 0);}

[User] public long ramBytesUsed() {return TERMS_BASE_RAM_BYTES_USED + (fst!=null ? fst.ramBytesUsed() : 0)+ RamUsageEstimator.sizeOf(scratch.bytes()) + RamUsageEstimator.sizeOf(scratchUTF16.chars());}

[Assistant] public override long RamBytesUsed(){return _termsCache.Values.Sum(simpleTextTerms => (simpleTextTerms != null) ? simpleTextTerms.RamBytesUsed() : 0);}


public DeleteConfigurationTemplateRequest(String applicationName, String templateName) {setApplicationName(applicationName);setTemplateName(templateName);}

public DeleteConfigurationTemplateRequest(string applicationName, string templateName){_applicationName = applicationName;_templateName = templateName;}

[User] public DeleteConfigurationTemplateRequest(String applicationName, String templateName) {setApplicationName(applicationName);setTemplateName(templateName);}

[Assistant] public DeleteConfigurationTemplateRequest(string applicationName, string templateName){_applicationName = applicationName;_templateName = templateName;}


public List<Token> getTokens(int start, int stop, int ttype) {HashSet<Integer> s = new HashSet<Integer>(ttype);s.add(ttype);return getTokens(start,stop, s);}

public virtual IList<IToken> GetTokens(int start, int stop, int ttype){BitSet s = new BitSet(ttype);s.Set(ttype);return GetTokens(start, stop, s);}

[User] public List<Token> getTokens(int start, int stop, int ttype) {HashSet<Integer> s = new HashSet<Integer>(ttype);s.add(ttype);return getTokens(start,stop, s);}

[Assistant] public virtual IList<IToken> GetTokens(int start, int stop, int ttype){BitSet s = new BitSet(ttype);s.Set(ttype);return GetTokens(start, stop, s);}


public DescribeIamInstanceProfileAssociationsResult describeIamInstanceProfileAssociations(DescribeIamInstanceProfileAssociationsRequest request) {request = beforeClientExecution(request);return executeDescribeIamInstanceProfileAssociations(request);}

public virtual DescribeIamInstanceProfileAssociationsResponse DescribeIamInstanceProfileAssociations(DescribeIamInstanceProfileAssociationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeIamInstanceProfileAssociationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeIamInstanceProfileAssociationsResponseUnmarshaller.Instance;return Invoke<DescribeIamInstanceProfileAssociationsResponse>(request, options);}

[User] public DescribeIamInstanceProfileAssociationsResult describeIamInstanceProfileAssociations(DescribeIamInstanceProfileAssociationsRequest request) {request = beforeClientExecution(request);return executeDescribeIamInstanceProfileAssociations(request);}

[Assistant] public virtual DescribeIamInstanceProfileAssociationsResponse DescribeIamInstanceProfileAssociations(DescribeIamInstanceProfileAssociationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeIamInstanceProfileAssociationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeIamInstanceProfileAssociationsResponseUnmarshaller.Instance;return Invoke<DescribeIamInstanceProfileAssociationsResponse>(request, options);}


public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval textArg) {ValueEval veText1;try {veText1 = OperandResolver.getSingleValue(textArg, srcRowIndex, srcColumnIndex);} catch (EvaluationException e) {return e.getErrorEval();}String text = OperandResolver.coerceValueToString(veText1);if (text.length() == 0) {return ErrorEval.VALUE_INVALID;}int code = text.charAt(0);return new StringEval(String.valueOf(code));}

public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval textArg){ValueEval veText1;try{veText1 = OperandResolver.GetSingleValue(textArg, srcRowIndex, srcColumnIndex);}catch (EvaluationException e){return e.GetErrorEval();}String text = OperandResolver.CoerceValueToString(veText1);if (text.Length == 0){return ErrorEval.VALUE_INVALID;}int code = (int)text[0];return new StringEval(code.ToString());}

[User] public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval textArg) {ValueEval veText1;try {veText1 = OperandResolver.getSingleValue(textArg, srcRowIndex, srcColumnIndex);} catch (EvaluationException e) {return e.getErrorEval();}String text = OperandResolver.coerceValueToString(veText1);if (text.length() == 0) {return ErrorEval.VALUE_INVALID;}int code = text.charAt(0);return new StringEval(String.valueOf(code));}

[Assistant] public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval textArg){ValueEval veText1;try{veText1 = OperandResolver.GetSingleValue(textArg, srcRowIndex, srcColumnIndex);}catch (EvaluationException e){return e.GetErrorEval();}String text = OperandResolver.CoerceValueToString(veText1);if (text.Length == 0){return ErrorEval.VALUE_INVALID;}int code = (int)text[0];return new StringEval(code.ToString());}


public AttachVpnGatewayResult attachVpnGateway(AttachVpnGatewayRequest request) {request = beforeClientExecution(request);return executeAttachVpnGateway(request);}

public virtual AttachVpnGatewayResponse AttachVpnGateway(AttachVpnGatewayRequest request){var options = new InvokeOptions();options.RequestMarshaller = AttachVpnGatewayRequestMarshaller.Instance;options.ResponseUnmarshaller = AttachVpnGatewayResponseUnmarshaller.Instance;return Invoke<AttachVpnGatewayResponse>(request, options);}

[User] public AttachVpnGatewayResult attachVpnGateway(AttachVpnGatewayRequest request) {request = beforeClientExecution(request);return executeAttachVpnGateway(request);}

[Assistant] public virtual AttachVpnGatewayResponse AttachVpnGateway(AttachVpnGatewayRequest request){var options = new InvokeOptions();options.RequestMarshaller = AttachVpnGatewayRequestMarshaller.Instance;options.ResponseUnmarshaller = AttachVpnGatewayResponseUnmarshaller.Instance;return Invoke<AttachVpnGatewayResponse>(request, options);}


public int compareTo(FloatBuffer otherBuffer) {int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining(): otherBuffer.remaining();int thisPos = position;int otherPos = otherBuffer.position;float thisFloat, otherFloat;while (compareRemaining > 0) {thisFloat = get(thisPos);otherFloat = otherBuffer.get(otherPos);if ((thisFloat != otherFloat)&& ((thisFloat == thisFloat) || (otherFloat == otherFloat))) {return thisFloat < otherFloat ? -1 : 1;}thisPos++;otherPos++;compareRemaining--;}return remaining() - otherBuffer.remaining();}

public virtual int compareTo(java.nio.FloatBuffer otherBuffer){int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining() : otherBuffer.remaining();int thisPos = _position;int otherPos = otherBuffer._position;float thisFloat;float otherFloat;while (compareRemaining > 0){thisFloat = get(thisPos);otherFloat = otherBuffer.get(otherPos);if ((thisFloat != otherFloat) && ((thisFloat == thisFloat) || (otherFloat == otherFloat))){return thisFloat < otherFloat ? -1 : 1;}thisPos++;otherPos++;compareRemaining--;}return remaining() - otherBuffer.remaining();}

[User] public int compareTo(FloatBuffer otherBuffer) {int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining(): otherBuffer.remaining();int thisPos = position;int otherPos = otherBuffer.position;float thisFloat, otherFloat;while (compareRemaining > 0) {thisFloat = get(thisPos);otherFloat = otherBuffer.get(otherPos);if ((thisFloat != otherFloat)&& ((thisFloat == thisFloat) || (otherFloat == otherFloat))) {return thisFloat < otherFloat ? -1 : 1;}thisPos++;otherPos++;compareRemaining--;}return remaining() - otherBuffer.remaining();}

[Assistant] public virtual int compareTo(java.nio.FloatBuffer otherBuffer){int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining() : otherBuffer.remaining();int thisPos = _position;int otherPos = otherBuffer._position;float thisFloat;float otherFloat;while (compareRemaining > 0){thisFloat = get(thisPos);otherFloat = otherBuffer.get(otherPos);if ((thisFloat != otherFloat) && ((thisFloat == thisFloat) || (otherFloat == otherFloat))){return thisFloat < otherFloat ? -1 : 1;}thisPos++;otherPos++;compareRemaining--;}return remaining() - otherBuffer.remaining();}


public Matcher useTransparentBounds(boolean value) {transparentBounds = value;useTransparentBoundsImpl(address, value);return this;}

public java.util.regex.Matcher useTransparentBounds(bool value){transparentBounds = value;useTransparentBoundsImpl(address, value);return this;}

[User] public Matcher useTransparentBounds(boolean value) {transparentBounds = value;useTransparentBoundsImpl(address, value);return this;}

[Assistant] public java.util.regex.Matcher useTransparentBounds(bool value){transparentBounds = value;useTransparentBoundsImpl(address, value);return this;}


public void remove() {if (lastEntryReturned == null)throw new IllegalStateException();if (modCount != expectedModCount)throw new ConcurrentModificationException();Hashtable.this.remove(lastEntryReturned.key);lastEntryReturned = null;expectedModCount = modCount;}

public virtual void remove(){if (this.lastEntryReturned == null){throw new System.InvalidOperationException();}if (this._enclosing.modCount != this.expectedModCount){throw new java.util.ConcurrentModificationException();}this._enclosing.remove(this.lastEntryReturned.key);this.lastEntryReturned = null;this.expectedModCount = this._enclosing.modCount;}

[User] public void remove() {if (lastEntryReturned == null)throw new IllegalStateException();if (modCount != expectedModCount)throw new ConcurrentModificationException();Hashtable.this.remove(lastEntryReturned.key);lastEntryReturned = null;expectedModCount = modCount;}

[Assistant] public virtual void remove(){if (this.lastEntryReturned == null){throw new System.InvalidOperationException();}if (this._enclosing.modCount != this.expectedModCount){throw new java.util.ConcurrentModificationException();}this._enclosing.remove(this.lastEntryReturned.key);this.lastEntryReturned = null;this.expectedModCount = this._enclosing.modCount;}


public String toFormulaString() {StringBuilder sb = new StringBuilder(64);if (externalWorkbookNumber >= 0) {sb.append('[');sb.append(externalWorkbookNumber);sb.append(']');}if (sheetName != null) {SheetNameFormatter.appendFormat(sb, sheetName);}sb.append('!');sb.append(FormulaError.REF.getString());return sb.toString();}

public override String ToFormulaString(){StringBuilder sb = new StringBuilder();if (externalWorkbookNumber >= 0){sb.Append('[');sb.Append(externalWorkbookNumber);sb.Append(']');}if (sheetName != null){sb.Append(sheetName);}sb.Append('!');sb.Append(ErrorConstants.GetText(ErrorConstants.ERROR_REF));return sb.ToString();}

[User] public String toFormulaString() {StringBuilder sb = new StringBuilder(64);if (externalWorkbookNumber >= 0) {sb.append('[');sb.append(externalWorkbookNumber);sb.append(']');}if (sheetName != null) {SheetNameFormatter.appendFormat(sb, sheetName);}sb.append('!');sb.append(FormulaError.REF.getString());return sb.toString();}

[Assistant] public override String ToFormulaString(){StringBuilder sb = new StringBuilder();if (externalWorkbookNumber >= 0){sb.Append('[');sb.Append(externalWorkbookNumber);sb.Append(']');}if (sheetName != null){sb.Append(sheetName);}sb.Append('!');sb.Append(ErrorConstants.GetText(ErrorConstants.ERROR_REF));return sb.ToString();}


public String toString() {return slice.toString()+":"+ postingsEnum;}

public override string ToString(){return "MultiDocsEnum(" + Arrays.ToString(Subs) + ")";}

[User] public String toString() {return slice.toString()+":"+ postingsEnum;}

[Assistant] public override string ToString(){return "MultiDocsEnum(" + Arrays.ToString(Subs) + ")";}


public CreateVpnConnectionRouteResult createVpnConnectionRoute(CreateVpnConnectionRouteRequest request) {request = beforeClientExecution(request);return executeCreateVpnConnectionRoute(request);}

public virtual CreateVpnConnectionRouteResponse CreateVpnConnectionRoute(CreateVpnConnectionRouteRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateVpnConnectionRouteRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateVpnConnectionRouteResponseUnmarshaller.Instance;return Invoke<CreateVpnConnectionRouteResponse>(request, options);}

[User] public CreateVpnConnectionRouteResult createVpnConnectionRoute(CreateVpnConnectionRouteRequest request) {request = beforeClientExecution(request);return executeCreateVpnConnectionRoute(request);}

[Assistant] public virtual CreateVpnConnectionRouteResponse CreateVpnConnectionRoute(CreateVpnConnectionRouteRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateVpnConnectionRouteRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateVpnConnectionRouteResponseUnmarshaller.Instance;return Invoke<CreateVpnConnectionRouteResponse>(request, options);}


public boolean hasNext() {return next != null;}

public virtual bool hasNext(){return this._next != null;}

[User] public boolean hasNext() {return next != null;}

[Assistant] public virtual bool hasNext(){return this._next != null;}


public DeleteDBSecurityGroupRequest(String dBSecurityGroupName) {setDBSecurityGroupName(dBSecurityGroupName);}

public DeleteDBSecurityGroupRequest(string dbSecurityGroupName){_dbSecurityGroupName = dbSecurityGroupName;}

[User] public DeleteDBSecurityGroupRequest(String dBSecurityGroupName) {setDBSecurityGroupName(dBSecurityGroupName);}

[Assistant] public DeleteDBSecurityGroupRequest(string dbSecurityGroupName){_dbSecurityGroupName = dbSecurityGroupName;}


public int compare(Property o1, Property o2){String VBA_PROJECT = "_VBA_PROJECT";String name1  = o1.getName();String name2  = o2.getName();int  result = name1.length() - name2.length();if (result == 0){if (name1.compareTo(VBA_PROJECT) == 0)result = 1;else if (name2.compareTo(VBA_PROJECT) == 0)result = -1;else{if (name1.startsWith("__") && name2.startsWith("__")){result = name1.compareToIgnoreCase(name2);}else if (name1.startsWith("__")){result = 1;}else if (name2.startsWith("__")){result = -1;}elseresult = name1.compareToIgnoreCase(name2);}}return result;}

public int Compare(Property o1, Property o2){String VBA_PROJECT = "_VBA_PROJECT";String name1 = ((Property)o1).Name;String name2 = ((Property)o2).Name;int num = name1.Length - name2.Length;if (num == 0){if (name1.Equals(VBA_PROJECT, StringComparison.CurrentCulture)){num = 1;}else if (name2.Equals(VBA_PROJECT, StringComparison.CurrentCulture)){num = -1;}else{if (name1.StartsWith("__", StringComparison.Ordinal) && name2.StartsWith("__", StringComparison.Ordinal)){num = String.Compare(name1, name2, StringComparison.OrdinalIgnoreCase);}else if (name1.StartsWith("__", StringComparison.Ordinal)){num = 1;}else if (name2.StartsWith("__", StringComparison.Ordinal)){num = -1;}else{num = String.Compare(name1, name2, StringComparison.OrdinalIgnoreCase);}}}return num;}

[User] public int compare(Property o1, Property o2){String VBA_PROJECT = "_VBA_PROJECT";String name1  = o1.getName();String name2  = o2.getName();int  result = name1.length() - name2.length();if (result == 0){if (name1.compareTo(VBA_PROJECT) == 0)result = 1;else if (name2.compareTo(VBA_PROJECT) == 0)result = -1;else{if (name1.startsWith("__") && name2.startsWith("__")){result = name1.compareToIgnoreCase(name2);}else if (name1.startsWith("__")){result = 1;}else if (name2.startsWith("__")){result = -1;}elseresult = name1.compareToIgnoreCase(name2);}}return result;}

[Assistant] public int Compare(Property o1, Property o2){String VBA_PROJECT = "_VBA_PROJECT";String name1 = ((Property)o1).Name;String name2 = ((Property)o2).Name;int num = name1.Length - name2.Length;if (num == 0){if (name1.Equals(VBA_PROJECT, StringComparison.CurrentCulture)){num = 1;}else if (name2.Equals(VBA_PROJECT, StringComparison.CurrentCulture)){num = -1;}else{if (name1.StartsWith("__", StringComparison.Ordinal) && name2.StartsWith("__", StringComparison.Ordinal)){num = String.Compare(name1, name2, StringComparison.OrdinalIgnoreCase);}else if (name1.StartsWith("__", StringComparison.Ordinal)){num = 1;}else if (name2.StartsWith("__", StringComparison.Ordinal)){num = -1;}else{num = String.Compare(name1, name2, StringComparison.OrdinalIgnoreCase);}}}return num;}


public DoubleBuffer get(double[] dst, int dstOffset, int doubleCount) {Arrays.checkOffsetAndCount(dst.length, dstOffset, doubleCount);if (doubleCount > remaining()) {throw new BufferUnderflowException();}for (int i = dstOffset; i < dstOffset + doubleCount; ++i) {dst[i] = get();}return this;}

public virtual java.nio.DoubleBuffer get(double[] dst, int dstOffset, int doubleCount){java.util.Arrays.checkOffsetAndCount(dst.Length, dstOffset, doubleCount);if (doubleCount > remaining()){throw new java.nio.BufferUnderflowException();}{for (int i = dstOffset; i < dstOffset + doubleCount; ++i){dst[i] = get();}}return this;}

[User] public DoubleBuffer get(double[] dst, int dstOffset, int doubleCount) {Arrays.checkOffsetAndCount(dst.length, dstOffset, doubleCount);if (doubleCount > remaining()) {throw new BufferUnderflowException();}for (int i = dstOffset; i < dstOffset + doubleCount; ++i) {dst[i] = get();}return this;}

[Assistant] public virtual java.nio.DoubleBuffer get(double[] dst, int dstOffset, int doubleCount){java.util.Arrays.checkOffsetAndCount(dst.Length, dstOffset, doubleCount);if (doubleCount > remaining()){throw new java.nio.BufferUnderflowException();}{for (int i = dstOffset; i < dstOffset + doubleCount; ++i){dst[i] = get();}}return this;}


public CharsRef add(CharsRef prefix, CharsRef output) {assert prefix != null;assert output != null;if (prefix == NO_OUTPUT) {return output;} else if (output == NO_OUTPUT) {return prefix;} else {assert prefix.length > 0;assert output.length > 0;CharsRef result = new CharsRef(prefix.length + output.length);System.arraycopy(prefix.chars, prefix.offset, result.chars, 0, prefix.length);System.arraycopy(output.chars, output.offset, result.chars, prefix.length, output.length);result.length = prefix.length + output.length;return result;}}

public override CharsRef Add(CharsRef prefix, CharsRef output){Debug.Assert(prefix != null);Debug.Assert(output != null);if (prefix == NO_OUTPUT){return output;}else if (output == NO_OUTPUT){return prefix;}else{Debug.Assert(prefix.Length > 0);Debug.Assert(output.Length > 0);var result = new CharsRef(prefix.Length + output.Length);Array.Copy(prefix.Chars, prefix.Offset, result.Chars, 0, prefix.Length);Array.Copy(output.Chars, output.Offset, result.Chars, prefix.Length, output.Length);result.Length = prefix.Length + output.Length;return result;}}

[User] public CharsRef add(CharsRef prefix, CharsRef output) {assert prefix != null;assert output != null;if (prefix == NO_OUTPUT) {return output;} else if (output == NO_OUTPUT) {return prefix;} else {assert prefix.length > 0;assert output.length > 0;CharsRef result = new CharsRef(prefix.length + output.length);System.arraycopy(prefix.chars, prefix.offset, result.chars, 0, prefix.length);System.arraycopy(output.chars, output.offset, result.chars, prefix.length, output.length);result.length = prefix.length + output.length;return result;}}

[Assistant] public override CharsRef Add(CharsRef prefix, CharsRef output){Debug.Assert(prefix != null);Debug.Assert(output != null);if (prefix == NO_OUTPUT){return output;}else if (output == NO_OUTPUT){return prefix;}else{Debug.Assert(prefix.Length > 0);Debug.Assert(output.Length > 0);var result = new CharsRef(prefix.Length + output.Length);Array.Copy(prefix.Chars, prefix.Offset, result.Chars, 0, prefix.Length);Array.Copy(output.Chars, output.Offset, result.Chars, prefix.Length, output.Length);result.Length = prefix.Length + output.Length;return result;}}


public UpdateProfileResult updateProfile(UpdateProfileRequest request) {request = beforeClientExecution(request);return executeUpdateProfile(request);}

public virtual UpdateProfileResponse UpdateProfile(UpdateProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateProfileResponseUnmarshaller.Instance;return Invoke<UpdateProfileResponse>(request, options);}

[User] public UpdateProfileResult updateProfile(UpdateProfileRequest request) {request = beforeClientExecution(request);return executeUpdateProfile(request);}

[Assistant] public virtual UpdateProfileResponse UpdateProfile(UpdateProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateProfileResponseUnmarshaller.Instance;return Invoke<UpdateProfileResponse>(request, options);}


public LikeThisQueryBuilder(Analyzer analyzer, String[] defaultFieldNames) {this.analyzer = analyzer;this.defaultFieldNames = defaultFieldNames;}

public LikeThisQueryBuilder(Analyzer analyzer, string[] defaultFieldNames){this.analyzer = analyzer;this.defaultFieldNames = defaultFieldNames;}

[User] public LikeThisQueryBuilder(Analyzer analyzer, String[] defaultFieldNames) {this.analyzer = analyzer;this.defaultFieldNames = defaultFieldNames;}

[Assistant] public LikeThisQueryBuilder(Analyzer analyzer, string[] defaultFieldNames){this.analyzer = analyzer;this.defaultFieldNames = defaultFieldNames;}


public StringBuffer insert(int index, long l) {return insert(index, Long.toString(l));}

public java.lang.StringBuffer insert(int index, long l){return insert(index, System.Convert.ToString(l));}

[User] public StringBuffer insert(int index, long l) {return insert(index, Long.toString(l));}

[Assistant] public java.lang.StringBuffer insert(int index, long l){return insert(index, System.Convert.ToString(l));}


public Field(String name, BytesRef bytes, IndexableFieldType type) {if (name == null) {throw new IllegalArgumentException("name must not be null");}if (bytes == null) {throw new IllegalArgumentException("bytes must not be null");}if (type == null) {throw new IllegalArgumentException("type must not be null");}this.name = name;this.fieldsData = bytes;this.type = type;}

public Field(string name, BytesRef bytes, FieldType type){if (name == null){throw new System.ArgumentNullException("name", "name cannot be null");}if (type == null){throw new System.ArgumentNullException("type", "type cannot be null");}if (type.IsIndexed){throw new System.ArgumentException("Fields with BytesRef values cannot be indexed");}this.FieldsData = bytes;this.m_type = type;this.m_name = name;}

[User] public Field(String name, BytesRef bytes, IndexableFieldType type) {if (name == null) {throw new IllegalArgumentException("name must not be null");}if (bytes == null) {throw new IllegalArgumentException("bytes must not be null");}if (type == null) {throw new IllegalArgumentException("type must not be null");}this.name = name;this.fieldsData = bytes;this.type = type;}

[Assistant] public Field(string name, BytesRef bytes, FieldType type){if (name == null){throw new System.ArgumentNullException("name", "name cannot be null");}if (type == null){throw new System.ArgumentNullException("type", "type cannot be null");}if (type.IsIndexed){throw new System.ArgumentException("Fields with BytesRef values cannot be indexed");}this.FieldsData = bytes;this.m_type = type;this.m_name = name;}


[User] public void clear() {mSize = 0;}

[Assistant] public virtual void clear(){mSize = 0;}


public SrndQuery parse2(String query) throws ParseException {ReInit(new FastCharStream(new StringReader(query)));try {return TopSrndQuery();} catch (TokenMgrError tme) {throw new ParseException(tme.getMessage());}}

public virtual SrndQuery Parse2(string query){ReInit(new FastCharStream(new StringReader(query)));try{return TopSrndQuery();}catch (TokenMgrError tme){throw new ParseException(tme.Message);}}

[User] public SrndQuery parse2(String query) throws ParseException {ReInit(new FastCharStream(new StringReader(query)));try {return TopSrndQuery();} catch (TokenMgrError tme) {throw new ParseException(tme.getMessage());}}

[Assistant] public virtual SrndQuery Parse2(string query){ReInit(new FastCharStream(new StringReader(query)));try{return TopSrndQuery();}catch (TokenMgrError tme){throw new ParseException(tme.Message);}}


@Override public int size() {return (int) Math.min(this.size, Integer.MAX_VALUE);}

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

[User] @Override public int size() {return (int) Math.min(this.size, Integer.MAX_VALUE);}

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


public DescribeConfigurationResult describeConfiguration(DescribeConfigurationRequest request) {request = beforeClientExecution(request);return executeDescribeConfiguration(request);}

public virtual DescribeConfigurationResponse DescribeConfiguration(DescribeConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeConfigurationResponseUnmarshaller.Instance;return Invoke<DescribeConfigurationResponse>(request, options);}

[User] public DescribeConfigurationResult describeConfiguration(DescribeConfigurationRequest request) {request = beforeClientExecution(request);return executeDescribeConfiguration(request);}

[Assistant] public virtual DescribeConfigurationResponse DescribeConfiguration(DescribeConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeConfigurationResponseUnmarshaller.Instance;return Invoke<DescribeConfigurationResponse>(request, options);}


public String getCharErrorDisplay(int c) {String s = getErrorDisplay(c);return "'"+s+"'";}

public virtual string GetCharErrorDisplay(int c){string s = GetErrorDisplay(c);return "'" + s + "'";}

[User] public String getCharErrorDisplay(int c) {String s = getErrorDisplay(c);return "'"+s+"'";}

[Assistant] public virtual string GetCharErrorDisplay(int c){string s = GetErrorDisplay(c);return "'" + s + "'";}


public DescribeHumanTaskUiResult describeHumanTaskUi(DescribeHumanTaskUiRequest request) {request = beforeClientExecution(request);return executeDescribeHumanTaskUi(request);}

public virtual DescribeHumanTaskUiResponse DescribeHumanTaskUi(DescribeHumanTaskUiRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeHumanTaskUiRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeHumanTaskUiResponseUnmarshaller.Instance;return Invoke<DescribeHumanTaskUiResponse>(request, options);}

[User] public DescribeHumanTaskUiResult describeHumanTaskUi(DescribeHumanTaskUiRequest request) {request = beforeClientExecution(request);return executeDescribeHumanTaskUi(request);}

[Assistant] public virtual DescribeHumanTaskUiResponse DescribeHumanTaskUi(DescribeHumanTaskUiRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeHumanTaskUiRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeHumanTaskUiResponseUnmarshaller.Instance;return Invoke<DescribeHumanTaskUiResponse>(request, options);}


public void run() {try {int n = task.runAndMaybeStats(letChildReport);if (anyExhaustibleTasks) {updateExhausted(task);}count += n;} catch (NoMoreDataException e) {exhausted = true;} catch (Exception e) {throw new RuntimeException(e);}}

public override void Run(){try{int n = task.RunAndMaybeStats(outerInstance.letChildReport);if (outerInstance.anyExhaustibleTasks){outerInstance.UpdateExhausted(task);}count += n;}catch (NoMoreDataException){outerInstance.exhausted = true;}catch (Exception e){throw new Exception(e.ToString(), e);}}

[User] public void run() {try {int n = task.runAndMaybeStats(letChildReport);if (anyExhaustibleTasks) {updateExhausted(task);}count += n;} catch (NoMoreDataException e) {exhausted = true;} catch (Exception e) {throw new RuntimeException(e);}}

[Assistant] public override void Run(){try{int n = task.RunAndMaybeStats(outerInstance.letChildReport);if (outerInstance.anyExhaustibleTasks){outerInstance.UpdateExhausted(task);}count += n;}catch (NoMoreDataException){outerInstance.exhausted = true;}catch (Exception e){throw new Exception(e.ToString(), e);}}


public DescribeImagePermissionsResult describeImagePermissions(DescribeImagePermissionsRequest request) {request = beforeClientExecution(request);return executeDescribeImagePermissions(request);}

public virtual DescribeImagePermissionsResponse DescribeImagePermissions(DescribeImagePermissionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeImagePermissionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeImagePermissionsResponseUnmarshaller.Instance;return Invoke<DescribeImagePermissionsResponse>(request, options);}

[User] public DescribeImagePermissionsResult describeImagePermissions(DescribeImagePermissionsRequest request) {request = beforeClientExecution(request);return executeDescribeImagePermissions(request);}

[Assistant] public virtual DescribeImagePermissionsResponse DescribeImagePermissions(DescribeImagePermissionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeImagePermissionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeImagePermissionsResponseUnmarshaller.Instance;return Invoke<DescribeImagePermissionsResponse>(request, options);}


public SrndQuery clone() {try {return (SrndQuery)super.clone();} catch (CloneNotSupportedException cns) {throw new Error(cns);}}

public virtual object Clone(){object clone = null;try{clone = base.MemberwiseClone();}catch (Exception e){throw new InvalidOperationException(e.Message, e); }return clone;}

[User] public SrndQuery clone() {try {return (SrndQuery)super.clone();} catch (CloneNotSupportedException cns) {throw new Error(cns);}}

[Assistant] public virtual object Clone(){object clone = null;try{clone = base.MemberwiseClone();}catch (Exception e){throw new InvalidOperationException(e.Message, e); }return clone;}


public void recycleByteBlocks(byte[][] blocks, int start, int end) {final int numBlocks = Math.min(maxBufferedBlocks - freeBlocks, end - start);final int size = freeBlocks + numBlocks;if (size >= freeByteBlocks.length) {final byte[][] newBlocks = new byte[ArrayUtil.oversize(size,RamUsageEstimator.NUM_BYTES_OBJECT_REF)][];System.arraycopy(freeByteBlocks, 0, newBlocks, 0, freeBlocks);freeByteBlocks = newBlocks;}final int stop = start + numBlocks;for (int i = start; i < stop; i++) {freeByteBlocks[freeBlocks++] = blocks[i];blocks[i] = null;}for (int i = stop; i < end; i++) {blocks[i] = null;}bytesUsed.addAndGet(-(end - stop) * blockSize);assert bytesUsed.get() >= 0;}

public override void RecycleByteBlocks(byte[][] blocks, int start, int end){int numBlocks = Math.Min(maxBufferedBlocks - freeBlocks, end - start);int size = freeBlocks + numBlocks;if (size >= freeByteBlocks.Length){var newBlocks = new byte[ArrayUtil.Oversize(size, RamUsageEstimator.NUM_BYTES_OBJECT_REF)][];Array.Copy(freeByteBlocks, 0, newBlocks, 0, freeBlocks);freeByteBlocks = newBlocks;}int stop = start + numBlocks;for (int i = start; i < stop; i++){freeByteBlocks[freeBlocks++] = blocks[i];blocks[i] = null;}for (int i = stop; i < end; i++){blocks[i] = null;}bytesUsed.AddAndGet(-(end - stop) * m_blockSize);Debug.Assert(bytesUsed.Get() >= 0);}

[User] public void recycleByteBlocks(byte[][] blocks, int start, int end) {final int numBlocks = Math.min(maxBufferedBlocks - freeBlocks, end - start);final int size = freeBlocks + numBlocks;if (size >= freeByteBlocks.length) {final byte[][] newBlocks = new byte[ArrayUtil.oversize(size,RamUsageEstimator.NUM_BYTES_OBJECT_REF)][];System.arraycopy(freeByteBlocks, 0, newBlocks, 0, freeBlocks);freeByteBlocks = newBlocks;}final int stop = start + numBlocks;for (int i = start; i < stop; i++) {freeByteBlocks[freeBlocks++] = blocks[i];blocks[i] = null;}for (int i = stop; i < end; i++) {blocks[i] = null;}bytesUsed.addAndGet(-(end - stop) * blockSize);assert bytesUsed.get() >= 0;}

[Assistant] public override void RecycleByteBlocks(byte[][] blocks, int start, int end){int numBlocks = Math.Min(maxBufferedBlocks - freeBlocks, end - start);int size = freeBlocks + numBlocks;if (size >= freeByteBlocks.Length){var newBlocks = new byte[ArrayUtil.Oversize(size, RamUsageEstimator.NUM_BYTES_OBJECT_REF)][];Array.Copy(freeByteBlocks, 0, newBlocks, 0, freeBlocks);freeByteBlocks = newBlocks;}int stop = start + numBlocks;for (int i = start; i < stop; i++){freeByteBlocks[freeBlocks++] = blocks[i];blocks[i] = null;}for (int i = stop; i < end; i++){blocks[i] = null;}bytesUsed.AddAndGet(-(end - stop) * m_blockSize);Debug.Assert(bytesUsed.Get() >= 0);}


public GeohashPrefixTree(SpatialContext ctx, int maxLevels) {super(ctx, maxLevels);Rectangle bounds = ctx.getWorldBounds();if (bounds.getMinX() != -180)throw new IllegalArgumentException("Geohash only supports lat-lon world bounds. Got "+bounds);int MAXP = getMaxLevelsPossible();if (maxLevels <= 0 || maxLevels > MAXP)throw new IllegalArgumentException("maxLevels must be [1-"+MAXP+"] but got "+ maxLevels);}

public GeohashPrefixTree(SpatialContext ctx, int maxLevels): base(ctx, maxLevels){IRectangle bounds = ctx.WorldBounds;if (bounds.MinX != -180){throw new ArgumentException("Geohash only supports lat-lon world bounds. Got " + bounds);}int Maxp = MaxLevelsPossible;if (maxLevels <= 0 || maxLevels > Maxp){throw new ArgumentException("maxLen must be [1-" + Maxp + "] but got " + maxLevels);}}

[User] public GeohashPrefixTree(SpatialContext ctx, int maxLevels) {super(ctx, maxLevels);Rectangle bounds = ctx.getWorldBounds();if (bounds.getMinX() != -180)throw new IllegalArgumentException("Geohash only supports lat-lon world bounds. Got "+bounds);int MAXP = getMaxLevelsPossible();if (maxLevels <= 0 || maxLevels > MAXP)throw new IllegalArgumentException("maxLevels must be [1-"+MAXP+"] but got "+ maxLevels);}

[Assistant] public GeohashPrefixTree(SpatialContext ctx, int maxLevels): base(ctx, maxLevels){IRectangle bounds = ctx.WorldBounds;if (bounds.MinX != -180){throw new ArgumentException("Geohash only supports lat-lon world bounds. Got " + bounds);}int Maxp = MaxLevelsPossible;if (maxLevels <= 0 || maxLevels > Maxp){throw new ArgumentException("maxLen must be [1-" + Maxp + "] but got " + maxLevels);}}


public void removeName(int namenum) {_definedNames.remove(namenum);}

public void RemoveName(int namenum){_definedNames.RemoveAt(namenum);}

[User] public void removeName(int namenum) {_definedNames.remove(namenum);}

[Assistant] public void RemoveName(int namenum){_definedNames.RemoveAt(namenum);}


public CancelSpotFleetRequestsResult cancelSpotFleetRequests(CancelSpotFleetRequestsRequest request) {request = beforeClientExecution(request);return executeCancelSpotFleetRequests(request);}

public virtual CancelSpotFleetRequestsResponse CancelSpotFleetRequests(CancelSpotFleetRequestsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CancelSpotFleetRequestsRequestMarshaller.Instance;options.ResponseUnmarshaller = CancelSpotFleetRequestsResponseUnmarshaller.Instance;return Invoke<CancelSpotFleetRequestsResponse>(request, options);}

[User] public CancelSpotFleetRequestsResult cancelSpotFleetRequests(CancelSpotFleetRequestsRequest request) {request = beforeClientExecution(request);return executeCancelSpotFleetRequests(request);}

[Assistant] public virtual CancelSpotFleetRequestsResponse CancelSpotFleetRequests(CancelSpotFleetRequestsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CancelSpotFleetRequestsRequestMarshaller.Instance;options.ResponseUnmarshaller = CancelSpotFleetRequestsResponseUnmarshaller.Instance;return Invoke<CancelSpotFleetRequestsResponse>(request, options);}


public GetIndustryInfoLineageListRequest() {super("industry-brain", "2018-07-12", "GetIndustryInfoLineageList");setProtocol(ProtocolType.HTTPS);}

public GetIndustryInfoLineageListRequest(): base("industry-brain", "2018-07-12", "GetIndustryInfoLineageList"){Protocol = ProtocolType.HTTPS;}

[User] public GetIndustryInfoLineageListRequest() {super("industry-brain", "2018-07-12", "GetIndustryInfoLineageList");setProtocol(ProtocolType.HTTPS);}

[Assistant] public GetIndustryInfoLineageListRequest(): base("industry-brain", "2018-07-12", "GetIndustryInfoLineageList"){Protocol = ProtocolType.HTTPS;}


public static double[] grow(double[] array, int minSize) {assert minSize >= 0: "size must be positive (got " + minSize + "): likely integer overflow?";if (array.length < minSize) {return growExact(array, oversize(minSize, Double.BYTES));} elsereturn array;}

public static double[] Grow(double[] array, int minSize){Debug.Assert(minSize >= 0, "size must be positive (got " + minSize + "): likely integer overflow?");if (array.Length < minSize){double[] newArray = new double[Oversize(minSize, RamUsageEstimator.NUM_BYTES_DOUBLE)];Array.Copy(array, 0, newArray, 0, array.Length);return newArray;}else{return array;}}

[User] public static double[] grow(double[] array, int minSize) {assert minSize >= 0: "size must be positive (got " + minSize + "): likely integer overflow?";if (array.length < minSize) {return growExact(array, oversize(minSize, Double.BYTES));} elsereturn array;}

[Assistant] public static double[] Grow(double[] array, int minSize){Debug.Assert(minSize >= 0, "size must be positive (got " + minSize + "): likely integer overflow?");if (array.Length < minSize){double[] newArray = new double[Oversize(minSize, RamUsageEstimator.NUM_BYTES_DOUBLE)];Array.Copy(array, 0, newArray, 0, array.Length);return newArray;}else{return array;}}


public void setResult(RefUpdate.Result status) {result = status;super.setResult(status);}

public override void SetResult(RefUpdate.Result status){this._enclosing.result = status;base.SetResult(status);}

[User] public void setResult(RefUpdate.Result status) {result = status;super.setResult(status);}

[Assistant] public override void SetResult(RefUpdate.Result status){this._enclosing.result = status;base.SetResult(status);}


public void decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations) {for (int i = 0; i < iterations; ++i) {final int byte0 = blocks[blocksOffset++] & 0xFF;final int byte1 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 2) | (byte1 >>> 6);final int byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte1 & 63) << 4) | (byte2 >>> 4);final int byte3 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte2 & 15) << 6) | (byte3 >>> 2);final int byte4 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte3 & 3) << 8) | byte4;}}

public override void Decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations){for (int i = 0; i < iterations; ++i){int byte0 = blocks[blocksOffset++] & 0xFF;int byte1 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 2) | ((int)((uint)byte1 >> 6));int byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte1 & 63) << 4) | ((int)((uint)byte2 >> 4));int byte3 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte2 & 15) << 6) | ((int)((uint)byte3 >> 2));int byte4 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte3 & 3) << 8) | byte4;}}

[User] public void decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations) {for (int i = 0; i < iterations; ++i) {final int byte0 = blocks[blocksOffset++] & 0xFF;final int byte1 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 2) | (byte1 >>> 6);final int byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte1 & 63) << 4) | (byte2 >>> 4);final int byte3 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte2 & 15) << 6) | (byte3 >>> 2);final int byte4 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte3 & 3) << 8) | byte4;}}

[Assistant] public override void Decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations){for (int i = 0; i < iterations; ++i){int byte0 = blocks[blocksOffset++] & 0xFF;int byte1 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 2) | ((int)((uint)byte1 >> 6));int byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte1 & 63) << 4) | ((int)((uint)byte2 >> 4));int byte3 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte2 & 15) << 6) | ((int)((uint)byte3 >> 2));int byte4 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte3 & 3) << 8) | byte4;}}


public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1, ValueEval arg2) {try {ValueEval ve = OperandResolver.getSingleValue(arg0, srcRowIndex, srcColumnIndex);final double result = OperandResolver.coerceValueToDouble(ve);if (Double.isNaN(result) || Double.isInfinite(result)) {throw new EvaluationException(ErrorEval.NUM_ERROR);}ve = OperandResolver.getSingleValue(arg2, srcRowIndex, srcColumnIndex);int order_value = OperandResolver.coerceValueToInt(ve);final boolean order;if (order_value==0) {order = true;} else if(order_value==1) {order = false;} else {throw new EvaluationException(ErrorEval.NUM_ERROR);}if (arg1 instanceof RefListEval) {return eval(result, ((RefListEval)arg1), order);}final AreaEval aeRange = convertRangeArg(arg1);return eval(result, aeRange, order);} catch (EvaluationException e) {return e.getErrorEval();}}

public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1, ValueEval arg2){AreaEval aeRange;double result;bool order = false;try{ValueEval ve = OperandResolver.GetSingleValue(arg0, srcRowIndex, srcColumnIndex);result = OperandResolver.CoerceValueToDouble(ve);if (Double.IsNaN(result) || Double.IsInfinity(result)){throw new EvaluationException(ErrorEval.NUM_ERROR);}aeRange = ConvertRangeArg(arg1);ve = OperandResolver.GetSingleValue(arg2, srcRowIndex, srcColumnIndex);int order_value = OperandResolver.CoerceValueToInt(ve);if (order_value == 0){order = true;}else if (order_value == 1){order = false;}else throw new EvaluationException(ErrorEval.NUM_ERROR);}catch (EvaluationException e){return e.GetErrorEval();}return eval(srcRowIndex, srcColumnIndex, result, aeRange, order);}

[User] public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1, ValueEval arg2) {try {ValueEval ve = OperandResolver.getSingleValue(arg0, srcRowIndex, srcColumnIndex);final double result = OperandResolver.coerceValueToDouble(ve);if (Double.isNaN(result) || Double.isInfinite(result)) {throw new EvaluationException(ErrorEval.NUM_ERROR);}ve = OperandResolver.getSingleValue(arg2, srcRowIndex, srcColumnIndex);int order_value = OperandResolver.coerceValueToInt(ve);final boolean order;if (order_value==0) {order = true;} else if(order_value==1) {order = false;} else {throw new EvaluationException(ErrorEval.NUM_ERROR);}if (arg1 instanceof RefListEval) {return eval(result, ((RefListEval)arg1), order);}final AreaEval aeRange = convertRangeArg(arg1);return eval(result, aeRange, order);} catch (EvaluationException e) {return e.getErrorEval();}}

[Assistant] public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1, ValueEval arg2){AreaEval aeRange;double result;bool order = false;try{ValueEval ve = OperandResolver.GetSingleValue(arg0, srcRowIndex, srcColumnIndex);result = OperandResolver.CoerceValueToDouble(ve);if (Double.IsNaN(result) || Double.IsInfinity(result)){throw new EvaluationException(ErrorEval.NUM_ERROR);}aeRange = ConvertRangeArg(arg1);ve = OperandResolver.GetSingleValue(arg2, srcRowIndex, srcColumnIndex);int order_value = OperandResolver.CoerceValueToInt(ve);if (order_value == 0){order = true;}else if (order_value == 1){order = false;}else throw new EvaluationException(ErrorEval.NUM_ERROR);}catch (EvaluationException e){return e.GetErrorEval();}return eval(srcRowIndex, srcColumnIndex, result, aeRange, order);}


public DeleteEventBusResult deleteEventBus(DeleteEventBusRequest request) {request = beforeClientExecution(request);return executeDeleteEventBus(request);}

public virtual DeleteEventBusResponse DeleteEventBus(DeleteEventBusRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEventBusRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEventBusResponseUnmarshaller.Instance;return Invoke<DeleteEventBusResponse>(request, options);}

[User] public DeleteEventBusResult deleteEventBus(DeleteEventBusRequest request) {request = beforeClientExecution(request);return executeDeleteEventBus(request);}

[Assistant] public virtual DeleteEventBusResponse DeleteEventBus(DeleteEventBusRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEventBusRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEventBusResponseUnmarshaller.Instance;return Invoke<DeleteEventBusResponse>(request, options);}


public static ByteBuffer wrap(byte[] array, int start, int byteCount) {Arrays.checkOffsetAndCount(array.length, start, byteCount);ByteBuffer buf = new ReadWriteHeapByteBuffer(array);buf.position = start;buf.limit = start + byteCount;return buf;}

public static java.nio.ByteBuffer wrap(byte[] array_1, int start, int byteCount){java.util.Arrays.checkOffsetAndCount(array_1.Length, start, byteCount);java.nio.ByteBuffer buf = new java.nio.ReadWriteHeapByteBuffer(array_1);buf._position = start;buf._limit = start + byteCount;return buf;}

[User] public static ByteBuffer wrap(byte[] array, int start, int byteCount) {Arrays.checkOffsetAndCount(array.length, start, byteCount);ByteBuffer buf = new ReadWriteHeapByteBuffer(array);buf.position = start;buf.limit = start + byteCount;return buf;}

[Assistant] public static java.nio.ByteBuffer wrap(byte[] array_1, int start, int byteCount){java.util.Arrays.checkOffsetAndCount(array_1.Length, start, byteCount);java.nio.ByteBuffer buf = new java.nio.ReadWriteHeapByteBuffer(array_1);buf._position = start;buf._limit = start + byteCount;return buf;}


public String apiVersion() {return this.apiVersion;}

public string ApiVersion { get; private set; }

[User] public String apiVersion() {return this.apiVersion;}

[Assistant] public string ApiVersion { get; private set; }


public SearchResult search(SearchRequest request) {request = beforeClientExecution(request);return executeSearch(request);}

public virtual SearchResponse Search(SearchRequest request){var options = new InvokeOptions();options.RequestMarshaller = SearchRequestMarshaller.Instance;options.ResponseUnmarshaller = SearchResponseUnmarshaller.Instance;return Invoke<SearchResponse>(request, options);}

[User] public SearchResult search(SearchRequest request) {request = beforeClientExecution(request);return executeSearch(request);}

[Assistant] public virtual SearchResponse Search(SearchRequest request){var options = new InvokeOptions();options.RequestMarshaller = SearchRequestMarshaller.Instance;options.ResponseUnmarshaller = SearchResponseUnmarshaller.Instance;return Invoke<SearchResponse>(request, options);}


public PushCommand setRemote(String remote) {checkCallable();this.remote = remote;return this;}

public virtual NGit.Api.PushCommand SetRemote(string remote){CheckCallable();this.remote = remote;return this;}

[User] public PushCommand setRemote(String remote) {checkCallable();this.remote = remote;return this;}

[Assistant] public virtual NGit.Api.PushCommand SetRemote(string remote){CheckCallable();this.remote = remote;return this;}


public AcceptReservedInstancesExchangeQuoteResult acceptReservedInstancesExchangeQuote(AcceptReservedInstancesExchangeQuoteRequest request) {request = beforeClientExecution(request);return executeAcceptReservedInstancesExchangeQuote(request);}

public virtual AcceptReservedInstancesExchangeQuoteResponse AcceptReservedInstancesExchangeQuote(AcceptReservedInstancesExchangeQuoteRequest request){var options = new InvokeOptions();options.RequestMarshaller = AcceptReservedInstancesExchangeQuoteRequestMarshaller.Instance;options.ResponseUnmarshaller = AcceptReservedInstancesExchangeQuoteResponseUnmarshaller.Instance;return Invoke<AcceptReservedInstancesExchangeQuoteResponse>(request, options);}

[User] public AcceptReservedInstancesExchangeQuoteResult acceptReservedInstancesExchangeQuote(AcceptReservedInstancesExchangeQuoteRequest request) {request = beforeClientExecution(request);return executeAcceptReservedInstancesExchangeQuote(request);}

[Assistant] public virtual AcceptReservedInstancesExchangeQuoteResponse AcceptReservedInstancesExchangeQuote(AcceptReservedInstancesExchangeQuoteRequest request){var options = new InvokeOptions();options.RequestMarshaller = AcceptReservedInstancesExchangeQuoteRequestMarshaller.Instance;options.ResponseUnmarshaller = AcceptReservedInstancesExchangeQuoteResponseUnmarshaller.Instance;return Invoke<AcceptReservedInstancesExchangeQuoteResponse>(request, options);}


public GetAuthorizationTokenResult getAuthorizationToken(GetAuthorizationTokenRequest request) {request = beforeClientExecution(request);return executeGetAuthorizationToken(request);}

public virtual GetAuthorizationTokenResponse GetAuthorizationToken(GetAuthorizationTokenRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetAuthorizationTokenRequestMarshaller.Instance;options.ResponseUnmarshaller = GetAuthorizationTokenResponseUnmarshaller.Instance;return Invoke<GetAuthorizationTokenResponse>(request, options);}

[User] public GetAuthorizationTokenResult getAuthorizationToken(GetAuthorizationTokenRequest request) {request = beforeClientExecution(request);return executeGetAuthorizationToken(request);}

[Assistant] public virtual GetAuthorizationTokenResponse GetAuthorizationToken(GetAuthorizationTokenRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetAuthorizationTokenRequestMarshaller.Instance;options.ResponseUnmarshaller = GetAuthorizationTokenResponseUnmarshaller.Instance;return Invoke<GetAuthorizationTokenResponse>(request, options);}


public static InitCommand init() {return new InitCommand();}

public static InitCommand Init(){return new InitCommand();}

[User] public static InitCommand init() {return new InitCommand();}

[Assistant] public static InitCommand Init(){return new InitCommand();}


public static RevFilter create(Collection<RevFilter> list) {if (list.size() < 2)throw new IllegalArgumentException(JGitText.get().atLeastTwoFiltersNeeded);final RevFilter[] subfilters = new RevFilter[list.size()];list.toArray(subfilters);if (subfilters.length == 2)return create(subfilters[0], subfilters[1]);return new List(subfilters);}

public static RevFilter Create(ICollection<RevFilter> list){if (list.Count < 2){throw new ArgumentException(JGitText.Get().atLeastTwoFiltersNeeded);}RevFilter[] subfilters = new RevFilter[list.Count];Sharpen.Collections.ToArray(list, subfilters);if (subfilters.Length == 2){return Create(subfilters[0], subfilters[1]);}return new AndRevFilter.List(subfilters);}

[User] public static RevFilter create(Collection<RevFilter> list) {if (list.size() < 2)throw new IllegalArgumentException(JGitText.get().atLeastTwoFiltersNeeded);final RevFilter[] subfilters = new RevFilter[list.size()];list.toArray(subfilters);if (subfilters.length == 2)return create(subfilters[0], subfilters[1]);return new List(subfilters);}

[Assistant] public static RevFilter Create(ICollection<RevFilter> list){if (list.Count < 2){throw new ArgumentException(JGitText.Get().atLeastTwoFiltersNeeded);}RevFilter[] subfilters = new RevFilter[list.Count];Sharpen.Collections.ToArray(list, subfilters);if (subfilters.Length == 2){return Create(subfilters[0], subfilters[1]);}return new AndRevFilter.List(subfilters);}


public static PredictionContext mergeRoot(SingletonPredictionContext a,SingletonPredictionContext b,boolean rootIsWildcard){if ( rootIsWildcard ) {if ( a == EMPTY ) return EMPTY;  if ( b == EMPTY ) return EMPTY;  }else {if ( a == EMPTY && b == EMPTY ) return EMPTY; if ( a == EMPTY ) { int[] payloads = {b.returnState, EMPTY_RETURN_STATE};PredictionContext[] parents = {b.parent, null};PredictionContext joined =new ArrayPredictionContext(parents, payloads);return joined;}if ( b == EMPTY ) { int[] payloads = {a.returnState, EMPTY_RETURN_STATE};PredictionContext[] parents = {a.parent, null};PredictionContext joined =new ArrayPredictionContext(parents, payloads);return joined;}}return null;}

public static PredictionContext MergeRoot(SingletonPredictionContext a,SingletonPredictionContext b,bool rootIsWildcard){if (rootIsWildcard){if (a == PredictionContext.EMPTY)return PredictionContext.EMPTY;  if (b == PredictionContext.EMPTY)return PredictionContext.EMPTY;  }else {if (a == EMPTY && b == EMPTY) return EMPTY; if (a == EMPTY){ int[] payloads = { b.returnState, EMPTY_RETURN_STATE };PredictionContext[] parents = { b.parent, null };PredictionContext joined =new ArrayPredictionContext(parents, payloads);return joined;}if (b == EMPTY){ int[] payloads = { a.returnState, EMPTY_RETURN_STATE };PredictionContext[] parents = { a.parent, null };PredictionContext joined =new ArrayPredictionContext(parents, payloads);return joined;}}return null;}

[User] public static PredictionContext mergeRoot(SingletonPredictionContext a,SingletonPredictionContext b,boolean rootIsWildcard){if ( rootIsWildcard ) {if ( a == EMPTY ) return EMPTY;  if ( b == EMPTY ) return EMPTY;  }else {if ( a == EMPTY && b == EMPTY ) return EMPTY; if ( a == EMPTY ) { int[] payloads = {b.returnState, EMPTY_RETURN_STATE};PredictionContext[] parents = {b.parent, null};PredictionContext joined =new ArrayPredictionContext(parents, payloads);return joined;}if ( b == EMPTY ) { int[] payloads = {a.returnState, EMPTY_RETURN_STATE};PredictionContext[] parents = {a.parent, null};PredictionContext joined =new ArrayPredictionContext(parents, payloads);return joined;}}return null;}

[Assistant] public static PredictionContext MergeRoot(SingletonPredictionContext a,SingletonPredictionContext b,bool rootIsWildcard){if (rootIsWildcard){if (a == PredictionContext.EMPTY)return PredictionContext.EMPTY;  if (b == PredictionContext.EMPTY)return PredictionContext.EMPTY;  }else {if (a == EMPTY && b == EMPTY) return EMPTY; if (a == EMPTY){ int[] payloads = { b.returnState, EMPTY_RETURN_STATE };PredictionContext[] parents = { b.parent, null };PredictionContext joined =new ArrayPredictionContext(parents, payloads);return joined;}if (b == EMPTY){ int[] payloads = { a.returnState, EMPTY_RETURN_STATE };PredictionContext[] parents = { a.parent, null };PredictionContext joined =new ArrayPredictionContext(parents, payloads);return joined;}}return null;}


public ListTerminologiesResult listTerminologies(ListTerminologiesRequest request) {request = beforeClientExecution(request);return executeListTerminologies(request);}

public virtual ListTerminologiesResponse ListTerminologies(ListTerminologiesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTerminologiesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTerminologiesResponseUnmarshaller.Instance;return Invoke<ListTerminologiesResponse>(request, options);}

[User] public ListTerminologiesResult listTerminologies(ListTerminologiesRequest request) {request = beforeClientExecution(request);return executeListTerminologies(request);}

[Assistant] public virtual ListTerminologiesResponse ListTerminologies(ListTerminologiesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTerminologiesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTerminologiesResponseUnmarshaller.Instance;return Invoke<ListTerminologiesResponse>(request, options);}


public ModifyInstanceGroupsRequest(List<InstanceGroupModifyConfig> instanceGroups){_instanceGroups = instanceGroups;}

[User] public ModifyInstanceGroupsRequest(java.util.List<InstanceGroupModifyConfig> instanceGroups) {setInstanceGroups(instanceGroups);}

[Assistant] public ModifyInstanceGroupsRequest(List<InstanceGroupModifyConfig> instanceGroups){_instanceGroups = instanceGroups;}


public String toString() {return "AnyObjectId[" + name() + "]";}

public override string ToString(){return "AnyObjectId[" + Name + "]";}

[User] public String toString() {return "AnyObjectId[" + name() + "]";}

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


public long ramBytesUsed() {long ramBytesUsed = postingsReader.ramBytesUsed();for (TermsReader r : fields.values()) {ramBytesUsed += r.ramBytesUsed();}return ramBytesUsed;}

public override long RamBytesUsed(){long ramBytesUsed = 0;foreach (TermsReader r in fields.Values){if (r.index != null){ramBytesUsed += r.index.GetSizeInBytes();ramBytesUsed += RamUsageEstimator.SizeOf(r.metaBytesBlock);ramBytesUsed += RamUsageEstimator.SizeOf(r.metaLongsBlock);ramBytesUsed += RamUsageEstimator.SizeOf(r.skipInfo);ramBytesUsed += RamUsageEstimator.SizeOf(r.statsBlock);}}return ramBytesUsed;}

[User] public long ramBytesUsed() {long ramBytesUsed = postingsReader.ramBytesUsed();for (TermsReader r : fields.values()) {ramBytesUsed += r.ramBytesUsed();}return ramBytesUsed;}

[Assistant] public override long RamBytesUsed(){long ramBytesUsed = 0;foreach (TermsReader r in fields.Values){if (r.index != null){ramBytesUsed += r.index.GetSizeInBytes();ramBytesUsed += RamUsageEstimator.SizeOf(r.metaBytesBlock);ramBytesUsed += RamUsageEstimator.SizeOf(r.metaLongsBlock);ramBytesUsed += RamUsageEstimator.SizeOf(r.skipInfo);ramBytesUsed += RamUsageEstimator.SizeOf(r.statsBlock);}}return ramBytesUsed;}


public static final ObjectId fromRaw(int[] is, int p) {return new ObjectId(is[p], is[p + 1], is[p + 2], is[p + 3], is[p + 4]);}

public static NGit.ObjectId FromRaw(int[] @is, int p){return new NGit.ObjectId(@is[p], @is[p + 1], @is[p + 2], @is[p + 3], @is[p + 4]);}

[User] public static final ObjectId fromRaw(int[] is, int p) {return new ObjectId(is[p], is[p + 1], is[p + 2], is[p + 3], is[p + 4]);}

[Assistant] public static NGit.ObjectId FromRaw(int[] @is, int p){return new NGit.ObjectId(@is[p], @is[p + 1], @is[p + 2], @is[p + 3], @is[p + 4]);}


public RemoveTagsFromStreamResult removeTagsFromStream(RemoveTagsFromStreamRequest request) {request = beforeClientExecution(request);return executeRemoveTagsFromStream(request);}

public virtual RemoveTagsFromStreamResponse RemoveTagsFromStream(RemoveTagsFromStreamRequest request){var options = new InvokeOptions();options.RequestMarshaller = RemoveTagsFromStreamRequestMarshaller.Instance;options.ResponseUnmarshaller = RemoveTagsFromStreamResponseUnmarshaller.Instance;return Invoke<RemoveTagsFromStreamResponse>(request, options);}

[User] public RemoveTagsFromStreamResult removeTagsFromStream(RemoveTagsFromStreamRequest request) {request = beforeClientExecution(request);return executeRemoveTagsFromStream(request);}

[Assistant] public virtual RemoveTagsFromStreamResponse RemoveTagsFromStream(RemoveTagsFromStreamRequest request){var options = new InvokeOptions();options.RequestMarshaller = RemoveTagsFromStreamRequestMarshaller.Instance;options.ResponseUnmarshaller = RemoveTagsFromStreamResponseUnmarshaller.Instance;return Invoke<RemoveTagsFromStreamResponse>(request, options);}


public void writeChar(int value) throws IOException {checkWritePrimitiveTypes();primitiveTypes.writeChar(value);}

public virtual void writeChar(int value){throw new System.NotImplementedException();}

[User] public void writeChar(int value) throws IOException {checkWritePrimitiveTypes();primitiveTypes.writeChar(value);}

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


public void setParams(String params) {super.setParams(params);if (params != null) {commitUserData = params;}}

public override void SetParams(string @params){base.SetParams(@params);if (@params != null){commitUserData = @params;}}

[User] public void setParams(String params) {super.setParams(params);if (params != null) {commitUserData = params;}}

[Assistant] public override void SetParams(string @params){base.SetParams(@params);if (@params != null){commitUserData = @params;}}


public OptionGroup modifyOptionGroup(ModifyOptionGroupRequest request) {request = beforeClientExecution(request);return executeModifyOptionGroup(request);}

public virtual ModifyOptionGroupResponse ModifyOptionGroup(ModifyOptionGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyOptionGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyOptionGroupResponseUnmarshaller.Instance;return Invoke<ModifyOptionGroupResponse>(request, options);}

[User] public OptionGroup modifyOptionGroup(ModifyOptionGroupRequest request) {request = beforeClientExecution(request);return executeModifyOptionGroup(request);}

[Assistant] public virtual ModifyOptionGroupResponse ModifyOptionGroup(ModifyOptionGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyOptionGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyOptionGroupResponseUnmarshaller.Instance;return Invoke<ModifyOptionGroupResponse>(request, options);}


public CreateCommentResult createComment(CreateCommentRequest request) {request = beforeClientExecution(request);return executeCreateComment(request);}

public virtual CreateCommentResponse CreateComment(CreateCommentRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateCommentRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateCommentResponseUnmarshaller.Instance;return Invoke<CreateCommentResponse>(request, options);}

[User] public CreateCommentResult createComment(CreateCommentRequest request) {request = beforeClientExecution(request);return executeCreateComment(request);}

[Assistant] public virtual CreateCommentResponse CreateComment(CreateCommentRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateCommentRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateCommentResponseUnmarshaller.Instance;return Invoke<CreateCommentResponse>(request, options);}


public void setParams(String params) {super.setParams(params);userData = params;}

public override void SetParams(string @params){base.SetParams(@params);userData = @params;}

[User] public void setParams(String params) {super.setParams(params);userData = params;}

[Assistant] public override void SetParams(string @params){base.SetParams(@params);userData = @params;}


public SearchAvailablePhoneNumbersResult searchAvailablePhoneNumbers(SearchAvailablePhoneNumbersRequest request) {request = beforeClientExecution(request);return executeSearchAvailablePhoneNumbers(request);}

public virtual SearchAvailablePhoneNumbersResponse SearchAvailablePhoneNumbers(SearchAvailablePhoneNumbersRequest request){var options = new InvokeOptions();options.RequestMarshaller = SearchAvailablePhoneNumbersRequestMarshaller.Instance;options.ResponseUnmarshaller = SearchAvailablePhoneNumbersResponseUnmarshaller.Instance;return Invoke<SearchAvailablePhoneNumbersResponse>(request, options);}

[User] public SearchAvailablePhoneNumbersResult searchAvailablePhoneNumbers(SearchAvailablePhoneNumbersRequest request) {request = beforeClientExecution(request);return executeSearchAvailablePhoneNumbers(request);}

[Assistant] public virtual SearchAvailablePhoneNumbersResponse SearchAvailablePhoneNumbers(SearchAvailablePhoneNumbersRequest request){var options = new InvokeOptions();options.RequestMarshaller = SearchAvailablePhoneNumbersRequestMarshaller.Instance;options.ResponseUnmarshaller = SearchAvailablePhoneNumbersResponseUnmarshaller.Instance;return Invoke<SearchAvailablePhoneNumbersResponse>(request, options);}


public SpanPositionCheckQuery(SpanQuery match) {this.match = Objects.requireNonNull(match);}

public SpanPositionCheckQuery(SpanQuery match){this.m_match = match;}

[User] public SpanPositionCheckQuery(SpanQuery match) {this.match = Objects.requireNonNull(match);}

[Assistant] public SpanPositionCheckQuery(SpanQuery match){this.m_match = match;}


public boolean removeChildRecord(EscherRecord toBeRemoved) {return _childRecords.remove(toBeRemoved);}

public bool RemoveChildRecord(EscherRecord toBeRemoved){return _childRecords.Remove(toBeRemoved);}

[User] public boolean removeChildRecord(EscherRecord toBeRemoved) {return _childRecords.remove(toBeRemoved);}

[Assistant] public bool RemoveChildRecord(EscherRecord toBeRemoved){return _childRecords.Remove(toBeRemoved);}


public BytesRef clone() {return new BytesRef(bytes, offset, length);}

public object Clone(){return new BytesRef(bytes, Offset, Length);}

[User] public BytesRef clone() {return new BytesRef(bytes, offset, length);}

[Assistant] public object Clone(){return new BytesRef(bytes, Offset, Length);}


public ByteBuffer putLong(long value) {throw new ReadOnlyBufferException();}

public override java.nio.ByteBuffer putLong(long value){throw new java.nio.ReadOnlyBufferException();}

[User] public ByteBuffer putLong(long value) {throw new ReadOnlyBufferException();}

[Assistant] public override java.nio.ByteBuffer putLong(long value){throw new java.nio.ReadOnlyBufferException();}


@Override public boolean add(E object) {synchronized (CopyOnWriteArrayList.this) {add(slice.to - slice.from, object);return true;}}

public virtual bool add(E e){lock (this){object[] newElements = new object[elements.Length + 1];System.Array.Copy(elements, 0, newElements, 0, elements.Length);newElements[elements.Length] = e;elements = newElements;return true;}}

[User] @Override public boolean add(E object) {synchronized (CopyOnWriteArrayList.this) {add(slice.to - slice.from, object);return true;}}

[Assistant] public virtual bool add(E e){lock (this){object[] newElements = new object[elements.Length + 1];System.Array.Copy(elements, 0, newElements, 0, elements.Length);newElements[elements.Length] = e;elements = newElements;return true;}}


public RevTree lookupTree(AnyObjectId id) {RevTree c = (RevTree) objects.get(id);if (c == null) {c = new RevTree(id);objects.add(c);}return c;}

public virtual RevTree LookupTree(AnyObjectId id){RevTree c = (RevTree)objects.Get(id);if (c == null){c = new RevTree(id);objects.Add(c);}return c;}

[User] public RevTree lookupTree(AnyObjectId id) {RevTree c = (RevTree) objects.get(id);if (c == null) {c = new RevTree(id);objects.add(c);}return c;}

[Assistant] public virtual RevTree LookupTree(AnyObjectId id){RevTree c = (RevTree)objects.Get(id);if (c == null){c = new RevTree(id);objects.Add(c);}return c;}


public boolean equals(Object other) {return sameClassAs(other) &&func.equals(((FunctionQuery) other).func);}

public override bool Equals(object o){var other = o as FunctionQuery;if (other == null){return false;}return Boost == other.Boost&& func.Equals(other.func);}

[User] public boolean equals(Object other) {return sameClassAs(other) &&func.equals(((FunctionQuery) other).func);}

[Assistant] public override bool Equals(object o){var other = o as FunctionQuery;if (other == null){return false;}return Boost == other.Boost&& func.Equals(other.func);}


public boolean changeExternalReference(String oldUrl, String newUrl) {for (ExternalBookBlock ex : _externalBookBlocks) {SupBookRecord externalRecord = ex.getExternalBookRecord();if (externalRecord.isExternalReferences()&& externalRecord.getURL().equals(oldUrl)) {externalRecord.setURL(newUrl);return true;}}return false;}

public bool ChangeExternalReference(String oldUrl, String newUrl){foreach (ExternalBookBlock ex in _externalBookBlocks){SupBookRecord externalRecord = ex.GetExternalBookRecord();if (externalRecord.IsExternalReferences&& externalRecord.URL.Equals(oldUrl)){externalRecord.URL = (newUrl);return true;}}return false;}

[User] public boolean changeExternalReference(String oldUrl, String newUrl) {for (ExternalBookBlock ex : _externalBookBlocks) {SupBookRecord externalRecord = ex.getExternalBookRecord();if (externalRecord.isExternalReferences()&& externalRecord.getURL().equals(oldUrl)) {externalRecord.setURL(newUrl);return true;}}return false;}

[Assistant] public bool ChangeExternalReference(String oldUrl, String newUrl){foreach (ExternalBookBlock ex in _externalBookBlocks){SupBookRecord externalRecord = ex.GetExternalBookRecord();if (externalRecord.IsExternalReferences&& externalRecord.URL.Equals(oldUrl)){externalRecord.URL = (newUrl);return true;}}return false;}


public void removeLastPrinted() {remove1stProperty(PropertyIDMap.PID_LASTPRINTED);}

public void RemoveLastPrinted(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_LASTPRINTED);}

[User] public void removeLastPrinted() {remove1stProperty(PropertyIDMap.PID_LASTPRINTED);}

[Assistant] public void RemoveLastPrinted(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_LASTPRINTED);}


public MergeCommand merge() {return new MergeCommand(repo);}

public virtual MergeCommand Merge(){return new MergeCommand(repo);}

[User] public MergeCommand merge() {return new MergeCommand(repo);}

[Assistant] public virtual MergeCommand Merge(){return new MergeCommand(repo);}


public String toString() {final Type t = getType();return t + "(" + beginA + "-" + endA + "," + beginB + "-" + endB + ")";}

public override string ToString(){Edit.Type t = GetType();return t + "(" + beginA + "-" + endA + "," + beginB + "-" + endB + ")";}

[User] public String toString() {final Type t = getType();return t + "(" + beginA + "-" + endA + "," + beginB + "-" + endB + ")";}

[Assistant] public override string ToString(){Edit.Type t = GetType();return t + "(" + beginA + "-" + endA + "," + beginB + "-" + endB + ")";}


public void serialize(LittleEndianOutput out) {int nItems = _list.size();out.writeShort(nItems);for (int k = 0; k < nItems; k++) {CellRangeAddress region = _list.get(k);region.serialize(out);}}

public void Serialize(ILittleEndianOutput out1){int nItems = _list.Count;out1.WriteShort(nItems);for (int k = 0; k < nItems; k++){CellRangeAddress region = (CellRangeAddress)_list[k];region.Serialize(out1);}}

[User] public void serialize(LittleEndianOutput out) {int nItems = _list.size();out.writeShort(nItems);for (int k = 0; k < nItems; k++) {CellRangeAddress region = _list.get(k);region.serialize(out);}}

[Assistant] public void Serialize(ILittleEndianOutput out1){int nItems = _list.Count;out1.WriteShort(nItems);for (int k = 0; k < nItems; k++){CellRangeAddress region = (CellRangeAddress)_list[k];region.Serialize(out1);}}


public void remove() {throw new UnsupportedOperationException("Remove not supported");}

public void Remove(){throw new InvalidOperationException("Remove not supported");}

[User] public void remove() {throw new UnsupportedOperationException("Remove not supported");}

[Assistant] public void Remove(){throw new InvalidOperationException("Remove not supported");}


public TagCommand setSigned(boolean signed) {this.signed = signed;return this;}

public virtual NGit.Api.TagCommand SetSigned(bool signed){this.signed = signed;return this;}

[User] public TagCommand setSigned(boolean signed) {this.signed = signed;return this;}

[Assistant] public virtual NGit.Api.TagCommand SetSigned(bool signed){this.signed = signed;return this;}


public DescribeReservedInstancesListingsResult describeReservedInstancesListings(DescribeReservedInstancesListingsRequest request) {request = beforeClientExecution(request);return executeDescribeReservedInstancesListings(request);}

public virtual DescribeReservedInstancesListingsResponse DescribeReservedInstancesListings(DescribeReservedInstancesListingsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeReservedInstancesListingsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeReservedInstancesListingsResponseUnmarshaller.Instance;return Invoke<DescribeReservedInstancesListingsResponse>(request, options);}

[User] public DescribeReservedInstancesListingsResult describeReservedInstancesListings(DescribeReservedInstancesListingsRequest request) {request = beforeClientExecution(request);return executeDescribeReservedInstancesListings(request);}

[Assistant] public virtual DescribeReservedInstancesListingsResponse DescribeReservedInstancesListings(DescribeReservedInstancesListingsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeReservedInstancesListingsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeReservedInstancesListingsResponseUnmarshaller.Instance;return Invoke<DescribeReservedInstancesListingsResponse>(request, options);}


public String getName() {return getRef().getName();}

public virtual string GetName(){return GetRef().GetName();}

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

[Assistant] public virtual string GetName(){return GetRef().GetName();}


public boolean isAllSet(final int holder){return (holder & _mask) == _mask;}

public bool IsAllSet(int holder){return ((holder & this._mask) == this._mask);}

[User] public boolean isAllSet(final int holder){return (holder & _mask) == _mask;}

[Assistant] public bool IsAllSet(int holder){return ((holder & this._mask) == this._mask);}


public static int getEncodedSize(String value) {int result = 2 + 1;result += value.length() * (StringUtil.hasMultibyte(value) ? 2 : 1);return result;}

public static int GetEncodedSize(String value){int result = 2 + 1;result += value.Length * (StringUtil.HasMultibyte(value) ? 2 : 1);return result;}

[User] public static int getEncodedSize(String value) {int result = 2 + 1;result += value.length() * (StringUtil.hasMultibyte(value) ? 2 : 1);return result;}

[Assistant] public static int GetEncodedSize(String value){int result = 2 + 1;result += value.Length * (StringUtil.HasMultibyte(value) ? 2 : 1);return result;}


public List<CharsRef> stem(char word[], int length) {if (dictionary.needsInputCleaning) {scratchSegment.setLength(0);scratchSegment.append(word, 0, length);CharSequence cleaned = dictionary.cleanInput(scratchSegment, segment);scratchBuffer = ArrayUtil.grow(scratchBuffer, cleaned.length());length = segment.length();segment.getChars(0, length, scratchBuffer, 0);word = scratchBuffer;}int caseType = caseOf(word, length);if (caseType == UPPER_CASE) {caseFoldTitle(word, length);caseFoldLower(titleBuffer, length);List<CharsRef> list = doStem(word, length, false);list.addAll(doStem(titleBuffer, length, true));list.addAll(doStem(lowerBuffer, length, true));return list;} else if (caseType == TITLE_CASE) {caseFoldLower(word, length);List<CharsRef> list = doStem(word, length, false);list.addAll(doStem(lowerBuffer, length, true));return list;} else {return doStem(word, length, false);}}

public IList<CharsRef> Stem(char[] word, int length){if (dictionary.needsInputCleaning){scratchSegment.Length = 0;scratchSegment.Append(word, 0, length);string cleaned = dictionary.CleanInput(scratchSegment.ToString(), segment);scratchBuffer = ArrayUtil.Grow(scratchBuffer, cleaned.Length);length = segment.Length;segment.CopyTo(0, scratchBuffer, 0, length);word = scratchBuffer;}List<CharsRef> stems = new List<CharsRef>();Int32sRef forms = dictionary.LookupWord(word, 0, length);if (forms != null){for (int i = 0; i < forms.Length; i++){stems.Add(NewStem(word, length));}}stems.AddRange(Stem(word, length, -1, -1, -1, 0, true, true, false, false));return stems;}

[User] public List<CharsRef> stem(char word[], int length) {if (dictionary.needsInputCleaning) {scratchSegment.setLength(0);scratchSegment.append(word, 0, length);CharSequence cleaned = dictionary.cleanInput(scratchSegment, segment);scratchBuffer = ArrayUtil.grow(scratchBuffer, cleaned.length());length = segment.length();segment.getChars(0, length, scratchBuffer, 0);word = scratchBuffer;}int caseType = caseOf(word, length);if (caseType == UPPER_CASE) {caseFoldTitle(word, length);caseFoldLower(titleBuffer, length);List<CharsRef> list = doStem(word, length, false);list.addAll(doStem(titleBuffer, length, true));list.addAll(doStem(lowerBuffer, length, true));return list;} else if (caseType == TITLE_CASE) {caseFoldLower(word, length);List<CharsRef> list = doStem(word, length, false);list.addAll(doStem(lowerBuffer, length, true));return list;} else {return doStem(word, length, false);}}

[Assistant] public IList<CharsRef> Stem(char[] word, int length){if (dictionary.needsInputCleaning){scratchSegment.Length = 0;scratchSegment.Append(word, 0, length);string cleaned = dictionary.CleanInput(scratchSegment.ToString(), segment);scratchBuffer = ArrayUtil.Grow(scratchBuffer, cleaned.Length);length = segment.Length;segment.CopyTo(0, scratchBuffer, 0, length);word = scratchBuffer;}List<CharsRef> stems = new List<CharsRef>();Int32sRef forms = dictionary.LookupWord(word, 0, length);if (forms != null){for (int i = 0; i < forms.Length; i++){stems.Add(NewStem(word, length));}}stems.AddRange(Stem(word, length, -1, -1, -1, 0, true, true, false, false));return stems;}


public HSSFConditionalFormattingRule createConditionalFormattingRule(String formula) {CFRuleRecord rr = CFRuleRecord.create(_sheet, formula);return new HSSFConditionalFormattingRule(_sheet, rr);}

public IConditionalFormattingRule CreateConditionalFormattingRule(String formula){HSSFWorkbook wb = (HSSFWorkbook)_sheet.Workbook;CFRuleRecord rr = CFRuleRecord.Create(_sheet, formula);return new HSSFConditionalFormattingRule(wb, rr);}

[User] public HSSFConditionalFormattingRule createConditionalFormattingRule(String formula) {CFRuleRecord rr = CFRuleRecord.create(_sheet, formula);return new HSSFConditionalFormattingRule(_sheet, rr);}

[Assistant] public IConditionalFormattingRule CreateConditionalFormattingRule(String formula){HSSFWorkbook wb = (HSSFWorkbook)_sheet.Workbook;CFRuleRecord rr = CFRuleRecord.Create(_sheet, formula);return new HSSFConditionalFormattingRule(wb, rr);}


public Record create(RecordInputStream in) {Object[] args = { in, };try {return (org.apache.poi.hssf.record.Record) _m.invoke(null, args);} catch (IllegalArgumentException | IllegalAccessException e) {throw new RuntimeException(e);} catch (InvocationTargetException e) {throw new org.apache.poi.util.RecordFormatException("Unable to construct record instance" , e.getTargetException());}}

public Record Create(RecordInputStream in1){Object[] args = { in1 };try{return (Record)_m.Invoke(null, args);}catch (Exception e){throw new RecordFormatException("Unable to construct record instance", e.InnerException);}}

[User] public Record create(RecordInputStream in) {Object[] args = { in, };try {return (org.apache.poi.hssf.record.Record) _m.invoke(null, args);} catch (IllegalArgumentException | IllegalAccessException e) {throw new RuntimeException(e);} catch (InvocationTargetException e) {throw new org.apache.poi.util.RecordFormatException("Unable to construct record instance" , e.getTargetException());}}

[Assistant] public Record Create(RecordInputStream in1){Object[] args = { in1 };try{return (Record)_m.Invoke(null, args);}catch (Exception e){throw new RecordFormatException("Unable to construct record instance", e.InnerException);}}


public int set(int index, long[] arr, int off, int len) {assert len > 0 : "len must be > 0 (got " + len + ")";assert index >= 0 && index < size();len = Math.min(len, size() - index);assert off + len <= arr.length;for (int i = index, o = off, end = index + len; i < end; ++i, ++o) {set(i, arr[o]);}return len;}

public virtual int Set(int index, long[] arr, int off, int len){Debug.Assert(len > 0, "len must be > 0 (got " + len + ")");Debug.Assert(index >= 0 && index < Count);len = Math.Min(len, Count - index);Debug.Assert(off + len <= arr.Length);for (int i = index, o = off, end = index + len; i < end; ++i, ++o){Set(i, arr[o]);}return len;}

[User] public int set(int index, long[] arr, int off, int len) {assert len > 0 : "len must be > 0 (got " + len + ")";assert index >= 0 && index < size();len = Math.min(len, size() - index);assert off + len <= arr.length;for (int i = index, o = off, end = index + len; i < end; ++i, ++o) {set(i, arr[o]);}return len;}

[Assistant] public virtual int Set(int index, long[] arr, int off, int len){Debug.Assert(len > 0, "len must be > 0 (got " + len + ")");Debug.Assert(index >= 0 && index < Count);len = Math.Min(len, Count - index);Debug.Assert(off + len <= arr.Length);for (int i = index, o = off, end = index + len; i < end; ++i, ++o){Set(i, arr[o]);}return len;}


public synchronized long ramBytesUsed() {long bytes = 0;for(CachedOrds ords : ordsCache.values()) {bytes += ords.ramBytesUsed();}return bytes;}

public virtual long RamBytesUsed(){#if !FEATURE_CONDITIONALWEAKTABLE_ENUMERATORlock (this)#endifreturn ordsCache.Sum(pair => pair.Value.RamBytesUsed());}

[User] public synchronized long ramBytesUsed() {long bytes = 0;for(CachedOrds ords : ordsCache.values()) {bytes += ords.ramBytesUsed();}return bytes;}

[Assistant] public virtual long RamBytesUsed(){#if !FEATURE_CONDITIONALWEAKTABLE_ENUMERATORlock (this)#endifreturn ordsCache.Sum(pair => pair.Value.RamBytesUsed());}


public void writeDouble(double v) {writeLong(Double.doubleToLongBits(v));}

public void WriteDouble(double v){WriteLong(BitConverter.DoubleToInt64Bits(v));}

[User] public void writeDouble(double v) {writeLong(Double.doubleToLongBits(v));}

[Assistant] public void WriteDouble(double v){WriteLong(BitConverter.DoubleToInt64Bits(v));}


public String toString() {return "DocumentsWriterFlushControl [activeBytes=" + activeBytes+ ", flushBytes=" + flushBytes + "]";}

public override string ToString(){return "DocumentsWriterFlushControl [activeBytes=" + activeBytes + ", flushBytes=" + flushBytes + "]";}

[User] public String toString() {return "DocumentsWriterFlushControl [activeBytes=" + activeBytes+ ", flushBytes=" + flushBytes + "]";}

[Assistant] public override string ToString(){return "DocumentsWriterFlushControl [activeBytes=" + activeBytes + ", flushBytes=" + flushBytes + "]";}


public ListSecurityConfigurationsResult listSecurityConfigurations(ListSecurityConfigurationsRequest request) {request = beforeClientExecution(request);return executeListSecurityConfigurations(request);}

public virtual ListSecurityConfigurationsResponse ListSecurityConfigurations(ListSecurityConfigurationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListSecurityConfigurationsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListSecurityConfigurationsResponseUnmarshaller.Instance;return Invoke<ListSecurityConfigurationsResponse>(request, options);}

[User] public ListSecurityConfigurationsResult listSecurityConfigurations(ListSecurityConfigurationsRequest request) {request = beforeClientExecution(request);return executeListSecurityConfigurations(request);}

[Assistant] public virtual ListSecurityConfigurationsResponse ListSecurityConfigurations(ListSecurityConfigurationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListSecurityConfigurationsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListSecurityConfigurationsResponseUnmarshaller.Instance;return Invoke<ListSecurityConfigurationsResponse>(request, options);}


public ListQualificationRequestsResult listQualificationRequests(ListQualificationRequestsRequest request) {request = beforeClientExecution(request);return executeListQualificationRequests(request);}

public virtual ListQualificationRequestsResponse ListQualificationRequests(ListQualificationRequestsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListQualificationRequestsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListQualificationRequestsResponseUnmarshaller.Instance;return Invoke<ListQualificationRequestsResponse>(request, options);}

[User] public ListQualificationRequestsResult listQualificationRequests(ListQualificationRequestsRequest request) {request = beforeClientExecution(request);return executeListQualificationRequests(request);}

[Assistant] public virtual ListQualificationRequestsResponse ListQualificationRequests(ListQualificationRequestsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListQualificationRequestsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListQualificationRequestsResponseUnmarshaller.Instance;return Invoke<ListQualificationRequestsResponse>(request, options);}


public void println(char[] chars) {println(new String(chars, 0, chars.length));}

public virtual void println(char[] chars){println(new string(chars, 0, chars.Length));}

[User] public void println(char[] chars) {println(new String(chars, 0, chars.length));}

[Assistant] public virtual void println(char[] chars){println(new string(chars, 0, chars.Length));}


public ReleaseAddressResult releaseAddress(ReleaseAddressRequest request) {request = beforeClientExecution(request);return executeReleaseAddress(request);}

public virtual ReleaseAddressResponse ReleaseAddress(ReleaseAddressRequest request){var options = new InvokeOptions();options.RequestMarshaller = ReleaseAddressRequestMarshaller.Instance;options.ResponseUnmarshaller = ReleaseAddressResponseUnmarshaller.Instance;return Invoke<ReleaseAddressResponse>(request, options);}

[User] public ReleaseAddressResult releaseAddress(ReleaseAddressRequest request) {request = beforeClientExecution(request);return executeReleaseAddress(request);}

[Assistant] public virtual ReleaseAddressResponse ReleaseAddress(ReleaseAddressRequest request){var options = new InvokeOptions();options.RequestMarshaller = ReleaseAddressRequestMarshaller.Instance;options.ResponseUnmarshaller = ReleaseAddressResponseUnmarshaller.Instance;return Invoke<ReleaseAddressResponse>(request, options);}


public static boolean[] copyOfRange(boolean[] original, int start, int end) {if (start > end) {throw new IllegalArgumentException();}int originalLength = original.length;if (start < 0 || start > originalLength) {throw new ArrayIndexOutOfBoundsException();}int resultLength = end - start;int copyLength = Math.min(resultLength, originalLength - start);boolean[] result = new boolean[resultLength];System.arraycopy(original, start, result, 0, copyLength);return result;}

public static bool[] copyOfRange(bool[] original, int start, int end){if (start > end){throw new System.ArgumentException();}int originalLength = original.Length;if (start < 0 || start > originalLength){throw new System.IndexOutOfRangeException();}int resultLength = end - start;int copyLength = System.Math.Min(resultLength, originalLength - start);bool[] result = new bool[resultLength];System.Array.Copy(original, start, result, 0, copyLength);return result;}

[User] public static boolean[] copyOfRange(boolean[] original, int start, int end) {if (start > end) {throw new IllegalArgumentException();}int originalLength = original.length;if (start < 0 || start > originalLength) {throw new ArrayIndexOutOfBoundsException();}int resultLength = end - start;int copyLength = Math.min(resultLength, originalLength - start);boolean[] result = new boolean[resultLength];System.arraycopy(original, start, result, 0, copyLength);return result;}

[Assistant] public static bool[] copyOfRange(bool[] original, int start, int end){if (start > end){throw new System.ArgumentException();}int originalLength = original.Length;if (start < 0 || start > originalLength){throw new System.IndexOutOfRangeException();}int resultLength = end - start;int copyLength = System.Math.Min(resultLength, originalLength - start);bool[] result = new bool[resultLength];System.Array.Copy(original, start, result, 0, copyLength);return result;}


public void fillOval(int x, int y, int width, int height){HSSFSimpleShape shape = escherGroup.createShape(new HSSFChildAnchor( x, y, x + width, y + height ) );shape.setShapeType(HSSFSimpleShape.OBJECT_TYPE_OVAL);shape.setLineStyle(HSSFShape.LINESTYLE_NONE);shape.setFillColor(foreground.getRed(), foreground.getGreen(), foreground.getBlue());shape.setLineStyleColor(foreground.getRed(), foreground.getGreen(), foreground.getBlue());shape.setNoFill(false);}

public void FillOval(int x, int y, int width, int height){HSSFSimpleShape shape = escherGroup.CreateShape(new HSSFChildAnchor(x, y, x + width, y + height));shape.ShapeType = (HSSFSimpleShape.OBJECT_TYPE_OVAL);shape.LineStyle = LineStyle.None;shape.SetFillColor(foreground.R, foreground.G, foreground.B);shape.SetLineStyleColor(foreground.R, foreground.G, foreground.B);shape.IsNoFill = (false);}

[User] public void fillOval(int x, int y, int width, int height){HSSFSimpleShape shape = escherGroup.createShape(new HSSFChildAnchor( x, y, x + width, y + height ) );shape.setShapeType(HSSFSimpleShape.OBJECT_TYPE_OVAL);shape.setLineStyle(HSSFShape.LINESTYLE_NONE);shape.setFillColor(foreground.getRed(), foreground.getGreen(), foreground.getBlue());shape.setLineStyleColor(foreground.getRed(), foreground.getGreen(), foreground.getBlue());shape.setNoFill(false);}

[Assistant] public void FillOval(int x, int y, int width, int height){HSSFSimpleShape shape = escherGroup.CreateShape(new HSSFChildAnchor(x, y, x + width, y + height));shape.ShapeType = (HSSFSimpleShape.OBJECT_TYPE_OVAL);shape.LineStyle = LineStyle.None;shape.SetFillColor(foreground.R, foreground.G, foreground.B);shape.SetLineStyleColor(foreground.R, foreground.G, foreground.B);shape.IsNoFill = (false);}


public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1,ValueEval arg2) {try {String needle = TextFunction.evaluateStringArg(arg0, srcRowIndex, srcColumnIndex);String haystack = TextFunction.evaluateStringArg(arg1, srcRowIndex, srcColumnIndex);int startpos = TextFunction.evaluateIntArg(arg2, srcRowIndex, srcColumnIndex) - 1;if (startpos < 0) {return ErrorEval.VALUE_INVALID;}return eval(haystack, needle, startpos);} catch (EvaluationException e) {return e.getErrorEval();}}

public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1,ValueEval arg2){try{String needle = TextFunction.EvaluateStringArg(arg0, srcRowIndex, srcColumnIndex);String haystack = TextFunction.EvaluateStringArg(arg1, srcRowIndex, srcColumnIndex);int startpos = TextFunction.EvaluateIntArg(arg2, srcRowIndex, srcColumnIndex) - 1;if (startpos < 0){return ErrorEval.VALUE_INVALID;}return Eval(haystack, needle, startpos);}catch (EvaluationException e){return e.GetErrorEval();}}

[User] public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1,ValueEval arg2) {try {String needle = TextFunction.evaluateStringArg(arg0, srcRowIndex, srcColumnIndex);String haystack = TextFunction.evaluateStringArg(arg1, srcRowIndex, srcColumnIndex);int startpos = TextFunction.evaluateIntArg(arg2, srcRowIndex, srcColumnIndex) - 1;if (startpos < 0) {return ErrorEval.VALUE_INVALID;}return eval(haystack, needle, startpos);} catch (EvaluationException e) {return e.getErrorEval();}}

[Assistant] public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1,ValueEval arg2){try{String needle = TextFunction.EvaluateStringArg(arg0, srcRowIndex, srcColumnIndex);String haystack = TextFunction.EvaluateStringArg(arg1, srcRowIndex, srcColumnIndex);int startpos = TextFunction.EvaluateIntArg(arg2, srcRowIndex, srcColumnIndex) - 1;if (startpos < 0){return ErrorEval.VALUE_INVALID;}return Eval(haystack, needle, startpos);}catch (EvaluationException e){return e.GetErrorEval();}}


public CreateInvalidationRequest(String distributionId, InvalidationBatch invalidationBatch) {setDistributionId(distributionId);setInvalidationBatch(invalidationBatch);}

public CreateInvalidationRequest(string distributionId, InvalidationBatch invalidationBatch){_distributionId = distributionId;_invalidationBatch = invalidationBatch;}

[User] public CreateInvalidationRequest(String distributionId, InvalidationBatch invalidationBatch) {setDistributionId(distributionId);setInvalidationBatch(invalidationBatch);}

[Assistant] public CreateInvalidationRequest(string distributionId, InvalidationBatch invalidationBatch){_distributionId = distributionId;_invalidationBatch = invalidationBatch;}


public CreateUsageReportSubscriptionResult createUsageReportSubscription(CreateUsageReportSubscriptionRequest request) {request = beforeClientExecution(request);return executeCreateUsageReportSubscription(request);}

public virtual CreateUsageReportSubscriptionResponse CreateUsageReportSubscription(CreateUsageReportSubscriptionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateUsageReportSubscriptionRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateUsageReportSubscriptionResponseUnmarshaller.Instance;return Invoke<CreateUsageReportSubscriptionResponse>(request, options);}

[User] public CreateUsageReportSubscriptionResult createUsageReportSubscription(CreateUsageReportSubscriptionRequest request) {request = beforeClientExecution(request);return executeCreateUsageReportSubscription(request);}

[Assistant] public virtual CreateUsageReportSubscriptionResponse CreateUsageReportSubscription(CreateUsageReportSubscriptionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateUsageReportSubscriptionRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateUsageReportSubscriptionResponseUnmarshaller.Instance;return Invoke<CreateUsageReportSubscriptionResponse>(request, options);}


public static String fromString(String value) {return value;}

public static string FromString(String value){return value;}

[User] public static String fromString(String value) {return value;}

[Assistant] public static string FromString(String value){return value;}


public GetDetectorsResult getDetectors(GetDetectorsRequest request) {request = beforeClientExecution(request);return executeGetDetectors(request);}

public virtual GetDetectorsResponse GetDetectors(GetDetectorsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDetectorsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDetectorsResponseUnmarshaller.Instance;return Invoke<GetDetectorsResponse>(request, options);}

[User] public GetDetectorsResult getDetectors(GetDetectorsRequest request) {request = beforeClientExecution(request);return executeGetDetectors(request);}

[Assistant] public virtual GetDetectorsResponse GetDetectors(GetDetectorsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDetectorsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDetectorsResponseUnmarshaller.Instance;return Invoke<GetDetectorsResponse>(request, options);}


public static String fromDouble(Double d) {return Double.toString(d);}

public static string FromDouble(double value){return value.ToString(CultureInfo.InvariantCulture);}

[User] public static String fromDouble(Double d) {return Double.toString(d);}

[Assistant] public static string FromDouble(double value){return value.ToString(CultureInfo.InvariantCulture);}