public String highlightTerm(String originalText, TokenGroup tokenGroup){if (tokenGroup.getTotalScore() == 0)return originalText;float score = tokenGroup.getTotalScore();if (score == 0){return originalText;}StringBuilder sb = new StringBuilder();sb.append("<font ");if (highlightForeground){sb.append("color=\"");sb.append(getForegroundColorString(score));sb.append("\" ");}if (highlightBackground){sb.append("bgcolor=\"");sb.append(getBackgroundColorString(score));sb.append("\" ");}sb.append(">");sb.append(originalText);sb.append("</font>");return sb.toString();}

public virtual string HighlightTerm(string originalText, TokenGroup tokenGroup){if (tokenGroup.TotalScore == 0)return originalText;float score = tokenGroup.TotalScore;if (score == 0){return originalText;}var sb = new StringBuilder();sb.Append("<font ");if (m_highlightForeground){sb.Append("color=\"");sb.Append(GetForegroundColorString(score));sb.Append("\" ");}if (m_highlightBackground){sb.Append("bgcolor=\"");sb.Append(GetBackgroundColorString(score));sb.Append("\" ");}sb.Append(">");sb.Append(originalText);sb.Append("</font>");return sb.ToString();}

[User] public String highlightTerm(String originalText, TokenGroup tokenGroup){if (tokenGroup.getTotalScore() == 0)return originalText;float score = tokenGroup.getTotalScore();if (score == 0){return originalText;}StringBuilder sb = new StringBuilder();sb.append("<font ");if (highlightForeground){sb.append("color=\"");sb.append(getForegroundColorString(score));sb.append("\" ");}if (highlightBackground){sb.append("bgcolor=\"");sb.append(getBackgroundColorString(score));sb.append("\" ");}sb.append(">");sb.append(originalText);sb.append("</font>");return sb.toString();}

[Assistant] public virtual string HighlightTerm(string originalText, TokenGroup tokenGroup){if (tokenGroup.TotalScore == 0)return originalText;float score = tokenGroup.TotalScore;if (score == 0){return originalText;}var sb = new StringBuilder();sb.Append("<font ");if (m_highlightForeground){sb.Append("color=\"");sb.Append(GetForegroundColorString(score));sb.Append("\" ");}if (m_highlightBackground){sb.Append("bgcolor=\"");sb.Append(GetBackgroundColorString(score));sb.Append("\" ");}sb.Append(">");sb.Append(originalText);sb.Append("</font>");return sb.ToString();}


public PendingTerm(BytesRef term, BlockTermState state) {super(true);this.termBytes = new byte[term.length];System.arraycopy(term.bytes, term.offset, termBytes, 0, term.length);this.state = state;}

public PendingTerm(BytesRef term, BlockTermState state): base(true){this.Term = term;this.State = state;}

[User] public PendingTerm(BytesRef term, BlockTermState state) {super(true);this.termBytes = new byte[term.length];System.arraycopy(term.bytes, term.offset, termBytes, 0, term.length);this.state = state;}

[Assistant] public PendingTerm(BytesRef term, BlockTermState state): base(true){this.Term = term;this.State = state;}


public IntBuffer asReadOnlyBuffer() {IntToByteBufferAdapter buf = new IntToByteBufferAdapter(byteBuffer.asReadOnlyBuffer());buf.limit = limit;buf.position = position;buf.mark = mark;buf.byteBuffer.order = byteBuffer.order;return buf;}

public override java.nio.IntBuffer asReadOnlyBuffer(){java.nio.IntToByteBufferAdapter buf = new java.nio.IntToByteBufferAdapter(byteBuffer.asReadOnlyBuffer());buf._limit = _limit;buf._position = _position;buf._mark = _mark;buf.byteBuffer._order = byteBuffer._order;return buf;}

[User] public IntBuffer asReadOnlyBuffer() {IntToByteBufferAdapter buf = new IntToByteBufferAdapter(byteBuffer.asReadOnlyBuffer());buf.limit = limit;buf.position = position;buf.mark = mark;buf.byteBuffer.order = byteBuffer.order;return buf;}

[Assistant] public override java.nio.IntBuffer asReadOnlyBuffer(){java.nio.IntToByteBufferAdapter buf = new java.nio.IntToByteBufferAdapter(byteBuffer.asReadOnlyBuffer());buf._limit = _limit;buf._position = _position;buf._mark = _mark;buf.byteBuffer._order = byteBuffer._order;return buf;}


public final void addParents(RevCommit c, RevFlag queueControl) {final RevCommit[] pList = c.parents;if (pList == null) {return;}for (int i = 0; i < pList.length; i++) {if (firstParent && i > 0) {break;}add(pList[i], queueControl);}}

public void AddParents(RevCommit c, RevFlag queueControl){RevCommit[] pList = c.parents;if (pList == null){return;}foreach (RevCommit p in pList){Add(p, queueControl);}}

[User] public final void addParents(RevCommit c, RevFlag queueControl) {final RevCommit[] pList = c.parents;if (pList == null) {return;}for (int i = 0; i < pList.length; i++) {if (firstParent && i > 0) {break;}add(pList[i], queueControl);}}

[Assistant] public void AddParents(RevCommit c, RevFlag queueControl){RevCommit[] pList = c.parents;if (pList == null){return;}foreach (RevCommit p in pList){Add(p, queueControl);}}


public IndicNormalizationFilter(TokenStream input) {super(input);}

public IndicNormalizationFilter(TokenStream input): base(input){termAtt = AddAttribute<ICharTermAttribute>();}

[User] public IndicNormalizationFilter(TokenStream input) {super(input);}

[Assistant] public IndicNormalizationFilter(TokenStream input): base(input){termAtt = AddAttribute<ICharTermAttribute>();}


public ListTasksResult listTasks(ListTasksRequest request) {request = beforeClientExecution(request);return executeListTasks(request);}

public virtual ListTasksResponse ListTasks(ListTasksRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTasksRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTasksResponseUnmarshaller.Instance;return Invoke<ListTasksResponse>(request, options);}

[User] public ListTasksResult listTasks(ListTasksRequest request) {request = beforeClientExecution(request);return executeListTasks(request);}

[Assistant] public virtual ListTasksResponse ListTasks(ListTasksRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTasksRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTasksResponseUnmarshaller.Instance;return Invoke<ListTasksResponse>(request, options);}


public ListTemplateAliasesResult listTemplateAliases(ListTemplateAliasesRequest request) {request = beforeClientExecution(request);return executeListTemplateAliases(request);}

public virtual ListTemplateAliasesResponse ListTemplateAliases(ListTemplateAliasesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTemplateAliasesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTemplateAliasesResponseUnmarshaller.Instance;return Invoke<ListTemplateAliasesResponse>(request, options);}

[User] public ListTemplateAliasesResult listTemplateAliases(ListTemplateAliasesRequest request) {request = beforeClientExecution(request);return executeListTemplateAliases(request);}

[Assistant] public virtual ListTemplateAliasesResponse ListTemplateAliases(ListTemplateAliasesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTemplateAliasesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTemplateAliasesResponseUnmarshaller.Instance;return Invoke<ListTemplateAliasesResponse>(request, options);}


public DescribeEventCategoriesResult describeEventCategories() {return describeEventCategories(new DescribeEventCategoriesRequest());}

public virtual DescribeEventCategoriesResponse DescribeEventCategories(){return DescribeEventCategories(new DescribeEventCategoriesRequest());}

[User] public DescribeEventCategoriesResult describeEventCategories() {return describeEventCategories(new DescribeEventCategoriesRequest());}

[Assistant] public virtual DescribeEventCategoriesResponse DescribeEventCategories(){return DescribeEventCategories(new DescribeEventCategoriesRequest());}


public static File createTempFile(String prefix, String suffix) throws IOException {return createTempFile(prefix, suffix, null);}

public static java.io.File createTempFile(string prefix, string suffix){throw new System.NotImplementedException();}

[User] public static File createTempFile(String prefix, String suffix) throws IOException {return createTempFile(prefix, suffix, null);}

[Assistant] public static java.io.File createTempFile(string prefix, string suffix){throw new System.NotImplementedException();}


public LabelAndValue(String label, Number value) {this.label = label;this.value = value;}

public LabelAndValue(string label, float value){this.Label = label;this.Value = value;this.TypeOfValue = typeof(float);}

[User] public LabelAndValue(String label, Number value) {this.label = label;this.value = value;}

[Assistant] public LabelAndValue(string label, float value){this.Label = label;this.Value = value;this.TypeOfValue = typeof(float);}


public String getReading(int wordId, char surface[], int off, int len) {return getFeature(wordId, 0);}

public string GetReading(int wordId, char[] surface, int off, int len){return GetFeature(wordId, 0);}

[User] public String getReading(int wordId, char surface[], int off, int len) {return getFeature(wordId, 0);}

[Assistant] public string GetReading(int wordId, char[] surface, int off, int len){return GetFeature(wordId, 0);}


public CodepointCountFilter create(TokenStream input) {return new CodepointCountFilter(input, min, max);}

public override TokenStream Create(TokenStream input){return new CodepointCountFilter(m_luceneMatchVersion, input, min, max);}

[User] public CodepointCountFilter create(TokenStream input) {return new CodepointCountFilter(input, min, max);}

[Assistant] public override TokenStream Create(TokenStream input){return new CodepointCountFilter(m_luceneMatchVersion, input, min, max);}


public String toString() {StringBuilder res = new StringBuilder(task.getName());res.append(" ");res.append(count);res.append(" ");res.append(elapsed);return res.toString();}

public override string ToString(){StringBuilder res = new StringBuilder(task.GetName());res.Append(" ");res.Append(count);res.Append(" ");res.Append(elapsed);return res.ToString();}

[User] public String toString() {StringBuilder res = new StringBuilder(task.getName());res.append(" ");res.append(count);res.append(" ");res.append(elapsed);return res.toString();}

[Assistant] public override string ToString(){StringBuilder res = new StringBuilder(task.GetName());res.Append(" ");res.Append(count);res.Append(" ");res.Append(elapsed);return res.ToString();}


public void build(InputIterator iterator) throws IOException {if (iterator.hasPayloads()) {throw new IllegalArgumentException("this suggester doesn't support payloads");}if (iterator.hasContexts()) {throw new IllegalArgumentException("this suggester doesn't support contexts");}root = new TernaryTreeNode();iterator = new SortedInputIterator(tempDir, tempFileNamePrefix, iterator, utf8SortedAsUTF16SortOrder);count = 0;ArrayList<String> tokens = new ArrayList<>();ArrayList<Number> vals = new ArrayList<>();BytesRef spare;CharsRefBuilder charsSpare = new CharsRefBuilder();while ((spare = iterator.next()) != null) {charsSpare.copyUTF8Bytes(spare);tokens.add(charsSpare.toString());vals.add(Long.valueOf(iterator.weight()));count++;}autocomplete.balancedTree(tokens.toArray(), vals.toArray(), 0, tokens.size() - 1, root);}

public override void Build(IInputIterator tfit){if (tfit.HasPayloads){throw new System.ArgumentException("this suggester doesn't support payloads");}if (tfit.HasContexts){throw new System.ArgumentException("this suggester doesn't support contexts");}root = new TernaryTreeNode();#pragma warning disable 612, 618if (tfit.Comparer != BytesRef.UTF8SortedAsUTF16Comparer){tfit = new SortedInputIterator(tfit, BytesRef.UTF8SortedAsUTF16Comparer);}#pragma warning restore 612, 618List<string> tokens = new List<string>();List<object> vals = new List<object>();BytesRef spare;CharsRef charsSpare = new CharsRef();while ((spare = tfit.Next()) != null){charsSpare.Grow(spare.Length);UnicodeUtil.UTF8toUTF16(spare.Bytes, spare.Offset, spare.Length, charsSpare);tokens.Add(charsSpare.ToString());vals.Add(tfit.Weight);}autocomplete.BalancedTree(tokens.ToArray(), vals.ToArray(), 0, tokens.Count - 1, root);}

[User] public void build(InputIterator iterator) throws IOException {if (iterator.hasPayloads()) {throw new IllegalArgumentException("this suggester doesn't support payloads");}if (iterator.hasContexts()) {throw new IllegalArgumentException("this suggester doesn't support contexts");}root = new TernaryTreeNode();iterator = new SortedInputIterator(tempDir, tempFileNamePrefix, iterator, utf8SortedAsUTF16SortOrder);count = 0;ArrayList<String> tokens = new ArrayList<>();ArrayList<Number> vals = new ArrayList<>();BytesRef spare;CharsRefBuilder charsSpare = new CharsRefBuilder();while ((spare = iterator.next()) != null) {charsSpare.copyUTF8Bytes(spare);tokens.add(charsSpare.toString());vals.add(Long.valueOf(iterator.weight()));count++;}autocomplete.balancedTree(tokens.toArray(), vals.toArray(), 0, tokens.size() - 1, root);}

[Assistant] public override void Build(IInputIterator tfit){if (tfit.HasPayloads){throw new System.ArgumentException("this suggester doesn't support payloads");}if (tfit.HasContexts){throw new System.ArgumentException("this suggester doesn't support contexts");}root = new TernaryTreeNode();#pragma warning disable 612, 618if (tfit.Comparer != BytesRef.UTF8SortedAsUTF16Comparer){tfit = new SortedInputIterator(tfit, BytesRef.UTF8SortedAsUTF16Comparer);}#pragma warning restore 612, 618List<string> tokens = new List<string>();List<object> vals = new List<object>();BytesRef spare;CharsRef charsSpare = new CharsRef();while ((spare = tfit.Next()) != null){charsSpare.Grow(spare.Length);UnicodeUtil.UTF8toUTF16(spare.Bytes, spare.Offset, spare.Length, charsSpare);tokens.Add(charsSpare.ToString());vals.Add(tfit.Weight);}autocomplete.BalancedTree(tokens.ToArray(), vals.ToArray(), 0, tokens.Count - 1, root);}


public void setAllowThin(boolean allow) {allowThin = allow;}

public virtual void SetAllowThin(bool allow){allowThin = allow;}

[User] public void setAllowThin(boolean allow) {allowThin = allow;}

[Assistant] public virtual void SetAllowThin(bool allow){allowThin = allow;}


public PhRun(int phoneticTextFirstCharacterOffset,int realTextFirstCharacterOffset, int realTextLength) {this.phoneticTextFirstCharacterOffset = phoneticTextFirstCharacterOffset;this.realTextFirstCharacterOffset = realTextFirstCharacterOffset;this.realTextLength = realTextLength;}

public PhRun(int phoneticTextFirstCharacterOffset,int realTextFirstCharacterOffset, int realTextLength){this.phoneticTextFirstCharacterOffset = phoneticTextFirstCharacterOffset;this.realTextFirstCharacterOffset = realTextFirstCharacterOffset;this.realTextLength = realTextLength;}

[User] public PhRun(int phoneticTextFirstCharacterOffset,int realTextFirstCharacterOffset, int realTextLength) {this.phoneticTextFirstCharacterOffset = phoneticTextFirstCharacterOffset;this.realTextFirstCharacterOffset = realTextFirstCharacterOffset;this.realTextLength = realTextLength;}

[Assistant] public PhRun(int phoneticTextFirstCharacterOffset,int realTextFirstCharacterOffset, int realTextLength){this.phoneticTextFirstCharacterOffset = phoneticTextFirstCharacterOffset;this.realTextFirstCharacterOffset = realTextFirstCharacterOffset;this.realTextLength = realTextLength;}


public void append(String name, RevBlob blob) {append(name, REGULAR_FILE, blob);}

public virtual void Append(string name, RevBlob blob){Append(name, FileMode.REGULAR_FILE, blob);}

[User] public void append(String name, RevBlob blob) {append(name, REGULAR_FILE, blob);}

[Assistant] public virtual void Append(string name, RevBlob blob){Append(name, FileMode.REGULAR_FILE, blob);}


public CreateHostedZoneResult createHostedZone(CreateHostedZoneRequest request) {request = beforeClientExecution(request);return executeCreateHostedZone(request);}

public virtual CreateHostedZoneResponse CreateHostedZone(CreateHostedZoneRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateHostedZoneRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateHostedZoneResponseUnmarshaller.Instance;return Invoke<CreateHostedZoneResponse>(request, options);}

[User] public CreateHostedZoneResult createHostedZone(CreateHostedZoneRequest request) {request = beforeClientExecution(request);return executeCreateHostedZone(request);}

[Assistant] public virtual CreateHostedZoneResponse CreateHostedZone(CreateHostedZoneRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateHostedZoneRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateHostedZoneResponseUnmarshaller.Instance;return Invoke<CreateHostedZoneResponse>(request, options);}


public ListFacetAttributesResult listFacetAttributes(ListFacetAttributesRequest request) {request = beforeClientExecution(request);return executeListFacetAttributes(request);}

public virtual ListFacetAttributesResponse ListFacetAttributes(ListFacetAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListFacetAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListFacetAttributesResponseUnmarshaller.Instance;return Invoke<ListFacetAttributesResponse>(request, options);}

[User] public ListFacetAttributesResult listFacetAttributes(ListFacetAttributesRequest request) {request = beforeClientExecution(request);return executeListFacetAttributes(request);}

[Assistant] public virtual ListFacetAttributesResponse ListFacetAttributes(ListFacetAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListFacetAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListFacetAttributesResponseUnmarshaller.Instance;return Invoke<ListFacetAttributesResponse>(request, options);}


public GetTrafficPolicyInstanceCountResult getTrafficPolicyInstanceCount(GetTrafficPolicyInstanceCountRequest request) {request = beforeClientExecution(request);return executeGetTrafficPolicyInstanceCount(request);}

public virtual GetTrafficPolicyInstanceCountResponse GetTrafficPolicyInstanceCount(GetTrafficPolicyInstanceCountRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetTrafficPolicyInstanceCountRequestMarshaller.Instance;options.ResponseUnmarshaller = GetTrafficPolicyInstanceCountResponseUnmarshaller.Instance;return Invoke<GetTrafficPolicyInstanceCountResponse>(request, options);}

[User] public GetTrafficPolicyInstanceCountResult getTrafficPolicyInstanceCount(GetTrafficPolicyInstanceCountRequest request) {request = beforeClientExecution(request);return executeGetTrafficPolicyInstanceCount(request);}

[Assistant] public virtual GetTrafficPolicyInstanceCountResponse GetTrafficPolicyInstanceCount(GetTrafficPolicyInstanceCountRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetTrafficPolicyInstanceCountRequestMarshaller.Instance;options.ResponseUnmarshaller = GetTrafficPolicyInstanceCountResponseUnmarshaller.Instance;return Invoke<GetTrafficPolicyInstanceCountResponse>(request, options);}


public ModifyTrafficMirrorSessionResult modifyTrafficMirrorSession(ModifyTrafficMirrorSessionRequest request) {request = beforeClientExecution(request);return executeModifyTrafficMirrorSession(request);}

public virtual ModifyTrafficMirrorSessionResponse ModifyTrafficMirrorSession(ModifyTrafficMirrorSessionRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyTrafficMirrorSessionRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyTrafficMirrorSessionResponseUnmarshaller.Instance;return Invoke<ModifyTrafficMirrorSessionResponse>(request, options);}

[User] public ModifyTrafficMirrorSessionResult modifyTrafficMirrorSession(ModifyTrafficMirrorSessionRequest request) {request = beforeClientExecution(request);return executeModifyTrafficMirrorSession(request);}

[Assistant] public virtual ModifyTrafficMirrorSessionResponse ModifyTrafficMirrorSession(ModifyTrafficMirrorSessionRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyTrafficMirrorSessionRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyTrafficMirrorSessionResponseUnmarshaller.Instance;return Invoke<ModifyTrafficMirrorSessionResponse>(request, options);}


public DefaultClusterParameters describeDefaultClusterParameters(DescribeDefaultClusterParametersRequest request) {request = beforeClientExecution(request);return executeDescribeDefaultClusterParameters(request);}

public virtual DescribeDefaultClusterParametersResponse DescribeDefaultClusterParameters(DescribeDefaultClusterParametersRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDefaultClusterParametersRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDefaultClusterParametersResponseUnmarshaller.Instance;return Invoke<DescribeDefaultClusterParametersResponse>(request, options);}

[User] public DefaultClusterParameters describeDefaultClusterParameters(DescribeDefaultClusterParametersRequest request) {request = beforeClientExecution(request);return executeDescribeDefaultClusterParameters(request);}

[Assistant] public virtual DescribeDefaultClusterParametersResponse DescribeDefaultClusterParameters(DescribeDefaultClusterParametersRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDefaultClusterParametersRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDefaultClusterParametersResponseUnmarshaller.Instance;return Invoke<DescribeDefaultClusterParametersResponse>(request, options);}


public ConsoleWriter(OutputStream out) {super(out, true);lock = CONSOLE_LOCK;}

public ConsoleWriter(java.io.OutputStream @out) : base(@out, true){@lock = CONSOLE_LOCK;}

[User] public ConsoleWriter(OutputStream out) {super(out, true);lock = CONSOLE_LOCK;}

[Assistant] public ConsoleWriter(java.io.OutputStream @out) : base(@out, true){@lock = CONSOLE_LOCK;}


public MutableValue duplicate() {MutableValueBool v = new MutableValueBool();v.value = this.value;v.exists = this.exists;return v;}

public override MutableValue Duplicate(){MutableValueBool v = new MutableValueBool();v.Value = this.Value;v.Exists = this.Exists;return v;}

[User] public MutableValue duplicate() {MutableValueBool v = new MutableValueBool();v.value = this.value;v.exists = this.exists;return v;}

[Assistant] public override MutableValue Duplicate(){MutableValueBool v = new MutableValueBool();v.Value = this.Value;v.Exists = this.Exists;return v;}


public PatternTokenizerFactory(Map<String,String> args) {super(args);pattern = getPattern(args, PATTERN);group = getInt(args, GROUP, -1);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

public PatternTokenizerFactory(IDictionary<string, string> args): base(args){m_pattern = GetPattern(args, PATTERN);m_group = GetInt32(args, GROUP, -1);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}

[User] public PatternTokenizerFactory(Map<String,String> args) {super(args);pattern = getPattern(args, PATTERN);group = getInt(args, GROUP, -1);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

[Assistant] public PatternTokenizerFactory(IDictionary<string, string> args): base(args){m_pattern = GetPattern(args, PATTERN);m_group = GetInt32(args, GROUP, -1);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}


public int addConditionalFormatting(CellRangeAddress[] regions,ConditionalFormattingRule rule1,ConditionalFormattingRule rule2) {return addConditionalFormatting(regions,(HSSFConditionalFormattingRule)rule1,(HSSFConditionalFormattingRule)rule2);}

public int AddConditionalFormatting(CellRangeAddress[] regions,IConditionalFormattingRule rule1,IConditionalFormattingRule rule2){return AddConditionalFormatting(regions,new HSSFConditionalFormattingRule[]{(HSSFConditionalFormattingRule)rule1, (HSSFConditionalFormattingRule)rule2});}

[User] public int addConditionalFormatting(CellRangeAddress[] regions,ConditionalFormattingRule rule1,ConditionalFormattingRule rule2) {return addConditionalFormatting(regions,(HSSFConditionalFormattingRule)rule1,(HSSFConditionalFormattingRule)rule2);}

[Assistant] public int AddConditionalFormatting(CellRangeAddress[] regions,IConditionalFormattingRule rule1,IConditionalFormattingRule rule2){return AddConditionalFormatting(regions,new HSSFConditionalFormattingRule[]{(HSSFConditionalFormattingRule)rule1, (HSSFConditionalFormattingRule)rule2});}


public Credential(String keyId, String secret, String securityToken) {this.accessKeyId = keyId;this.accessSecret = secret;this.securityToken = securityToken;this.refreshDate = new Date();}

public Credential(string keyId, string secret, string securityToken){AccessKeyId = keyId;AccessSecret = secret;SecurityToken = securityToken;RefreshDate = new DateTime();}

[User] public Credential(String keyId, String secret, String securityToken) {this.accessKeyId = keyId;this.accessSecret = secret;this.securityToken = securityToken;this.refreshDate = new Date();}

[Assistant] public Credential(string keyId, string secret, string securityToken){AccessKeyId = keyId;AccessSecret = secret;SecurityToken = securityToken;RefreshDate = new DateTime();}


public void reset(int point) {this.point = point;ends.next = 0;starts.next = 0;}

public void Reset(int point){this.point = point;ends.count = 0;starts.count = 0;}

[User] public void reset(int point) {this.point = point;ends.next = 0;starts.next = 0;}

[Assistant] public void Reset(int point){this.point = point;ends.count = 0;starts.count = 0;}


public BottomMarginRecord( RecordInputStream in ) {field_1_margin = in.readDouble();}

public BottomMarginRecord(RecordInputStream in1){field_1_margin = in1.ReadDouble();}

[User] public BottomMarginRecord( RecordInputStream in ) {field_1_margin = in.readDouble();}

[Assistant] public BottomMarginRecord(RecordInputStream in1){field_1_margin = in1.ReadDouble();}


public final void removeFields(String name) {Iterator<IndexableField> it = fields.iterator();while (it.hasNext()) {IndexableField field = it.next();if (field.name().equals(name)) {it.remove();}}}

public void RemoveFields(string name){for (int i = fields.Count - 1; i >= 0; i--){IIndexableField field = fields[i];if (field.Name.Equals(name, StringComparison.Ordinal)){fields.Remove(field);}}}

[User] public final void removeFields(String name) {Iterator<IndexableField> it = fields.iterator();while (it.hasNext()) {IndexableField field = it.next();if (field.name().equals(name)) {it.remove();}}}

[Assistant] public void RemoveFields(string name){for (int i = fields.Count - 1; i >= 0; i--){IIndexableField field = fields[i];if (field.Name.Equals(name, StringComparison.Ordinal)){fields.Remove(field);}}}


public Token LT(int k) {lazyInit();if ( k == 0 ) return null;if ( k < 0 ) return LB(-k);int i = p;int n = 1; while ( n<k ) {if (sync(i + 1)) {i = nextTokenOnChannel(i + 1, channel);}n++;}return tokens.get(i);}

public override IToken LT(int k){LazyInit();if (k == 0){return null;}if (k < 0){return Lb(-k);}int i = p;int n = 1;while (n < k){if (Sync(i + 1)){i = NextTokenOnChannel(i + 1, channel);}n++;}return tokens[i];}

[User] public Token LT(int k) {lazyInit();if ( k == 0 ) return null;if ( k < 0 ) return LB(-k);int i = p;int n = 1; while ( n<k ) {if (sync(i + 1)) {i = nextTokenOnChannel(i + 1, channel);}n++;}return tokens.get(i);}

[Assistant] public override IToken LT(int k){LazyInit();if (k == 0){return null;}if (k < 0){return Lb(-k);}int i = p;int n = 1;while (n < k){if (Sync(i + 1)){i = NextTokenOnChannel(i + 1, channel);}n++;}return tokens[i];}


public FloatBuffer put(float c) {if (position == limit) {throw new BufferOverflowException();}byteBuffer.putFloat(position++ * SizeOf.FLOAT, c);return this;}

public override java.nio.FloatBuffer put(float c){if (_position == _limit){throw new java.nio.BufferOverflowException();}byteBuffer.putFloat(_position++ * libcore.io.SizeOf.FLOAT, c);return this;}

[User] public FloatBuffer put(float c) {if (position == limit) {throw new BufferOverflowException();}byteBuffer.putFloat(position++ * SizeOf.FLOAT, c);return this;}

[Assistant] public override java.nio.FloatBuffer put(float c){if (_position == _limit){throw new java.nio.BufferOverflowException();}byteBuffer.putFloat(_position++ * libcore.io.SizeOf.FLOAT, c);return this;}


public ExternalNameEval(EvaluationName name) {_name = name;}

public ExternalNameEval(IEvaluationName name){_name = name;}

[User] public ExternalNameEval(EvaluationName name) {_name = name;}

[Assistant] public ExternalNameEval(IEvaluationName name){_name = name;}


public GetLoadBalancerMetricDataResult getLoadBalancerMetricData(GetLoadBalancerMetricDataRequest request) {request = beforeClientExecution(request);return executeGetLoadBalancerMetricData(request);}

public virtual GetLoadBalancerMetricDataResponse GetLoadBalancerMetricData(GetLoadBalancerMetricDataRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetLoadBalancerMetricDataRequestMarshaller.Instance;options.ResponseUnmarshaller = GetLoadBalancerMetricDataResponseUnmarshaller.Instance;return Invoke<GetLoadBalancerMetricDataResponse>(request, options);}

[User] public GetLoadBalancerMetricDataResult getLoadBalancerMetricData(GetLoadBalancerMetricDataRequest request) {request = beforeClientExecution(request);return executeGetLoadBalancerMetricData(request);}

[Assistant] public virtual GetLoadBalancerMetricDataResponse GetLoadBalancerMetricData(GetLoadBalancerMetricDataRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetLoadBalancerMetricDataRequestMarshaller.Instance;options.ResponseUnmarshaller = GetLoadBalancerMetricDataResponseUnmarshaller.Instance;return Invoke<GetLoadBalancerMetricDataResponse>(request, options);}


public String getResultPath() {return resultPath.getPath();}

public virtual string GetResultPath(){return resultPath.GetPath();}

[User] public String getResultPath() {return resultPath.getPath();}

[Assistant] public virtual string GetResultPath(){return resultPath.GetPath();}


public RefWriter(RefList<Ref> refs) {this.refs = refs.asList();}

public RefWriter(ICollection<Ref> refs){this.refs = RefComparator.Sort(refs);}

[User] public RefWriter(RefList<Ref> refs) {this.refs = refs.asList();}

[Assistant] public RefWriter(ICollection<Ref> refs){this.refs = RefComparator.Sort(refs);}


public HSSFWorkbook getStubHSSFWorkbook() {HSSFWorkbook wb = HSSFWorkbook.create(getStubWorkbook());for (BoundSheetRecord bsr : boundSheetRecords) {wb.createSheet(bsr.getSheetname());}return wb;}

public HSSFWorkbook GetStubHSSFWorkbook(){HSSFWorkbook wb = HSSFWorkbook.Create(GetStubWorkbook());foreach (BoundSheetRecord bsr in boundSheetRecords) {wb.CreateSheet(bsr.Sheetname);}return wb;}

[User] public HSSFWorkbook getStubHSSFWorkbook() {HSSFWorkbook wb = HSSFWorkbook.create(getStubWorkbook());for (BoundSheetRecord bsr : boundSheetRecords) {wb.createSheet(bsr.getSheetname());}return wb;}

[Assistant] public HSSFWorkbook GetStubHSSFWorkbook(){HSSFWorkbook wb = HSSFWorkbook.Create(GetStubWorkbook());foreach (BoundSheetRecord bsr in boundSheetRecords) {wb.CreateSheet(bsr.Sheetname);}return wb;}


public static SupBookRecord createExternalReferences(String url, String[] sheetNames) {return new SupBookRecord(url, sheetNames);}

public static SupBookRecord CreateExternalReferences(String url, String[] sheetNames){return new SupBookRecord(url, sheetNames);}

[User] public static SupBookRecord createExternalReferences(String url, String[] sheetNames) {return new SupBookRecord(url, sheetNames);}

[Assistant] public static SupBookRecord CreateExternalReferences(String url, String[] sheetNames){return new SupBookRecord(url, sheetNames);}


public int getLevelForDistance(double dist) {if (dist == 0)return maxLevels;final int level = GeohashUtils.lookupHashLenForWidthHeight(dist, dist);return Math.max(Math.min(level, maxLevels), 1);}

public override int GetLevelForDistance(double dist){if (dist == 0){return m_maxLevels;}for (int i = 0; i < m_maxLevels - 1; i++){if (dist > levelW[i] && dist > levelH[i]){return i + 1;}}return m_maxLevels;}

[User] public int getLevelForDistance(double dist) {if (dist == 0)return maxLevels;final int level = GeohashUtils.lookupHashLenForWidthHeight(dist, dist);return Math.max(Math.min(level, maxLevels), 1);}

[Assistant] public override int GetLevelForDistance(double dist){if (dist == 0){return m_maxLevels;}for (int i = 0; i < m_maxLevels - 1; i++){if (dist > levelW[i] && dist > levelH[i]){return i + 1;}}return m_maxLevels;}


public MissingCellDummyRecord(int row, int column) {this.row = row;this.column = column;}

public MissingCellDummyRecord(int row, int column){this.row = row;this.column = column;}

[User] public MissingCellDummyRecord(int row, int column) {this.row = row;this.column = column;}

[Assistant] public MissingCellDummyRecord(int row, int column){this.row = row;this.column = column;}


public static TokenizerFactory forName(String name, Map<String,String> args) {return loader.newInstance(name, args);}

public static TokenizerFactory ForName(string name, IDictionary<string, string> args){return loader.NewInstance(name, args);}

[User] public static TokenizerFactory forName(String name, Map<String,String> args) {return loader.newInstance(name, args);}

[Assistant] public static TokenizerFactory ForName(string name, IDictionary<string, string> args){return loader.NewInstance(name, args);}


public final ByteBuffer encode(CharBuffer in) throws CharacterCodingException {if (in.remaining() == 0) {return ByteBuffer.allocate(0);}reset();int length = (int) (in.remaining() * averageBytesPerChar);ByteBuffer output = ByteBuffer.allocate(length);CoderResult result = null;while (true) {result = encode(in, output, false);if (result==CoderResult.UNDERFLOW) {break;} else if (result==CoderResult.OVERFLOW) {output = allocateMore(output);continue;}checkCoderResult(result);}result = encode(in, output, true);checkCoderResult(result);while (true) {result = flush(output);if (result==CoderResult.UNDERFLOW) {output.flip();break;} else if (result==CoderResult.OVERFLOW) {output = allocateMore(output);continue;}checkCoderResult(result);output.flip();if (result.isMalformed()) {throw new MalformedInputException(result.length());} else if (result.isUnmappable()) {throw new UnmappableCharacterException(result.length());}break;}status = READY;finished = true;return output;}

public java.nio.ByteBuffer encode(java.nio.CharBuffer @in){if (@in.remaining() == 0){return java.nio.ByteBuffer.allocate(0);}reset();int length = (int)(@in.remaining() * _averageBytesPerChar);java.nio.ByteBuffer output = java.nio.ByteBuffer.allocate(length);java.nio.charset.CoderResult result = null;while (true){result = encode(@in, output, false);if (result == java.nio.charset.CoderResult.UNDERFLOW){break;}else{if (result == java.nio.charset.CoderResult.OVERFLOW){output = allocateMore(output);continue;}}checkCoderResult(result);}result = encode(@in, output, true);checkCoderResult(result);while (true){result = flush(output);if (result == java.nio.charset.CoderResult.UNDERFLOW){output.flip();break;}else{if (result == java.nio.charset.CoderResult.OVERFLOW){output = allocateMore(output);continue;}}checkCoderResult(result);output.flip();if (result.isMalformed()){throw new java.nio.charset.MalformedInputException(result.length());}else{if (result.isUnmappable()){throw new java.nio.charset.UnmappableCharacterException(result.length());}}break;}status = READY;finished = true;return output;}

[User] public final ByteBuffer encode(CharBuffer in) throws CharacterCodingException {if (in.remaining() == 0) {return ByteBuffer.allocate(0);}reset();int length = (int) (in.remaining() * averageBytesPerChar);ByteBuffer output = ByteBuffer.allocate(length);CoderResult result = null;while (true) {result = encode(in, output, false);if (result==CoderResult.UNDERFLOW) {break;} else if (result==CoderResult.OVERFLOW) {output = allocateMore(output);continue;}checkCoderResult(result);}result = encode(in, output, true);checkCoderResult(result);while (true) {result = flush(output);if (result==CoderResult.UNDERFLOW) {output.flip();break;} else if (result==CoderResult.OVERFLOW) {output = allocateMore(output);continue;}checkCoderResult(result);output.flip();if (result.isMalformed()) {throw new MalformedInputException(result.length());} else if (result.isUnmappable()) {throw new UnmappableCharacterException(result.length());}break;}status = READY;finished = true;return output;}

[Assistant] public java.nio.ByteBuffer encode(java.nio.CharBuffer @in){if (@in.remaining() == 0){return java.nio.ByteBuffer.allocate(0);}reset();int length = (int)(@in.remaining() * _averageBytesPerChar);java.nio.ByteBuffer output = java.nio.ByteBuffer.allocate(length);java.nio.charset.CoderResult result = null;while (true){result = encode(@in, output, false);if (result == java.nio.charset.CoderResult.UNDERFLOW){break;}else{if (result == java.nio.charset.CoderResult.OVERFLOW){output = allocateMore(output);continue;}}checkCoderResult(result);}result = encode(@in, output, true);checkCoderResult(result);while (true){result = flush(output);if (result == java.nio.charset.CoderResult.UNDERFLOW){output.flip();break;}else{if (result == java.nio.charset.CoderResult.OVERFLOW){output = allocateMore(output);continue;}}checkCoderResult(result);output.flip();if (result.isMalformed()){throw new java.nio.charset.MalformedInputException(result.length());}else{if (result.isUnmappable()){throw new java.nio.charset.UnmappableCharacterException(result.length());}}break;}status = READY;finished = true;return output;}


public TextProgressMonitor(Writer out) {this.out = out;this.write = true;}

public TextProgressMonitor(TextWriter @out){this.@out = @out;this.write = true;}

[User] public TextProgressMonitor(Writer out) {this.out = out;this.write = true;}

[Assistant] public TextProgressMonitor(TextWriter @out){this.@out = @out;this.write = true;}


public double get(String name, double dflt) {double vals[] = (double[]) valByRound.get(name);if (vals != null) {return vals[roundNumber % vals.length];}String sval = props.getProperty(name, "" + dflt);if (sval.indexOf(":") < 0) {return Double.parseDouble(sval);}int k = sval.indexOf(":");String colName = sval.substring(0, k);sval = sval.substring(k + 1);colForValByRound.put(name, colName);vals = propToDoubleArray(sval);valByRound.put(name, vals);return vals[roundNumber % vals.length];}

public virtual string Get(string name, string dflt){string[] vals;object temp;if (valByRound.TryGetValue(name, out temp) && temp != null){vals = (string[])temp;return vals[roundNumber % vals.Length];}string sval;if (!props.TryGetValue(name, out sval)){sval = dflt;}if (sval == null){return null;}if (sval.IndexOf(':') < 0){return sval;}else if (sval.IndexOf(":\\", StringComparison.Ordinal) >= 0 || sval.IndexOf(":/", StringComparison.Ordinal) >= 0){return sval;}int k = sval.IndexOf(':');string colName = sval.Substring(0, k - 0);sval = sval.Substring(k + 1);colForValByRound[name] = colName;vals = PropToStringArray(sval);valByRound[name] = vals;return vals[roundNumber % vals.Length];}

[User] public double get(String name, double dflt) {double vals[] = (double[]) valByRound.get(name);if (vals != null) {return vals[roundNumber % vals.length];}String sval = props.getProperty(name, "" + dflt);if (sval.indexOf(":") < 0) {return Double.parseDouble(sval);}int k = sval.indexOf(":");String colName = sval.substring(0, k);sval = sval.substring(k + 1);colForValByRound.put(name, colName);vals = propToDoubleArray(sval);valByRound.put(name, vals);return vals[roundNumber % vals.length];}

[Assistant] public virtual string Get(string name, string dflt){string[] vals;object temp;if (valByRound.TryGetValue(name, out temp) && temp != null){vals = (string[])temp;return vals[roundNumber % vals.Length];}string sval;if (!props.TryGetValue(name, out sval)){sval = dflt;}if (sval == null){return null;}if (sval.IndexOf(':') < 0){return sval;}else if (sval.IndexOf(":\\", StringComparison.Ordinal) >= 0 || sval.IndexOf(":/", StringComparison.Ordinal) >= 0){return sval;}int k = sval.IndexOf(':');string colName = sval.Substring(0, k - 0);sval = sval.Substring(k + 1);colForValByRound[name] = colName;vals = PropToStringArray(sval);valByRound[name] = vals;return vals[roundNumber % vals.Length];}


public LooseRef peel(ObjectIdRef newLeaf) {ObjectId peeledObjectId = newLeaf.getPeeledObjectId();ObjectId objectId = getObjectId();if (peeledObjectId != null) {return new LoosePeeledTag(snapShot, getName(),objectId, peeledObjectId);}return new LooseNonTag(snapShot, getName(), objectId);}

public RefDirectory.LooseRef Peel(ObjectIdRef newLeaf){if (newLeaf.GetPeeledObjectId() != null){return new RefDirectory.LoosePeeledTag(snapShot, GetName(), GetObjectId(), newLeaf.GetPeeledObjectId());}else{return new RefDirectory.LooseNonTag(snapShot, GetName(), GetObjectId());}}

[User] public LooseRef peel(ObjectIdRef newLeaf) {ObjectId peeledObjectId = newLeaf.getPeeledObjectId();ObjectId objectId = getObjectId();if (peeledObjectId != null) {return new LoosePeeledTag(snapShot, getName(),objectId, peeledObjectId);}return new LooseNonTag(snapShot, getName(), objectId);}

[Assistant] public RefDirectory.LooseRef Peel(ObjectIdRef newLeaf){if (newLeaf.GetPeeledObjectId() != null){return new RefDirectory.LoosePeeledTag(snapShot, GetName(), GetObjectId(), newLeaf.GetPeeledObjectId());}else{return new RefDirectory.LooseNonTag(snapShot, GetName(), GetObjectId());}}


public List<Ref> call() throws GitAPIException {checkCallable();List<Ref> resultRefs;try {Collection<Ref> refs = new ArrayList<>();Ref head = repo.exactRef(HEAD);if (head != null && head.getLeaf().getName().equals(HEAD)) {refs.add(head);}if (listMode == null) {refs.addAll(repo.getRefDatabase().getRefsByPrefix(R_HEADS));} else if (listMode == ListMode.REMOTE) {refs.addAll(repo.getRefDatabase().getRefsByPrefix(R_REMOTES));} else {refs.addAll(repo.getRefDatabase().getRefsByPrefix(R_HEADS,R_REMOTES));}resultRefs = new ArrayList<>(filterRefs(refs));} catch (IOException e) {throw new JGitInternalException(e.getMessage(), e);}Collections.sort(resultRefs,(Ref o1, Ref o2) -> o1.getName().compareTo(o2.getName()));setCallable(false);return resultRefs;}

public override IList<Ref> Call(){CheckCallable();IDictionary<string, Ref> refList;try{if (listMode == ListMode.HEAD){refList = repo.RefDatabase.GetRefs(Constants.R_HEADS);}else{if (listMode == ListBranchCommand.ListMode.REMOTE){refList = repo.RefDatabase.GetRefs(Constants.R_REMOTES);}else{refList = new Dictionary<string, Ref>(repo.RefDatabase.GetRefs(Constants.R_HEADS));refList.PutAll(repo.RefDatabase.GetRefs(Constants.R_REMOTES));}}}catch (IOException e){throw new JGitInternalException(e.Message, e);}IList<Ref> resultRefs = new AList<Ref>();Sharpen.Collections.AddAll(resultRefs, refList.Values);resultRefs.Sort(new _IComparer_111());SetCallable(false);return resultRefs;}

[User] public List<Ref> call() throws GitAPIException {checkCallable();List<Ref> resultRefs;try {Collection<Ref> refs = new ArrayList<>();Ref head = repo.exactRef(HEAD);if (head != null && head.getLeaf().getName().equals(HEAD)) {refs.add(head);}if (listMode == null) {refs.addAll(repo.getRefDatabase().getRefsByPrefix(R_HEADS));} else if (listMode == ListMode.REMOTE) {refs.addAll(repo.getRefDatabase().getRefsByPrefix(R_REMOTES));} else {refs.addAll(repo.getRefDatabase().getRefsByPrefix(R_HEADS,R_REMOTES));}resultRefs = new ArrayList<>(filterRefs(refs));} catch (IOException e) {throw new JGitInternalException(e.getMessage(), e);}Collections.sort(resultRefs,(Ref o1, Ref o2) -> o1.getName().compareTo(o2.getName()));setCallable(false);return resultRefs;}

[Assistant] public override IList<Ref> Call(){CheckCallable();IDictionary<string, Ref> refList;try{if (listMode == ListMode.HEAD){refList = repo.RefDatabase.GetRefs(Constants.R_HEADS);}else{if (listMode == ListBranchCommand.ListMode.REMOTE){refList = repo.RefDatabase.GetRefs(Constants.R_REMOTES);}else{refList = new Dictionary<string, Ref>(repo.RefDatabase.GetRefs(Constants.R_HEADS));refList.PutAll(repo.RefDatabase.GetRefs(Constants.R_REMOTES));}}}catch (IOException e){throw new JGitInternalException(e.Message, e);}IList<Ref> resultRefs = new AList<Ref>();Sharpen.Collections.AddAll(resultRefs, refList.Values);resultRefs.Sort(new _IComparer_111());SetCallable(false);return resultRefs;}


public void writeLong(long v) {writeContinueIfRequired(8);_ulrOutput.writeLong(v);}

public void WriteLong(long v){WriteContinueIfRequired(8);_ulrOutput.WriteLong(v);}

[User] public void writeLong(long v) {writeContinueIfRequired(8);_ulrOutput.writeLong(v);}

[Assistant] public void WriteLong(long v){WriteContinueIfRequired(8);_ulrOutput.WriteLong(v);}


public UpdateSmsTemplateResult updateSmsTemplate(UpdateSmsTemplateRequest request) {request = beforeClientExecution(request);return executeUpdateSmsTemplate(request);}

public virtual UpdateSmsTemplateResponse UpdateSmsTemplate(UpdateSmsTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateSmsTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateSmsTemplateResponseUnmarshaller.Instance;return Invoke<UpdateSmsTemplateResponse>(request, options);}

[User] public UpdateSmsTemplateResult updateSmsTemplate(UpdateSmsTemplateRequest request) {request = beforeClientExecution(request);return executeUpdateSmsTemplate(request);}

[Assistant] public virtual UpdateSmsTemplateResponse UpdateSmsTemplate(UpdateSmsTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateSmsTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateSmsTemplateResponseUnmarshaller.Instance;return Invoke<UpdateSmsTemplateResponse>(request, options);}


public DeletePlacementGroupResult deletePlacementGroup(DeletePlacementGroupRequest request) {request = beforeClientExecution(request);return executeDeletePlacementGroup(request);}

public virtual DeletePlacementGroupResponse DeletePlacementGroup(DeletePlacementGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeletePlacementGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DeletePlacementGroupResponseUnmarshaller.Instance;return Invoke<DeletePlacementGroupResponse>(request, options);}

[User] public DeletePlacementGroupResult deletePlacementGroup(DeletePlacementGroupRequest request) {request = beforeClientExecution(request);return executeDeletePlacementGroup(request);}

[Assistant] public virtual DeletePlacementGroupResponse DeletePlacementGroup(DeletePlacementGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeletePlacementGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DeletePlacementGroupResponseUnmarshaller.Instance;return Invoke<DeletePlacementGroupResponse>(request, options);}


public StartApplicationResult startApplication(StartApplicationRequest request) {request = beforeClientExecution(request);return executeStartApplication(request);}

public virtual StartApplicationResponse StartApplication(StartApplicationRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartApplicationRequestMarshaller.Instance;options.ResponseUnmarshaller = StartApplicationResponseUnmarshaller.Instance;return Invoke<StartApplicationResponse>(request, options);}

[User] public StartApplicationResult startApplication(StartApplicationRequest request) {request = beforeClientExecution(request);return executeStartApplication(request);}

[Assistant] public virtual StartApplicationResponse StartApplication(StartApplicationRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartApplicationRequestMarshaller.Instance;options.ResponseUnmarshaller = StartApplicationResponseUnmarshaller.Instance;return Invoke<StartApplicationResponse>(request, options);}


public void mark(int readlimit) throws IOException {synchronized (lock) {super.mark(readlimit);markedLineNumber = lineNumber;markedLastWasCR = lastWasCR;}}

public override void mark(int readlimit){throw new System.NotImplementedException();}

[User] public void mark(int readlimit) throws IOException {synchronized (lock) {super.mark(readlimit);markedLineNumber = lineNumber;markedLastWasCR = lastWasCR;}}

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


public virtual int GetPort(){return port;}

[User] public int getPort() {return port;}

[Assistant] public virtual int GetPort(){return port;}


public int get() {if (position == limit) {throw new BufferUnderflowException();}return byteBuffer.getInt(position++ * SizeOf.INT);}

public override int get(){if (_position == _limit){throw new java.nio.BufferUnderflowException();}return byteBuffer.getInt(_position++ * libcore.io.SizeOf.INT);}

[User] public int get() {if (position == limit) {throw new BufferUnderflowException();}return byteBuffer.getInt(position++ * SizeOf.INT);}

[Assistant] public override int get(){if (_position == _limit){throw new java.nio.BufferUnderflowException();}return byteBuffer.getInt(_position++ * libcore.io.SizeOf.INT);}


public Entry<K, V> pollLastEntry() {Node<K, V> result = endpoint(false);if (result != null) {removeInternal(result);}return immutableCopy(result);}

public java.util.MapClass.Entry<K, V> pollLastEntry(){java.util.TreeMap.Node<K, V> result = this.endpoint(false);if (result != null){this._enclosing.removeInternal(result);}return this._enclosing.immutableCopy(result);}

[User] public Entry<K, V> pollLastEntry() {Node<K, V> result = endpoint(false);if (result != null) {removeInternal(result);}return immutableCopy(result);}

[Assistant] public java.util.MapClass.Entry<K, V> pollLastEntry(){java.util.TreeMap.Node<K, V> result = this.endpoint(false);if (result != null){this._enclosing.removeInternal(result);}return this._enclosing.immutableCopy(result);}


public RebootRelationalDatabaseResult rebootRelationalDatabase(RebootRelationalDatabaseRequest request) {request = beforeClientExecution(request);return executeRebootRelationalDatabase(request);}

public virtual RebootRelationalDatabaseResponse RebootRelationalDatabase(RebootRelationalDatabaseRequest request){var options = new InvokeOptions();options.RequestMarshaller = RebootRelationalDatabaseRequestMarshaller.Instance;options.ResponseUnmarshaller = RebootRelationalDatabaseResponseUnmarshaller.Instance;return Invoke<RebootRelationalDatabaseResponse>(request, options);}

[User] public RebootRelationalDatabaseResult rebootRelationalDatabase(RebootRelationalDatabaseRequest request) {request = beforeClientExecution(request);return executeRebootRelationalDatabase(request);}

[Assistant] public virtual RebootRelationalDatabaseResponse RebootRelationalDatabase(RebootRelationalDatabaseRequest request){var options = new InvokeOptions();options.RequestMarshaller = RebootRelationalDatabaseRequestMarshaller.Instance;options.ResponseUnmarshaller = RebootRelationalDatabaseResponseUnmarshaller.Instance;return Invoke<RebootRelationalDatabaseResponse>(request, options);}


public String toString() {return getClass().getName() + " [" + asFormulaString() + "]";}

public override String ToString(){StringBuilder sb = new StringBuilder(64);sb.Append(this.GetType().Name);sb.Append(" [");AsFormulaString(sb);sb.Append("]");return sb.ToString();}

[User] public String toString() {return getClass().getName() + " [" + asFormulaString() + "]";}

[Assistant] public override String ToString(){StringBuilder sb = new StringBuilder(64);sb.Append(this.GetType().Name);sb.Append(" [");AsFormulaString(sb);sb.Append("]");return sb.ToString();}


public BulkPublishResult bulkPublish(BulkPublishRequest request) {request = beforeClientExecution(request);return executeBulkPublish(request);}

public virtual BulkPublishResponse BulkPublish(BulkPublishRequest request){var options = new InvokeOptions();options.RequestMarshaller = BulkPublishRequestMarshaller.Instance;options.ResponseUnmarshaller = BulkPublishResponseUnmarshaller.Instance;return Invoke<BulkPublishResponse>(request, options);}

[User] public BulkPublishResult bulkPublish(BulkPublishRequest request) {request = beforeClientExecution(request);return executeBulkPublish(request);}

[Assistant] public virtual BulkPublishResponse BulkPublish(BulkPublishRequest request){var options = new InvokeOptions();options.RequestMarshaller = BulkPublishRequestMarshaller.Instance;options.ResponseUnmarshaller = BulkPublishResponseUnmarshaller.Instance;return Invoke<BulkPublishResponse>(request, options);}


public static String getNewRoleSessionName() {return "aliyun-java-sdk-" + System.currentTimeMillis();}

public static string GetNewRoleSessionName(){return "aliyun-net-sdk-" + DateTime.UtcNow.currentTimeMillis();}

[User] public static String getNewRoleSessionName() {return "aliyun-java-sdk-" + System.currentTimeMillis();}

[Assistant] public static string GetNewRoleSessionName(){return "aliyun-net-sdk-" + DateTime.UtcNow.currentTimeMillis();}


public CompleteLifecycleActionResult completeLifecycleAction(CompleteLifecycleActionRequest request) {request = beforeClientExecution(request);return executeCompleteLifecycleAction(request);}

public virtual CompleteLifecycleActionResponse CompleteLifecycleAction(CompleteLifecycleActionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CompleteLifecycleActionRequestMarshaller.Instance;options.ResponseUnmarshaller = CompleteLifecycleActionResponseUnmarshaller.Instance;return Invoke<CompleteLifecycleActionResponse>(request, options);}

[User] public CompleteLifecycleActionResult completeLifecycleAction(CompleteLifecycleActionRequest request) {request = beforeClientExecution(request);return executeCompleteLifecycleAction(request);}

[Assistant] public virtual CompleteLifecycleActionResponse CompleteLifecycleAction(CompleteLifecycleActionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CompleteLifecycleActionRequestMarshaller.Instance;options.ResponseUnmarshaller = CompleteLifecycleActionResponseUnmarshaller.Instance;return Invoke<CompleteLifecycleActionResponse>(request, options);}


public ParseException generateParseException() {jj_expentries.clear();boolean[] la1tokens = new boolean[34];if (jj_kind >= 0) {la1tokens[jj_kind] = true;jj_kind = -1;}for (int i = 0; i < 25; i++) {if (jj_la1[i] == jj_gen) {for (int j = 0; j < 32; j++) {if ((jj_la1_0[i] & (1<<j)) != 0) {la1tokens[j] = true;}if ((jj_la1_1[i] & (1<<j)) != 0) {la1tokens[32+j] = true;}}}}for (int i = 0; i < 34; i++) {if (la1tokens[i]) {jj_expentry = new int[1];jj_expentry[0] = i;jj_expentries.add(jj_expentry);}}jj_endpos = 0;jj_rescan_token();jj_add_error_token(0, 0);int[][] exptokseq = new int[jj_expentries.size()][];for (int i = 0; i < jj_expentries.size(); i++) {exptokseq[i] = jj_expentries.get(i);}return new ParseException(token, exptokseq, tokenImage);}

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

[User] public ParseException generateParseException() {jj_expentries.clear();boolean[] la1tokens = new boolean[34];if (jj_kind >= 0) {la1tokens[jj_kind] = true;jj_kind = -1;}for (int i = 0; i < 25; i++) {if (jj_la1[i] == jj_gen) {for (int j = 0; j < 32; j++) {if ((jj_la1_0[i] & (1<<j)) != 0) {la1tokens[j] = true;}if ((jj_la1_1[i] & (1<<j)) != 0) {la1tokens[32+j] = true;}}}}for (int i = 0; i < 34; i++) {if (la1tokens[i]) {jj_expentry = new int[1];jj_expentry[0] = i;jj_expentries.add(jj_expentry);}}jj_endpos = 0;jj_rescan_token();jj_add_error_token(0, 0);int[][] exptokseq = new int[jj_expentries.size()][];for (int i = 0; i < jj_expentries.size(); i++) {exptokseq[i] = jj_expentries.get(i);}return new ParseException(token, exptokseq, tokenImage);}

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


public final ObjectToPack getDeltaBase() {if (deltaBase instanceof ObjectToPack)return (ObjectToPack) deltaBase;return null;}

public virtual NGit.Storage.Pack.ObjectToPack GetDeltaBase(){if (deltaBase is NGit.Storage.Pack.ObjectToPack){return (NGit.Storage.Pack.ObjectToPack)deltaBase;}return null;}

[User] public final ObjectToPack getDeltaBase() {if (deltaBase instanceof ObjectToPack)return (ObjectToPack) deltaBase;return null;}

[Assistant] public virtual NGit.Storage.Pack.ObjectToPack GetDeltaBase(){if (deltaBase is NGit.Storage.Pack.ObjectToPack){return (NGit.Storage.Pack.ObjectToPack)deltaBase;}return null;}


public GetQueryExecutionResult getQueryExecution(GetQueryExecutionRequest request) {request = beforeClientExecution(request);return executeGetQueryExecution(request);}

public virtual GetQueryExecutionResponse GetQueryExecution(GetQueryExecutionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetQueryExecutionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetQueryExecutionResponseUnmarshaller.Instance;return Invoke<GetQueryExecutionResponse>(request, options);}

[User] public GetQueryExecutionResult getQueryExecution(GetQueryExecutionRequest request) {request = beforeClientExecution(request);return executeGetQueryExecution(request);}

[Assistant] public virtual GetQueryExecutionResponse GetQueryExecution(GetQueryExecutionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetQueryExecutionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetQueryExecutionResponseUnmarshaller.Instance;return Invoke<GetQueryExecutionResponse>(request, options);}


public int getFontIndex(FontRecord font) {for(int i=0; i<=numfonts; i++) {FontRecord thisFont =( FontRecord ) records.get((records.getFontpos() - (numfonts - 1)) + i);if(thisFont == font) {return (i > 3) ? i+1 : i;}}throw new IllegalArgumentException("Could not find that font!");}

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

[User] public int getFontIndex(FontRecord font) {for(int i=0; i<=numfonts; i++) {FontRecord thisFont =( FontRecord ) records.get((records.getFontpos() - (numfonts - 1)) + i);if(thisFont == font) {return (i > 3) ? i+1 : i;}}throw new IllegalArgumentException("Could not find that font!");}

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


public FieldInfo add(FieldInfo fi) {return add(fi, -1);}

public void Add(FieldInfos other){foreach (FieldInfo fieldInfo in other){Add(fieldInfo);}}

[User] public FieldInfo add(FieldInfo fi) {return add(fi, -1);}

[Assistant] public void Add(FieldInfos other){foreach (FieldInfo fieldInfo in other){Add(fieldInfo);}}


public DescribeDominantLanguageDetectionJobResult describeDominantLanguageDetectionJob(DescribeDominantLanguageDetectionJobRequest request) {request = beforeClientExecution(request);return executeDescribeDominantLanguageDetectionJob(request);}

public virtual DescribeDominantLanguageDetectionJobResponse DescribeDominantLanguageDetectionJob(DescribeDominantLanguageDetectionJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDominantLanguageDetectionJobRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDominantLanguageDetectionJobResponseUnmarshaller.Instance;return Invoke<DescribeDominantLanguageDetectionJobResponse>(request, options);}

[User] public DescribeDominantLanguageDetectionJobResult describeDominantLanguageDetectionJob(DescribeDominantLanguageDetectionJobRequest request) {request = beforeClientExecution(request);return executeDescribeDominantLanguageDetectionJob(request);}

[Assistant] public virtual DescribeDominantLanguageDetectionJobResponse DescribeDominantLanguageDetectionJob(DescribeDominantLanguageDetectionJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDominantLanguageDetectionJobRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDominantLanguageDetectionJobResponseUnmarshaller.Instance;return Invoke<DescribeDominantLanguageDetectionJobResponse>(request, options);}


public DescribeReservedInstancesModificationsResult describeReservedInstancesModifications() {return describeReservedInstancesModifications(new DescribeReservedInstancesModificationsRequest());}

[User] public DescribeReservedInstancesModificationsResult describeReservedInstancesModifications() {return describeReservedInstancesModifications(new DescribeReservedInstancesModificationsRequest());}

[Assistant] public virtual DescribeReservedInstancesModificationsResponse DescribeReservedInstancesModifications(){return DescribeReservedInstancesModifications(new DescribeReservedInstancesModificationsRequest());}


public DiffCommand setOutputStream(OutputStream out) {this.out = out;return this;}

public virtual NGit.Api.DiffCommand SetOutputStream(OutputStream @out){this.@out = @out;return this;}

[User] public DiffCommand setOutputStream(OutputStream out) {this.out = out;return this;}

[Assistant] public virtual NGit.Api.DiffCommand SetOutputStream(OutputStream @out){this.@out = @out;return this;}


public ObjectId toObjectId() {return new ObjectId(this);}

public override ObjectId ToObjectId(){return new ObjectId(this);}

[User] public ObjectId toObjectId() {return new ObjectId(this);}

[Assistant] public override ObjectId ToObjectId(){return new ObjectId(this);}


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

public static short[] GetAllKnownRecordSIDs(){if (_allKnownRecordSIDs == null){short[] results = new short[_recordCreatorsById.Count];int i = 0;foreach (KeyValuePair<short, I_RecordCreator> kv in _recordCreatorsById){results[i++] = kv.Key;}Array.Sort(results);_allKnownRecordSIDs = results;}return (short[])_allKnownRecordSIDs.Clone();}

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

[Assistant] public static short[] GetAllKnownRecordSIDs(){if (_allKnownRecordSIDs == null){short[] results = new short[_recordCreatorsById.Count];int i = 0;foreach (KeyValuePair<short, I_RecordCreator> kv in _recordCreatorsById){results[i++] = kv.Key;}Array.Sort(results);_allKnownRecordSIDs = results;}return (short[])_allKnownRecordSIDs.Clone();}


public PredictionContext getCachedContext(PredictionContext context) {if ( sharedContextCache==null ) return context;synchronized (sharedContextCache) {IdentityHashMap<PredictionContext, PredictionContext> visited =new IdentityHashMap<PredictionContext, PredictionContext>();return PredictionContext.getCachedContext(context,sharedContextCache,visited);}}

public PredictionContext getCachedContext(PredictionContext context){if (sharedContextCache == null) return context;lock (sharedContextCache){PredictionContext.IdentityHashMap visited =new PredictionContext.IdentityHashMap();return PredictionContext.GetCachedContext(context,sharedContextCache,visited);}}

[User] public PredictionContext getCachedContext(PredictionContext context) {if ( sharedContextCache==null ) return context;synchronized (sharedContextCache) {IdentityHashMap<PredictionContext, PredictionContext> visited =new IdentityHashMap<PredictionContext, PredictionContext>();return PredictionContext.getCachedContext(context,sharedContextCache,visited);}}

[Assistant] public PredictionContext getCachedContext(PredictionContext context){if (sharedContextCache == null) return context;lock (sharedContextCache){PredictionContext.IdentityHashMap visited =new PredictionContext.IdentityHashMap();return PredictionContext.GetCachedContext(context,sharedContextCache,visited);}}


public CreateStageResult createStage(CreateStageRequest request) {request = beforeClientExecution(request);return executeCreateStage(request);}

public virtual CreateStageResponse CreateStage(CreateStageRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateStageRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateStageResponseUnmarshaller.Instance;return Invoke<CreateStageResponse>(request, options);}

[User] public CreateStageResult createStage(CreateStageRequest request) {request = beforeClientExecution(request);return executeCreateStage(request);}

[Assistant] public virtual CreateStageResponse CreateStage(CreateStageRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateStageRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateStageResponseUnmarshaller.Instance;return Invoke<CreateStageResponse>(request, options);}


public static EditList singleton(Edit edit) {EditList res = new EditList(1);res.add(edit);return res;}

public static NGit.Diff.EditList Singleton(Edit edit){NGit.Diff.EditList res = new NGit.Diff.EditList(1);res.AddItem(edit);return res;}

[User] public static EditList singleton(Edit edit) {EditList res = new EditList(1);res.add(edit);return res;}

[Assistant] public static NGit.Diff.EditList Singleton(Edit edit){NGit.Diff.EditList res = new NGit.Diff.EditList(1);res.AddItem(edit);return res;}


public ModifySnapshotScheduleResult modifySnapshotSchedule(ModifySnapshotScheduleRequest request) {request = beforeClientExecution(request);return executeModifySnapshotSchedule(request);}

public virtual ModifySnapshotScheduleResponse ModifySnapshotSchedule(ModifySnapshotScheduleRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifySnapshotScheduleRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifySnapshotScheduleResponseUnmarshaller.Instance;return Invoke<ModifySnapshotScheduleResponse>(request, options);}

[User] public ModifySnapshotScheduleResult modifySnapshotSchedule(ModifySnapshotScheduleRequest request) {request = beforeClientExecution(request);return executeModifySnapshotSchedule(request);}

[Assistant] public virtual ModifySnapshotScheduleResponse ModifySnapshotSchedule(ModifySnapshotScheduleRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifySnapshotScheduleRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifySnapshotScheduleResponseUnmarshaller.Instance;return Invoke<ModifySnapshotScheduleResponse>(request, options);}


public boolean isEmpty() {return elements.length == 0;}

public virtual bool isEmpty(){return elements.Length == 0;}

[User] public boolean isEmpty() {return elements.length == 0;}

[Assistant] public virtual bool isEmpty(){return elements.Length == 0;}


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

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

[User] public void copy(BytesRef bytes, BytesRef out) {int left = blockSize - upto;if (bytes.length > left || currentBlock==null) {if (currentBlock != null) {addBlock(currentBlock);didSkipBytes = true;}currentBlock = new byte[blockSize];upto = 0;left = blockSize;assert bytes.length <= blockSize;}out.bytes = currentBlock;out.offset = upto;out.length = bytes.length;System.arraycopy(bytes.bytes, bytes.offset, currentBlock, upto, bytes.length);upto += bytes.length;}

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


public void add(int location, E object) {listIterator(location).add(object);}

public override void add(int location, E @object){listIterator(location).add(@object);}

[User] public void add(int location, E object) {listIterator(location).add(object);}

[Assistant] public override void add(int location, E @object){listIterator(location).add(@object);}


public CreateKeyPairRequest(String keyName) {setKeyName(keyName);}

public CreateKeyPairRequest(string keyName){_keyName = keyName;}

[User] public CreateKeyPairRequest(String keyName) {setKeyName(keyName);}

[Assistant] public CreateKeyPairRequest(string keyName){_keyName = keyName;}


public boolean removeLastOccurrence(Object o) {Iterator<E> iter = new ReverseLinkIterator<E>(this);return removeOneOccurrence(o, iter);}

public virtual bool removeLastOccurrence(object o){java.util.Iterator<E> iter = new java.util.LinkedList<E>.ReverseLinkIterator<E>(this, this);return removeOneOccurrence(o, iter);}

[User] public boolean removeLastOccurrence(Object o) {Iterator<E> iter = new ReverseLinkIterator<E>(this);return removeOneOccurrence(o, iter);}

[Assistant] public virtual bool removeLastOccurrence(object o){java.util.Iterator<E> iter = new java.util.LinkedList<E>.ReverseLinkIterator<E>(this, this);return removeOneOccurrence(o, iter);}


public int keyAt(int index) {return mKeys[index];}

public virtual int keyAt(int index){return mKeys[index];}

[User] public int keyAt(int index) {return mKeys[index];}

[Assistant] public virtual int keyAt(int index){return mKeys[index];}


public synchronized void setHierarchical(String dimName, boolean v) {DimConfig ft = fieldTypes.get(dimName);if (ft == null) {ft = new DimConfig();fieldTypes.put(dimName, ft);}ft.hierarchical = v;}

public virtual void SetHierarchical(string dimName, bool v){lock (this){if (!fieldTypes.TryGetValue(dimName, out DimConfig fieldType)){fieldTypes[dimName] = new DimConfig { IsHierarchical = v };}else{fieldType.IsHierarchical = v;}}}

[User] public synchronized void setHierarchical(String dimName, boolean v) {DimConfig ft = fieldTypes.get(dimName);if (ft == null) {ft = new DimConfig();fieldTypes.put(dimName, ft);}ft.hierarchical = v;}

[Assistant] public virtual void SetHierarchical(string dimName, bool v){lock (this){if (!fieldTypes.TryGetValue(dimName, out DimConfig fieldType)){fieldTypes[dimName] = new DimConfig { IsHierarchical = v };}else{fieldType.IsHierarchical = v;}}}


public ObjectId getOldObjectId() {return oldObjectId;}

public virtual ObjectId GetOldObjectId(){return oldObjectId;}

[User] public ObjectId getOldObjectId() {return oldObjectId;}

[Assistant] public virtual ObjectId GetOldObjectId(){return oldObjectId;}


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

public static string ToStringTree(ITree t, IList<string> ruleNames){string s = Utils.EscapeWhitespace(GetNodeText(t, ruleNames), false);if (t.ChildCount == 0){return s;}StringBuilder buf = new StringBuilder();buf.Append("(");s = Utils.EscapeWhitespace(GetNodeText(t, ruleNames), false);buf.Append(s);buf.Append(' ');for (int i = 0; i < t.ChildCount; i++){if (i > 0){buf.Append(' ');}buf.Append(ToStringTree(t.GetChild(i), ruleNames));}buf.Append(")");return buf.ToString();}

[User] public static String toStringTree(final Tree t, final List<String> ruleNames) {String s = Utils.escapeWhitespace(getNodeText(t, ruleNames), false);if ( t.getChildCount()==0 ) return s;StringBuilder buf = new StringBuilder();buf.append("(");s = Utils.escapeWhitespace(getNodeText(t, ruleNames), false);buf.append(s);buf.append(' ');for (int i = 0; i<t.getChildCount(); i++) {if ( i>0 ) buf.append(' ');buf.append(toStringTree(t.getChild(i), ruleNames));}buf.append(")");return buf.toString();}

[Assistant] public static string ToStringTree(ITree t, IList<string> ruleNames){string s = Utils.EscapeWhitespace(GetNodeText(t, ruleNames), false);if (t.ChildCount == 0){return s;}StringBuilder buf = new StringBuilder();buf.Append("(");s = Utils.EscapeWhitespace(GetNodeText(t, ruleNames), false);buf.Append(s);buf.Append(' ');for (int i = 0; i < t.ChildCount; i++){if (i > 0){buf.Append(' ');}buf.Append(ToStringTree(t.GetChild(i), ruleNames));}buf.Append(")");return buf.ToString();}


public NavigableSet<E> headSet(E end, boolean endInclusive) {Comparator<? super E> c = backingMap.comparator();if (c == null) {((Comparable<E>) end).compareTo(end);} else {c.compare(end, end);}return new TreeSet<E>(backingMap.headMap(end, endInclusive));}

public virtual java.util.NavigableSet<E> headSet(E end, bool endInclusive){java.util.Comparator<E> c = backingMap.comparator();if (c == null){((java.lang.Comparable<E>)end).compareTo(end);}else{c.compare(end, end);}return new java.util.TreeSet<E>(backingMap.headMap(end, endInclusive));}

[User] public NavigableSet<E> headSet(E end, boolean endInclusive) {Comparator<? super E> c = backingMap.comparator();if (c == null) {((Comparable<E>) end).compareTo(end);} else {c.compare(end, end);}return new TreeSet<E>(backingMap.headMap(end, endInclusive));}

[Assistant] public virtual java.util.NavigableSet<E> headSet(E end, bool endInclusive){java.util.Comparator<E> c = backingMap.comparator();if (c == null){((java.lang.Comparable<E>)end).compareTo(end);}else{c.compare(end, end);}return new java.util.TreeSet<E>(backingMap.headMap(end, endInclusive));}


public static ContentSource create(ObjectReader reader) {return new ObjectReaderSource(reader);}

public static ContentSource Create(ObjectReader reader){return new ContentSource.ObjectReaderSource(reader);}

[User] public static ContentSource create(ObjectReader reader) {return new ObjectReaderSource(reader);}

[Assistant] public static ContentSource Create(ObjectReader reader){return new ContentSource.ObjectReaderSource(reader);}


public void setReuseDeltas(boolean reuseDeltas) {this.reuseDeltas = reuseDeltas;}

public virtual void SetReuseDeltas(bool reuseDeltas){this.reuseDeltas = reuseDeltas;}

[User] public void setReuseDeltas(boolean reuseDeltas) {this.reuseDeltas = reuseDeltas;}

[Assistant] public virtual void SetReuseDeltas(bool reuseDeltas){this.reuseDeltas = reuseDeltas;}


public ListSkillsStoreSkillsByCategoryResult listSkillsStoreSkillsByCategory(ListSkillsStoreSkillsByCategoryRequest request) {request = beforeClientExecution(request);return executeListSkillsStoreSkillsByCategory(request);}

public virtual ListSkillsStoreSkillsByCategoryResponse ListSkillsStoreSkillsByCategory(ListSkillsStoreSkillsByCategoryRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListSkillsStoreSkillsByCategoryRequestMarshaller.Instance;options.ResponseUnmarshaller = ListSkillsStoreSkillsByCategoryResponseUnmarshaller.Instance;return Invoke<ListSkillsStoreSkillsByCategoryResponse>(request, options);}

[User] public ListSkillsStoreSkillsByCategoryResult listSkillsStoreSkillsByCategory(ListSkillsStoreSkillsByCategoryRequest request) {request = beforeClientExecution(request);return executeListSkillsStoreSkillsByCategory(request);}

[Assistant] public virtual ListSkillsStoreSkillsByCategoryResponse ListSkillsStoreSkillsByCategory(ListSkillsStoreSkillsByCategoryRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListSkillsStoreSkillsByCategoryRequestMarshaller.Instance;options.ResponseUnmarshaller = ListSkillsStoreSkillsByCategoryResponseUnmarshaller.Instance;return Invoke<ListSkillsStoreSkillsByCategoryResponse>(request, options);}


public final Ref getRef(String name) {return advertisedRefs.get(name);}

public Ref GetRef(string name){return advertisedRefs.Get(name);}

[User] public final Ref getRef(String name) {return advertisedRefs.get(name);}

[Assistant] public Ref GetRef(string name){return advertisedRefs.Get(name);}


public ModifyInstanceGroupsResult modifyInstanceGroups(ModifyInstanceGroupsRequest request) {request = beforeClientExecution(request);return executeModifyInstanceGroups(request);}

public virtual ModifyInstanceGroupsResponse ModifyInstanceGroups(ModifyInstanceGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyInstanceGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyInstanceGroupsResponseUnmarshaller.Instance;return Invoke<ModifyInstanceGroupsResponse>(request, options);}

[User] public ModifyInstanceGroupsResult modifyInstanceGroups(ModifyInstanceGroupsRequest request) {request = beforeClientExecution(request);return executeModifyInstanceGroups(request);}

[Assistant] public virtual ModifyInstanceGroupsResponse ModifyInstanceGroups(ModifyInstanceGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyInstanceGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyInstanceGroupsResponseUnmarshaller.Instance;return Invoke<ModifyInstanceGroupsResponse>(request, options);}


public Object toObject() {return exists ? new Date(value) : null;}

public override object ToObject(){return Exists ? new DateTime(Value) as object : null;}

[User] public Object toObject() {return exists ? new Date(value) : null;}

[Assistant] public override object ToObject(){return Exists ? new DateTime(Value) as object : null;}


public DescribeDBInstanceAutomatedBackupsResult describeDBInstanceAutomatedBackups(DescribeDBInstanceAutomatedBackupsRequest request) {request = beforeClientExecution(request);return executeDescribeDBInstanceAutomatedBackups(request);}

public virtual DescribeDBInstanceAutomatedBackupsResponse DescribeDBInstanceAutomatedBackups(DescribeDBInstanceAutomatedBackupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDBInstanceAutomatedBackupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDBInstanceAutomatedBackupsResponseUnmarshaller.Instance;return Invoke<DescribeDBInstanceAutomatedBackupsResponse>(request, options);}

[User] public DescribeDBInstanceAutomatedBackupsResult describeDBInstanceAutomatedBackups(DescribeDBInstanceAutomatedBackupsRequest request) {request = beforeClientExecution(request);return executeDescribeDBInstanceAutomatedBackups(request);}

[Assistant] public virtual DescribeDBInstanceAutomatedBackupsResponse DescribeDBInstanceAutomatedBackups(DescribeDBInstanceAutomatedBackupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDBInstanceAutomatedBackupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDBInstanceAutomatedBackupsResponseUnmarshaller.Instance;return Invoke<DescribeDBInstanceAutomatedBackupsResponse>(request, options);}


public PreviewAgentsResult previewAgents(PreviewAgentsRequest request) {request = beforeClientExecution(request);return executePreviewAgents(request);}

public virtual PreviewAgentsResponse PreviewAgents(PreviewAgentsRequest request){var options = new InvokeOptions();options.RequestMarshaller = PreviewAgentsRequestMarshaller.Instance;options.ResponseUnmarshaller = PreviewAgentsResponseUnmarshaller.Instance;return Invoke<PreviewAgentsResponse>(request, options);}

[User] public PreviewAgentsResult previewAgents(PreviewAgentsRequest request) {request = beforeClientExecution(request);return executePreviewAgents(request);}

[Assistant] public virtual PreviewAgentsResponse PreviewAgents(PreviewAgentsRequest request){var options = new InvokeOptions();options.RequestMarshaller = PreviewAgentsRequestMarshaller.Instance;options.ResponseUnmarshaller = PreviewAgentsResponseUnmarshaller.Instance;return Invoke<PreviewAgentsResponse>(request, options);}


public QueryGroupUsersRequest() {super("LinkFace", "2018-07-20", "QueryGroupUsers");setProtocol(ProtocolType.HTTPS);setMethod(MethodType.POST);}

public QueryGroupUsersRequest(): base("LinkFace", "2018-07-20", "QueryGroupUsers"){Protocol = ProtocolType.HTTPS;Method = MethodType.POST;}

[User] public QueryGroupUsersRequest() {super("LinkFace", "2018-07-20", "QueryGroupUsers");setProtocol(ProtocolType.HTTPS);setMethod(MethodType.POST);}

[Assistant] public QueryGroupUsersRequest(): base("LinkFace", "2018-07-20", "QueryGroupUsers"){Protocol = ProtocolType.HTTPS;Method = MethodType.POST;}


public DescribeOptionGroupsResult describeOptionGroups(DescribeOptionGroupsRequest request) {request = beforeClientExecution(request);return executeDescribeOptionGroups(request);}

public virtual DescribeOptionGroupsResponse DescribeOptionGroups(DescribeOptionGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeOptionGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeOptionGroupsResponseUnmarshaller.Instance;return Invoke<DescribeOptionGroupsResponse>(request, options);}

[User] public DescribeOptionGroupsResult describeOptionGroups(DescribeOptionGroupsRequest request) {request = beforeClientExecution(request);return executeDescribeOptionGroups(request);}

[Assistant] public virtual DescribeOptionGroupsResponse DescribeOptionGroups(DescribeOptionGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeOptionGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeOptionGroupsResponseUnmarshaller.Instance;return Invoke<DescribeOptionGroupsResponse>(request, options);}


public UpdateGroupResult updateGroup(UpdateGroupRequest request) {request = beforeClientExecution(request);return executeUpdateGroup(request);}

public virtual UpdateGroupResponse UpdateGroup(UpdateGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateGroupResponseUnmarshaller.Instance;return Invoke<UpdateGroupResponse>(request, options);}

[User] public UpdateGroupResult updateGroup(UpdateGroupRequest request) {request = beforeClientExecution(request);return executeUpdateGroup(request);}

[Assistant] public virtual UpdateGroupResponse UpdateGroup(UpdateGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateGroupResponseUnmarshaller.Instance;return Invoke<UpdateGroupResponse>(request, options);}


public UpdateSigningCertificateRequest(String certificateId, StatusType status) {setCertificateId(certificateId);setStatus(status.toString());}

public UpdateSigningCertificateRequest(string certificateId, StatusType status){_certificateId = certificateId;_status = status;}

[User] public UpdateSigningCertificateRequest(String certificateId, StatusType status) {setCertificateId(certificateId);setStatus(status.toString());}

[Assistant] public UpdateSigningCertificateRequest(string certificateId, StatusType status){_certificateId = certificateId;_status = status;}


public CreateInstancesResult createInstances(CreateInstancesRequest request) {request = beforeClientExecution(request);return executeCreateInstances(request);}

public virtual CreateInstancesResponse CreateInstances(CreateInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateInstancesResponseUnmarshaller.Instance;return Invoke<CreateInstancesResponse>(request, options);}

[User] public CreateInstancesResult createInstances(CreateInstancesRequest request) {request = beforeClientExecution(request);return executeCreateInstances(request);}

[Assistant] public virtual CreateInstancesResponse CreateInstances(CreateInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateInstancesResponseUnmarshaller.Instance;return Invoke<CreateInstancesResponse>(request, options);}


public static int getRecordSizeForBlockCount(int blockCount) {return 20 + 4 * blockCount;}

public static int GetRecordSizeForBlockCount(int blockCount){return 20 + (4 * blockCount);}

[User] public static int getRecordSizeForBlockCount(int blockCount) {return 20 + 4 * blockCount;}

[Assistant] public static int GetRecordSizeForBlockCount(int blockCount){return 20 + (4 * blockCount);}


public StopStreamEncryptionResult stopStreamEncryption(StopStreamEncryptionRequest request) {request = beforeClientExecution(request);return executeStopStreamEncryption(request);}

public virtual StopStreamEncryptionResponse StopStreamEncryption(StopStreamEncryptionRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopStreamEncryptionRequestMarshaller.Instance;options.ResponseUnmarshaller = StopStreamEncryptionResponseUnmarshaller.Instance;return Invoke<StopStreamEncryptionResponse>(request, options);}

[User] public StopStreamEncryptionResult stopStreamEncryption(StopStreamEncryptionRequest request) {request = beforeClientExecution(request);return executeStopStreamEncryption(request);}

[Assistant] public virtual StopStreamEncryptionResponse StopStreamEncryption(StopStreamEncryptionRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopStreamEncryptionRequestMarshaller.Instance;options.ResponseUnmarshaller = StopStreamEncryptionResponseUnmarshaller.Instance;return Invoke<StopStreamEncryptionResponse>(request, options);}


public GetPredictionResult getPrediction(GetPredictionRequest request) {request = beforeClientExecution(request);return executeGetPrediction(request);}

public virtual GetPredictionResponse GetPrediction(GetPredictionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetPredictionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetPredictionResponseUnmarshaller.Instance;return Invoke<GetPredictionResponse>(request, options);}

[User] public GetPredictionResult getPrediction(GetPredictionRequest request) {request = beforeClientExecution(request);return executeGetPrediction(request);}

[Assistant] public virtual GetPredictionResponse GetPrediction(GetPredictionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetPredictionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetPredictionResponseUnmarshaller.Instance;return Invoke<GetPredictionResponse>(request, options);}


public ModifyWorkspacePropertiesResult modifyWorkspaceProperties(ModifyWorkspacePropertiesRequest request) {request = beforeClientExecution(request);return executeModifyWorkspaceProperties(request);}

public virtual ModifyWorkspacePropertiesResponse ModifyWorkspaceProperties(ModifyWorkspacePropertiesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyWorkspacePropertiesRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyWorkspacePropertiesResponseUnmarshaller.Instance;return Invoke<ModifyWorkspacePropertiesResponse>(request, options);}

[User] public ModifyWorkspacePropertiesResult modifyWorkspaceProperties(ModifyWorkspacePropertiesRequest request) {request = beforeClientExecution(request);return executeModifyWorkspaceProperties(request);}

[Assistant] public virtual ModifyWorkspacePropertiesResponse ModifyWorkspaceProperties(ModifyWorkspacePropertiesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyWorkspacePropertiesRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyWorkspacePropertiesResponseUnmarshaller.Instance;return Invoke<ModifyWorkspacePropertiesResponse>(request, options);}


public void copyFrom(TermState _other) {assert _other instanceof BlockTermState : "can not copy from " + _other.getClass().getName();BlockTermState other = (BlockTermState) _other;super.copyFrom(_other);docFreq = other.docFreq;totalTermFreq = other.totalTermFreq;termBlockOrd = other.termBlockOrd;blockFilePointer = other.blockFilePointer;}

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

[User] public void copyFrom(TermState _other) {assert _other instanceof BlockTermState : "can not copy from " + _other.getClass().getName();BlockTermState other = (BlockTermState) _other;super.copyFrom(_other);docFreq = other.docFreq;totalTermFreq = other.totalTermFreq;termBlockOrd = other.termBlockOrd;blockFilePointer = other.blockFilePointer;}

[Assistant] public override void CopyFrom(TermState other){Debug.Assert(other is BlockTermState, "can not copy from " + other.GetType().Name);BlockTermState other2 = (BlockTermState)other;base.CopyFrom(other);DocFreq = other2.DocFreq;TotalTermFreq = other2.TotalTermFreq;TermBlockOrd = other2.TermBlockOrd;BlockFilePointer = other2.BlockFilePointer;}


public String getLine() {return command.getLine();}

public virtual string GetLine(){return line;}

[User] public String getLine() {return command.getLine();}

[Assistant] public virtual string GetLine(){return line;}


public static void release(Inflater i) {if (i != null) {i.reset();if (releaseImpl(i))i.end();}}

public static void Release(Inflater i){if (i != null){i.Reset();if (ReleaseImpl(i)){i.Finish();}}}

[User] public static void release(Inflater i) {if (i != null) {i.reset();if (releaseImpl(i))i.end();}}

[Assistant] public static void Release(Inflater i){if (i != null){i.Reset();if (ReleaseImpl(i)){i.Finish();}}}


public EnumSet<RevSort> getRevSort() {return sorting.clone();}

public virtual EnumSet<RevSort> GetRevSort(){return sorting.Clone();}

[User] public EnumSet<RevSort> getRevSort() {return sorting.clone();}

[Assistant] public virtual EnumSet<RevSort> GetRevSort(){return sorting.Clone();}


public boolean removeFetchRefSpec(RefSpec s) {return fetch.remove(s);}

public virtual bool RemoveFetchRefSpec(RefSpec s){return fetch.Remove(s);}

[User] public boolean removeFetchRefSpec(RefSpec s) {return fetch.remove(s);}

[Assistant] public virtual bool RemoveFetchRefSpec(RefSpec s){return fetch.Remove(s);}


public CharBuffer put(char c) {if (position == limit) {throw new BufferOverflowException();}backingArray[offset + position++] = c;return this;}

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

[User] public CharBuffer put(char c) {if (position == limit) {throw new BufferOverflowException();}backingArray[offset + position++] = c;return this;}

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


public int getRate() {return (perMin ? rate : 60*rate);}

public virtual int GetRate(){return (perMin ? rate : 60 * rate);}

[User] public int getRate() {return (perMin ? rate : 60*rate);}

[Assistant] public virtual int GetRate(){return (perMin ? rate : 60 * rate);}


public DescribeDBParametersRequest(String dBParameterGroupName) {setDBParameterGroupName(dBParameterGroupName);}

public DescribeDBParametersRequest(string dbParameterGroupName){_dbParameterGroupName = dbParameterGroupName;}

[User] public DescribeDBParametersRequest(String dBParameterGroupName) {setDBParameterGroupName(dBParameterGroupName);}

[Assistant] public DescribeDBParametersRequest(string dbParameterGroupName){_dbParameterGroupName = dbParameterGroupName;}


public DeleteNodeResult deleteNode(DeleteNodeRequest request) {request = beforeClientExecution(request);return executeDeleteNode(request);}

public virtual DeleteNodeResponse DeleteNode(DeleteNodeRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteNodeRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteNodeResponseUnmarshaller.Instance;return Invoke<DeleteNodeResponse>(request, options);}

[User] public DeleteNodeResult deleteNode(DeleteNodeRequest request) {request = beforeClientExecution(request);return executeDeleteNode(request);}

[Assistant] public virtual DeleteNodeResponse DeleteNode(DeleteNodeRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteNodeRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteNodeResponseUnmarshaller.Instance;return Invoke<DeleteNodeResponse>(request, options);}


@Override public List<E> subList(int from, int to) {Slice slice = this.slice;if (from < 0 || from > to || to > size()) {throw new IndexOutOfBoundsException("from=" + from + ", to=" + to +", list size=" + size());}return new CowSubList(slice.expectedElements, slice.from + from, slice.from + to);}

public virtual java.util.List<E> subList(int from, int to){object[] snapshot = elements;if (from < 0 || from > to || to > snapshot.Length){throw new System.IndexOutOfRangeException("from=" + from + ", to=" + to + ", list size="+ snapshot.Length);}return new java.util.concurrent.CopyOnWriteArrayList<E>.CowSubList(this, snapshot, from, to);}

[User] @Override public List<E> subList(int from, int to) {Slice slice = this.slice;if (from < 0 || from > to || to > size()) {throw new IndexOutOfBoundsException("from=" + from + ", to=" + to +", list size=" + size());}return new CowSubList(slice.expectedElements, slice.from + from, slice.from + to);}

[Assistant] public virtual java.util.List<E> subList(int from, int to){object[] snapshot = elements;if (from < 0 || from > to || to > snapshot.Length){throw new System.IndexOutOfRangeException("from=" + from + ", to=" + to + ", list size="+ snapshot.Length);}return new java.util.concurrent.CopyOnWriteArrayList<E>.CowSubList(this, snapshot, from, to);}


public CompositeReaderContext build() {return (CompositeReaderContext) build(null, reader, 0, 0);}

public CompositeReaderContext Build(){return (CompositeReaderContext)Build(null, reader, 0, 0);}

[User] public CompositeReaderContext build() {return (CompositeReaderContext) build(null, reader, 0, 0);}

[Assistant] public CompositeReaderContext Build(){return (CompositeReaderContext)Build(null, reader, 0, 0);}


public Cluster rebootCluster(RebootClusterRequest request) {request = beforeClientExecution(request);return executeRebootCluster(request);}

public virtual RebootClusterResponse RebootCluster(RebootClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = RebootClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = RebootClusterResponseUnmarshaller.Instance;return Invoke<RebootClusterResponse>(request, options);}

[User] public Cluster rebootCluster(RebootClusterRequest request) {request = beforeClientExecution(request);return executeRebootCluster(request);}

[Assistant] public virtual RebootClusterResponse RebootCluster(RebootClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = RebootClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = RebootClusterResponseUnmarshaller.Instance;return Invoke<RebootClusterResponse>(request, options);}


public void setBorder(boolean value){field_1_options = border.setShortBoolean(field_1_options, value);}

public void SetBorder(bool value){field_1_options = border.SetShortBoolean(field_1_options, value);}

[User] public void setBorder(boolean value){field_1_options = border.setShortBoolean(field_1_options, value);}

[Assistant] public void SetBorder(bool value){field_1_options = border.SetShortBoolean(field_1_options, value);}


public DescribeExportTasksResult describeExportTasks(DescribeExportTasksRequest request) {request = beforeClientExecution(request);return executeDescribeExportTasks(request);}

public virtual DescribeExportTasksResponse DescribeExportTasks(DescribeExportTasksRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeExportTasksRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeExportTasksResponseUnmarshaller.Instance;return Invoke<DescribeExportTasksResponse>(request, options);}

[User] public DescribeExportTasksResult describeExportTasks(DescribeExportTasksRequest request) {request = beforeClientExecution(request);return executeDescribeExportTasks(request);}

[Assistant] public virtual DescribeExportTasksResponse DescribeExportTasks(DescribeExportTasksRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeExportTasksRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeExportTasksResponseUnmarshaller.Instance;return Invoke<DescribeExportTasksResponse>(request, options);}


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

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

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

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