public static void mkdirs(File d, boolean skipExisting)throws IOException {if (!d.mkdirs()) {if (skipExisting && d.isDirectory())return;throw new IOException(MessageFormat.format(JGitText.get().mkDirsFailed, d.getAbsolutePath()));}}

public static void Mkdirs(FilePath d, bool skipExisting){if (!d.Mkdirs()){if (skipExisting && d.IsDirectory()){return;}throw new IOException(MessageFormat.Format(JGitText.Get().mkDirsFailed, d.GetAbsolutePath()));}}

[User] public static void mkdirs(File d, boolean skipExisting)throws IOException {if (!d.mkdirs()) {if (skipExisting && d.isDirectory())return;throw new IOException(MessageFormat.format(JGitText.get().mkDirsFailed, d.getAbsolutePath()));}}

[Assistant] public static void Mkdirs(FilePath d, bool skipExisting){if (!d.Mkdirs()){if (skipExisting && d.IsDirectory()){return;}throw new IOException(MessageFormat.Format(JGitText.Get().mkDirsFailed, d.GetAbsolutePath()));}}


public GetImageManifestRequest() {super("cr", "2016-06-07", "GetImageManifest", "cr");setUriPattern("/repos/[RepoNamespace]/[RepoName]/tags/[Tag]/manifest");setMethod(MethodType.GET);}

public GetImageManifestRequest(): base("cr", "2016-06-07", "GetImageManifest", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/tags/[Tag]/manifest";Method = MethodType.GET;}

[User] public GetImageManifestRequest() {super("cr", "2016-06-07", "GetImageManifest", "cr");setUriPattern("/repos/[RepoNamespace]/[RepoName]/tags/[Tag]/manifest");setMethod(MethodType.GET);}

[Assistant] public GetImageManifestRequest(): base("cr", "2016-06-07", "GetImageManifest", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/tags/[Tag]/manifest";Method = MethodType.GET;}


public ListIdentitiesResult listIdentities(ListIdentitiesRequest request) {request = beforeClientExecution(request);return executeListIdentities(request);}

public virtual ListIdentitiesResponse ListIdentities(ListIdentitiesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListIdentitiesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListIdentitiesResponseUnmarshaller.Instance;return Invoke<ListIdentitiesResponse>(request, options);}

[User] public ListIdentitiesResult listIdentities(ListIdentitiesRequest request) {request = beforeClientExecution(request);return executeListIdentities(request);}

[Assistant] public virtual ListIdentitiesResponse ListIdentities(ListIdentitiesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListIdentitiesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListIdentitiesResponseUnmarshaller.Instance;return Invoke<ListIdentitiesResponse>(request, options);}


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

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

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

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


public byte[] toByteArray() {byte[] result = new byte[LittleEndianConsts.INT_SIZE*2+_value.length];LittleEndianByteArrayOutputStream bos = new LittleEndianByteArrayOutputStream(result,0);try {bos.writeInt(LittleEndianConsts.INT_SIZE + _value.length);bos.writeInt(_format);bos.write(_value);return result;} finally {IOUtils.closeQuietly(bos);}}

public byte[] ToByteArray(){byte[] result = new byte[Size];LittleEndian.PutInt(result, 0 * LittleEndian.INT_SIZE,LittleEndian.INT_SIZE + _value.Length);LittleEndian.PutInt(result, 1 * LittleEndian.INT_SIZE, _format);System.Array.Copy(_value, 0, result, LittleEndian.INT_SIZE+ LittleEndian.INT_SIZE, _value.Length);return result;}

[User] public byte[] toByteArray() {byte[] result = new byte[LittleEndianConsts.INT_SIZE*2+_value.length];LittleEndianByteArrayOutputStream bos = new LittleEndianByteArrayOutputStream(result,0);try {bos.writeInt(LittleEndianConsts.INT_SIZE + _value.length);bos.writeInt(_format);bos.write(_value);return result;} finally {IOUtils.closeQuietly(bos);}}

[Assistant] public byte[] ToByteArray(){byte[] result = new byte[Size];LittleEndian.PutInt(result, 0 * LittleEndian.INT_SIZE,LittleEndian.INT_SIZE + _value.Length);LittleEndian.PutInt(result, 1 * LittleEndian.INT_SIZE, _format);System.Array.Copy(_value, 0, result, LittleEndian.INT_SIZE+ LittleEndian.INT_SIZE, _value.Length);return result;}


public void update(byte[] b, int off, int len) {if (len >= buffer.length) {flush();in.update(b, off, len);} else {if (upto + len > buffer.length) {flush();}System.arraycopy(b, off, buffer, upto, len);upto += len;}}

public virtual void Update(byte[] b, int off, int len){if (len >= buffer.Length){Flush();@in.Update(b, off, len);}else{if (upto + len > buffer.Length){Flush();}System.Buffer.BlockCopy(b, off, buffer, upto, len);upto += len;}}

[User] public void update(byte[] b, int off, int len) {if (len >= buffer.length) {flush();in.update(b, off, len);} else {if (upto + len > buffer.length) {flush();}System.arraycopy(b, off, buffer, upto, len);upto += len;}}

[Assistant] public virtual void Update(byte[] b, int off, int len){if (len >= buffer.Length){Flush();@in.Update(b, off, len);}else{if (upto + len > buffer.Length){Flush();}System.Buffer.BlockCopy(b, off, buffer, upto, len);upto += len;}}


public HSSFPicture createPicture(ClientAnchor anchor, int pictureIndex) {return createPicture((HSSFClientAnchor) anchor, pictureIndex);}

public IPicture CreatePicture(HSSFClientAnchor anchor, int pictureIndex){HSSFPicture shape = new HSSFPicture(null, (HSSFClientAnchor)anchor);shape.PictureIndex = pictureIndex;AddShape(shape);OnCreate(shape);return shape;}

[User] public HSSFPicture createPicture(ClientAnchor anchor, int pictureIndex) {return createPicture((HSSFClientAnchor) anchor, pictureIndex);}

[Assistant] public IPicture CreatePicture(HSSFClientAnchor anchor, int pictureIndex){HSSFPicture shape = new HSSFPicture(null, (HSSFClientAnchor)anchor);shape.PictureIndex = pictureIndex;AddShape(shape);OnCreate(shape);return shape;}


public String getAccessKeySecret() {return legacyCredential.getAccessSecret();}

public string GetAccessKeySecret(){return legacyCredential.AccessSecret;}

[User] public String getAccessKeySecret() {return legacyCredential.getAccessSecret();}

[Assistant] public string GetAccessKeySecret(){return legacyCredential.AccessSecret;}


public int compareTo(ByteBuffer otherBuffer) {int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining(): otherBuffer.remaining();int thisPos = position;int otherPos = otherBuffer.position;byte thisByte, otherByte;while (compareRemaining > 0) {thisByte = get(thisPos);otherByte = otherBuffer.get(otherPos);if (thisByte != otherByte) {return thisByte < otherByte ? -1 : 1;}thisPos++;otherPos++;compareRemaining--;}return remaining() - otherBuffer.remaining();}

public virtual int compareTo(java.nio.ByteBuffer otherBuffer){int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining() : otherBuffer.remaining();int thisPos = _position;int otherPos = otherBuffer._position;byte thisByte;byte otherByte;while (compareRemaining > 0){thisByte = get(thisPos);otherByte = otherBuffer.get(otherPos);if (thisByte != otherByte){return ((sbyte)thisByte) < otherByte ? -1 : 1;}thisPos++;otherPos++;compareRemaining--;}return remaining() - otherBuffer.remaining();}

[User] public int compareTo(ByteBuffer otherBuffer) {int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining(): otherBuffer.remaining();int thisPos = position;int otherPos = otherBuffer.position;byte thisByte, otherByte;while (compareRemaining > 0) {thisByte = get(thisPos);otherByte = otherBuffer.get(otherPos);if (thisByte != otherByte) {return thisByte < otherByte ? -1 : 1;}thisPos++;otherPos++;compareRemaining--;}return remaining() - otherBuffer.remaining();}

[Assistant] public virtual int compareTo(java.nio.ByteBuffer otherBuffer){int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining() : otherBuffer.remaining();int thisPos = _position;int otherPos = otherBuffer._position;byte thisByte;byte otherByte;while (compareRemaining > 0){thisByte = get(thisPos);otherByte = otherBuffer.get(otherPos);if (thisByte != otherByte){return ((sbyte)thisByte) < otherByte ? -1 : 1;}thisPos++;otherPos++;compareRemaining--;}return remaining() - otherBuffer.remaining();}


public CreateResolverEndpointResult createResolverEndpoint(CreateResolverEndpointRequest request) {request = beforeClientExecution(request);return executeCreateResolverEndpoint(request);}

public virtual CreateResolverEndpointResponse CreateResolverEndpoint(CreateResolverEndpointRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateResolverEndpointRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateResolverEndpointResponseUnmarshaller.Instance;return Invoke<CreateResolverEndpointResponse>(request, options);}

[User] public CreateResolverEndpointResult createResolverEndpoint(CreateResolverEndpointRequest request) {request = beforeClientExecution(request);return executeCreateResolverEndpoint(request);}

[Assistant] public virtual CreateResolverEndpointResponse CreateResolverEndpoint(CreateResolverEndpointRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateResolverEndpointRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateResolverEndpointResponseUnmarshaller.Instance;return Invoke<CreateResolverEndpointResponse>(request, options);}


public HunspellStemFilterFactory(Map<String,String> args) {super(args);dictionaryFiles = require(args, PARAM_DICTIONARY);affixFile = get(args, PARAM_AFFIX);ignoreCase = getBoolean(args, PARAM_IGNORE_CASE, false);longestOnly = getBoolean(args, PARAM_LONGEST_ONLY, false);getBoolean(args, "strictAffixParsing", true);getInt(args, "recursionCap", 0);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

public HunspellStemFilterFactory(IDictionary<string, string> args): base(args){dictionaryFiles = Require(args, PARAM_DICTIONARY);affixFile = Get(args, PARAM_AFFIX);ignoreCase = GetBoolean(args, PARAM_IGNORE_CASE, false);longestOnly = GetBoolean(args, PARAM_LONGEST_ONLY, false);GetBoolean(args, "strictAffixParsing", true);GetInt32(args, "recursionCap", 0);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}

[User] public HunspellStemFilterFactory(Map<String,String> args) {super(args);dictionaryFiles = require(args, PARAM_DICTIONARY);affixFile = get(args, PARAM_AFFIX);ignoreCase = getBoolean(args, PARAM_IGNORE_CASE, false);longestOnly = getBoolean(args, PARAM_LONGEST_ONLY, false);getBoolean(args, "strictAffixParsing", true);getInt(args, "recursionCap", 0);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

[Assistant] public HunspellStemFilterFactory(IDictionary<string, string> args): base(args){dictionaryFiles = Require(args, PARAM_DICTIONARY);affixFile = Get(args, PARAM_AFFIX);ignoreCase = GetBoolean(args, PARAM_IGNORE_CASE, false);longestOnly = GetBoolean(args, PARAM_LONGEST_ONLY, false);GetBoolean(args, "strictAffixParsing", true);GetInt32(args, "recursionCap", 0);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}


public void decode(byte[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations) {for (int j = 0; j < iterations; ++j) {final byte block = blocks[blocksOffset++];values[valuesOffset++] = (block >>> 4) & 15;values[valuesOffset++] = block & 15;}}

public override void Decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations){for (int j = 0; j < iterations; ++j){var block = blocks[blocksOffset++];values[valuesOffset++] = ((int)((uint)block >> 4)) & 15;values[valuesOffset++] = block & 15;}}

[User] public void decode(byte[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations) {for (int j = 0; j < iterations; ++j) {final byte block = blocks[blocksOffset++];values[valuesOffset++] = (block >>> 4) & 15;values[valuesOffset++] = block & 15;}}

[Assistant] public override void Decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations){for (int j = 0; j < iterations; ++j){var block = blocks[blocksOffset++];values[valuesOffset++] = ((int)((uint)block >> 4)) & 15;values[valuesOffset++] = block & 15;}}


public CancelSpotInstanceRequestsResult cancelSpotInstanceRequests(CancelSpotInstanceRequestsRequest request) {request = beforeClientExecution(request);return executeCancelSpotInstanceRequests(request);}

public virtual CancelSpotInstanceRequestsResponse CancelSpotInstanceRequests(CancelSpotInstanceRequestsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CancelSpotInstanceRequestsRequestMarshaller.Instance;options.ResponseUnmarshaller = CancelSpotInstanceRequestsResponseUnmarshaller.Instance;return Invoke<CancelSpotInstanceRequestsResponse>(request, options);}

[User] public CancelSpotInstanceRequestsResult cancelSpotInstanceRequests(CancelSpotInstanceRequestsRequest request) {request = beforeClientExecution(request);return executeCancelSpotInstanceRequests(request);}

[Assistant] public virtual CancelSpotInstanceRequestsResponse CancelSpotInstanceRequests(CancelSpotInstanceRequestsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CancelSpotInstanceRequestsRequestMarshaller.Instance;options.ResponseUnmarshaller = CancelSpotInstanceRequestsResponseUnmarshaller.Instance;return Invoke<CancelSpotInstanceRequestsResponse>(request, options);}


public void serialize(LittleEndianOutput out) {out.writeShort(field_1_print_headers);}

public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_1_print_headers);}

[User] public void serialize(LittleEndianOutput out) {out.writeShort(field_1_print_headers);}

[Assistant] public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_1_print_headers);}


public void copyTo(char[] tmp, StringBuilder w) {toHexCharArray(tmp);w.append(tmp, 0, Constants.OBJECT_ID_STRING_LENGTH);}

public virtual void CopyTo(char[] tmp, TextWriter w){ToHexCharArray(tmp);w.Write(tmp, 0, Constants.OBJECT_ID_STRING_LENGTH);}

[User] public void copyTo(char[] tmp, StringBuilder w) {toHexCharArray(tmp);w.append(tmp, 0, Constants.OBJECT_ID_STRING_LENGTH);}

[Assistant] public virtual void CopyTo(char[] tmp, TextWriter w){ToHexCharArray(tmp);w.Write(tmp, 0, Constants.OBJECT_ID_STRING_LENGTH);}


public DeleteVaultAccessPolicyResult deleteVaultAccessPolicy(DeleteVaultAccessPolicyRequest request) {request = beforeClientExecution(request);return executeDeleteVaultAccessPolicy(request);}

public virtual DeleteVaultAccessPolicyResponse DeleteVaultAccessPolicy(DeleteVaultAccessPolicyRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteVaultAccessPolicyRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteVaultAccessPolicyResponseUnmarshaller.Instance;return Invoke<DeleteVaultAccessPolicyResponse>(request, options);}

[User] public DeleteVaultAccessPolicyResult deleteVaultAccessPolicy(DeleteVaultAccessPolicyRequest request) {request = beforeClientExecution(request);return executeDeleteVaultAccessPolicy(request);}

[Assistant] public virtual DeleteVaultAccessPolicyResponse DeleteVaultAccessPolicy(DeleteVaultAccessPolicyRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteVaultAccessPolicyRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteVaultAccessPolicyResponseUnmarshaller.Instance;return Invoke<DeleteVaultAccessPolicyResponse>(request, options);}


public SpanOrBuilder(SpanQueryBuilder factory) {this.factory = factory;}

public SpanOrBuilder(ISpanQueryBuilder factory){this.factory = factory;}

[User] public SpanOrBuilder(SpanQueryBuilder factory) {this.factory = factory;}

[Assistant] public SpanOrBuilder(ISpanQueryBuilder factory){this.factory = factory;}


public DescribeConnectionsOnInterconnectResult describeConnectionsOnInterconnect(DescribeConnectionsOnInterconnectRequest request) {request = beforeClientExecution(request);return executeDescribeConnectionsOnInterconnect(request);}

public virtual DescribeConnectionsOnInterconnectResponse DescribeConnectionsOnInterconnect(DescribeConnectionsOnInterconnectRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeConnectionsOnInterconnectRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeConnectionsOnInterconnectResponseUnmarshaller.Instance;return Invoke<DescribeConnectionsOnInterconnectResponse>(request, options);}

[User] public DescribeConnectionsOnInterconnectResult describeConnectionsOnInterconnect(DescribeConnectionsOnInterconnectRequest request) {request = beforeClientExecution(request);return executeDescribeConnectionsOnInterconnect(request);}

[Assistant] public virtual DescribeConnectionsOnInterconnectResponse DescribeConnectionsOnInterconnect(DescribeConnectionsOnInterconnectRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeConnectionsOnInterconnectRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeConnectionsOnInterconnectResponseUnmarshaller.Instance;return Invoke<DescribeConnectionsOnInterconnectResponse>(request, options);}


public MultiBoolFunction(List<ValueSource> sources) {this.sources = sources;}

public MultiBoolFunction(IList<ValueSource> sources){this.m_sources = sources;}

[User] public MultiBoolFunction(List<ValueSource> sources) {this.sources = sources;}

[Assistant] public MultiBoolFunction(IList<ValueSource> sources){this.m_sources = sources;}


public TokenStream create(TokenStream input) {return new ICUTransformFilter(input, transliterator);}

public override TokenStream Create(TokenStream input){return new ICUTransformFilter(input, transliterator);}

[User] public TokenStream create(TokenStream input) {return new ICUTransformFilter(input, transliterator);}

[Assistant] public override TokenStream Create(TokenStream input){return new ICUTransformFilter(input, transliterator);}


[User] public void extendA() {endA++;}

[Assistant] public virtual void ExtendA(){endA++;}


public DeleteReceiptRuleSetResult deleteReceiptRuleSet(DeleteReceiptRuleSetRequest request) {request = beforeClientExecution(request);return executeDeleteReceiptRuleSet(request);}

public virtual DeleteReceiptRuleSetResponse DeleteReceiptRuleSet(DeleteReceiptRuleSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteReceiptRuleSetRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteReceiptRuleSetResponseUnmarshaller.Instance;return Invoke<DeleteReceiptRuleSetResponse>(request, options);}

[User] public DeleteReceiptRuleSetResult deleteReceiptRuleSet(DeleteReceiptRuleSetRequest request) {request = beforeClientExecution(request);return executeDeleteReceiptRuleSet(request);}

[Assistant] public virtual DeleteReceiptRuleSetResponse DeleteReceiptRuleSet(DeleteReceiptRuleSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteReceiptRuleSetRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteReceiptRuleSetResponseUnmarshaller.Instance;return Invoke<DeleteReceiptRuleSetResponse>(request, options);}


public PutRetentionPolicyRequest(String logGroupName, Integer retentionInDays) {setLogGroupName(logGroupName);setRetentionInDays(retentionInDays);}

public PutRetentionPolicyRequest(string logGroupName, int retentionInDays){_logGroupName = logGroupName;_retentionInDays = retentionInDays;}

[User] public PutRetentionPolicyRequest(String logGroupName, Integer retentionInDays) {setLogGroupName(logGroupName);setRetentionInDays(retentionInDays);}

[Assistant] public PutRetentionPolicyRequest(string logGroupName, int retentionInDays){_logGroupName = logGroupName;_retentionInDays = retentionInDays;}


public void insertRow(RowRecord row) {_rowRecords.put(Integer.valueOf(row.getRowNumber()), row);_rowRecordValues = null;if ((row.getRowNumber() < _firstrow) || (_firstrow == -1)) {_firstrow = row.getRowNumber();}if ((row.getRowNumber() > _lastrow) || (_lastrow == -1)) {_lastrow = row.getRowNumber();}}

public void InsertRow(RowRecord row){_rowRecords[row.RowNumber] = row;_rowRecordValues = null;if (row.RowNumber < firstrow|| firstrow == -1){firstrow = row.RowNumber;}if (row.RowNumber > lastrow|| lastrow == -1){lastrow = row.RowNumber;}}

[User] public void insertRow(RowRecord row) {_rowRecords.put(Integer.valueOf(row.getRowNumber()), row);_rowRecordValues = null;if ((row.getRowNumber() < _firstrow) || (_firstrow == -1)) {_firstrow = row.getRowNumber();}if ((row.getRowNumber() > _lastrow) || (_lastrow == -1)) {_lastrow = row.getRowNumber();}}

[Assistant] public void InsertRow(RowRecord row){_rowRecords[row.RowNumber] = row;_rowRecordValues = null;if (row.RowNumber < firstrow|| firstrow == -1){firstrow = row.RowNumber;}if (row.RowNumber > lastrow|| lastrow == -1){lastrow = row.RowNumber;}}


public String toString() {return "TermState";}

public override string ToString(){return "TermState";}

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

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


public LsRemoteCommand setHeads(boolean heads) {this.heads = heads;return this;}

public virtual NGit.Api.LsRemoteCommand SetHeads(bool heads){this.heads = heads;return this;}

[User] public LsRemoteCommand setHeads(boolean heads) {this.heads = heads;return this;}

[Assistant] public virtual NGit.Api.LsRemoteCommand SetHeads(bool heads){this.heads = heads;return this;}


public void remove(String key) {deleteNode(getNode(key.trim().toLowerCase(locale)));}

public virtual void Remove(string key){DeleteNode(GetNode(this.culture.TextInfo.ToLower(key.Trim())));}

[User] public void remove(String key) {deleteNode(getNode(key.trim().toLowerCase(locale)));}

[Assistant] public virtual void Remove(string key){DeleteNode(GetNode(this.culture.TextInfo.ToLower(key.Trim())));}


public Object[][] getTokenArrayValues() {if (_arrayValues == null) {throw new IllegalStateException("array values not read yet");}Object[][] result = new Object[_nRows][_nColumns];for (int r = 0; r < _nRows; r++) {Object[] rowData = result[r];for (int c = 0; c < _nColumns; c++) {rowData[c] = _arrayValues[getValueIndex(c, r)];}}return result;}

public Object[][] GetTokenArrayValues(){if (_arrayValues == null){throw new InvalidOperationException("array values not read yet");}Object[][] result = new Object[_nRows][];for (int r = 0; r < _nRows; r++){result[r] = new object[_nColumns];for (int c = 0; c < _nColumns; c++){result[r][c] = _arrayValues[GetValueIndex(c, r)];}}return result;}

[User] public Object[][] getTokenArrayValues() {if (_arrayValues == null) {throw new IllegalStateException("array values not read yet");}Object[][] result = new Object[_nRows][_nColumns];for (int r = 0; r < _nRows; r++) {Object[] rowData = result[r];for (int c = 0; c < _nColumns; c++) {rowData[c] = _arrayValues[getValueIndex(c, r)];}}return result;}

[Assistant] public Object[][] GetTokenArrayValues(){if (_arrayValues == null){throw new InvalidOperationException("array values not read yet");}Object[][] result = new Object[_nRows][];for (int r = 0; r < _nRows; r++){result[r] = new object[_nColumns];for (int c = 0; c < _nColumns; c++){result[r][c] = _arrayValues[GetValueIndex(c, r)];}}return result;}


public PutIntegrationResponseResult putIntegrationResponse(PutIntegrationResponseRequest request) {request = beforeClientExecution(request);return executePutIntegrationResponse(request);}

public virtual PutIntegrationResponseResponse PutIntegrationResponse(PutIntegrationResponseRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutIntegrationResponseRequestMarshaller.Instance;options.ResponseUnmarshaller = PutIntegrationResponseResponseUnmarshaller.Instance;return Invoke<PutIntegrationResponseResponse>(request, options);}

[User] public PutIntegrationResponseResult putIntegrationResponse(PutIntegrationResponseRequest request) {request = beforeClientExecution(request);return executePutIntegrationResponse(request);}

[Assistant] public virtual PutIntegrationResponseResponse PutIntegrationResponse(PutIntegrationResponseRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutIntegrationResponseRequestMarshaller.Instance;options.ResponseUnmarshaller = PutIntegrationResponseResponseUnmarshaller.Instance;return Invoke<PutIntegrationResponseResponse>(request, options);}


public void write(String str, int offset, int count) throws IOException {synchronized (lock) {if (count < 0) {throw new StringIndexOutOfBoundsException(str, offset, count);}if (str == null) {throw new NullPointerException("str == null");}if ((offset | count) < 0 || offset > str.length() - count) {throw new StringIndexOutOfBoundsException(str, offset, count);}checkStatus();CharBuffer chars = CharBuffer.wrap(str, offset, count + offset);convert(chars);}}

public override void write(string str, int offset, int count){lock (@lock){if (count < 0){throw new java.lang.StringIndexOutOfBoundsException(str, offset, count);}if (str == null){throw new System.ArgumentNullException("str == null");}if ((offset | count) < 0 || offset > str.Length - count){throw new java.lang.StringIndexOutOfBoundsException(str, offset, count);}checkStatus();java.nio.CharBuffer chars = java.nio.CharBuffer.wrap(java.lang.CharSequenceProxy.Wrap(str), offset, count + offset);convert(chars);}}

[User] public void write(String str, int offset, int count) throws IOException {synchronized (lock) {if (count < 0) {throw new StringIndexOutOfBoundsException(str, offset, count);}if (str == null) {throw new NullPointerException("str == null");}if ((offset | count) < 0 || offset > str.length() - count) {throw new StringIndexOutOfBoundsException(str, offset, count);}checkStatus();CharBuffer chars = CharBuffer.wrap(str, offset, count + offset);convert(chars);}}

[Assistant] public override void write(string str, int offset, int count){lock (@lock){if (count < 0){throw new java.lang.StringIndexOutOfBoundsException(str, offset, count);}if (str == null){throw new System.ArgumentNullException("str == null");}if ((offset | count) < 0 || offset > str.Length - count){throw new java.lang.StringIndexOutOfBoundsException(str, offset, count);}checkStatus();java.nio.CharBuffer chars = java.nio.CharBuffer.wrap(java.lang.CharSequenceProxy.Wrap(str), offset, count + offset);convert(chars);}}


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

public string SubscriptionId { get; set; }

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

[Assistant] public string SubscriptionId { get; set; }


public HSSFPicture createPicture(HSSFClientAnchor anchor, int pictureIndex) {HSSFPicture shape = new HSSFPicture(null, anchor);shape.setPictureIndex(pictureIndex);addShape(shape);onCreate(shape);return shape;}

public IPicture CreatePicture(HSSFClientAnchor anchor, int pictureIndex){HSSFPicture shape = new HSSFPicture(null, (HSSFClientAnchor)anchor);shape.PictureIndex = pictureIndex;AddShape(shape);OnCreate(shape);return shape;}

[User] public HSSFPicture createPicture(HSSFClientAnchor anchor, int pictureIndex) {HSSFPicture shape = new HSSFPicture(null, anchor);shape.setPictureIndex(pictureIndex);addShape(shape);onCreate(shape);return shape;}

[Assistant] public IPicture CreatePicture(HSSFClientAnchor anchor, int pictureIndex){HSSFPicture shape = new HSSFPicture(null, (HSSFClientAnchor)anchor);shape.PictureIndex = pictureIndex;AddShape(shape);OnCreate(shape);return shape;}


public ReleaseStaticIpResult releaseStaticIp(ReleaseStaticIpRequest request) {request = beforeClientExecution(request);return executeReleaseStaticIp(request);}

public virtual ReleaseStaticIpResponse ReleaseStaticIp(ReleaseStaticIpRequest request){var options = new InvokeOptions();options.RequestMarshaller = ReleaseStaticIpRequestMarshaller.Instance;options.ResponseUnmarshaller = ReleaseStaticIpResponseUnmarshaller.Instance;return Invoke<ReleaseStaticIpResponse>(request, options);}

[User] public ReleaseStaticIpResult releaseStaticIp(ReleaseStaticIpRequest request) {request = beforeClientExecution(request);return executeReleaseStaticIp(request);}

[Assistant] public virtual ReleaseStaticIpResponse ReleaseStaticIp(ReleaseStaticIpRequest request){var options = new InvokeOptions();options.RequestMarshaller = ReleaseStaticIpRequestMarshaller.Instance;options.ResponseUnmarshaller = ReleaseStaticIpResponseUnmarshaller.Instance;return Invoke<ReleaseStaticIpResponse>(request, options);}


public ListConfigurationSetsResult listConfigurationSets(ListConfigurationSetsRequest request) {request = beforeClientExecution(request);return executeListConfigurationSets(request);}

public virtual ListConfigurationSetsResponse ListConfigurationSets(ListConfigurationSetsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListConfigurationSetsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListConfigurationSetsResponseUnmarshaller.Instance;return Invoke<ListConfigurationSetsResponse>(request, options);}

[User] public ListConfigurationSetsResult listConfigurationSets(ListConfigurationSetsRequest request) {request = beforeClientExecution(request);return executeListConfigurationSets(request);}

[Assistant] public virtual ListConfigurationSetsResponse ListConfigurationSets(ListConfigurationSetsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListConfigurationSetsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListConfigurationSetsResponseUnmarshaller.Instance;return Invoke<ListConfigurationSetsResponse>(request, options);}


public UpdateRecordsResult updateRecords(UpdateRecordsRequest request) {request = beforeClientExecution(request);return executeUpdateRecords(request);}

public virtual UpdateRecordsResponse UpdateRecords(UpdateRecordsRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateRecordsRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateRecordsResponseUnmarshaller.Instance;return Invoke<UpdateRecordsResponse>(request, options);}

[User] public UpdateRecordsResult updateRecords(UpdateRecordsRequest request) {request = beforeClientExecution(request);return executeUpdateRecords(request);}

[Assistant] public virtual UpdateRecordsResponse UpdateRecords(UpdateRecordsRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateRecordsRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateRecordsResponseUnmarshaller.Instance;return Invoke<UpdateRecordsResponse>(request, options);}


public Token emit() {Token t = _factory.create(_tokenFactorySourcePair, _type, _text, _channel, _tokenStartCharIndex, getCharIndex()-1,_tokenStartLine, _tokenStartCharPositionInLine);emit(t);return t;}

public virtual IToken Emit(){IToken t = _factory.Create(_tokenFactorySourcePair, _type, _text, _channel, _tokenStartCharIndex, CharIndex - 1, _tokenStartLine, _tokenStartColumn);Emit(t);return t;}

[User] public Token emit() {Token t = _factory.create(_tokenFactorySourcePair, _type, _text, _channel, _tokenStartCharIndex, getCharIndex()-1,_tokenStartLine, _tokenStartCharPositionInLine);emit(t);return t;}

[Assistant] public virtual IToken Emit(){IToken t = _factory.Create(_tokenFactorySourcePair, _type, _text, _channel, _tokenStartCharIndex, CharIndex - 1, _tokenStartLine, _tokenStartColumn);Emit(t);return t;}


public synchronized IndexCommit snapshot() throws IOException {if (!initCalled) {throw new IllegalStateException("this instance is not being used by IndexWriter; be sure to use the instance returned from writer.getConfig().getIndexDeletionPolicy()");}if (lastCommit == null) {throw new IllegalStateException("No index commit to snapshot");}incRef(lastCommit);return lastCommit;}

public virtual IndexCommit Snapshot(){lock (this){if (!initCalled){throw new InvalidOperationException("this instance is not being used by IndexWriter; be sure to use the instance returned from writer.getConfig().getIndexDeletionPolicy()");}if (m_lastCommit == null){throw new InvalidOperationException("No index commit to snapshot");}IncRef(m_lastCommit);return m_lastCommit;}}

[User] public synchronized IndexCommit snapshot() throws IOException {if (!initCalled) {throw new IllegalStateException("this instance is not being used by IndexWriter; be sure to use the instance returned from writer.getConfig().getIndexDeletionPolicy()");}if (lastCommit == null) {throw new IllegalStateException("No index commit to snapshot");}incRef(lastCommit);return lastCommit;}

[Assistant] public virtual IndexCommit Snapshot(){lock (this){if (!initCalled){throw new InvalidOperationException("this instance is not being used by IndexWriter; be sure to use the instance returned from writer.getConfig().getIndexDeletionPolicy()");}if (m_lastCommit == null){throw new InvalidOperationException("No index commit to snapshot");}IncRef(m_lastCommit);return m_lastCommit;}}


public void build(InputIterator iter) throws IOException {synchronized (searcherMgrLock) {if (searcherMgr != null) {searcherMgr.close();searcherMgr = null;}if (writer != null) {writer.close();writer = null;}boolean success = false;try {writer = new IndexWriter(dir,getIndexWriterConfig(getGramAnalyzer(), IndexWriterConfig.OpenMode.CREATE));BytesRef text;while ((text = iter.next()) != null) {BytesRef payload;if (iter.hasPayloads()) {payload = iter.payload();} else {payload = null;}add(text, iter.contexts(), iter.weight(), payload);}if (commitOnBuild || closeIndexWriterOnBuild) {commit();}searcherMgr = new SearcherManager(writer, null);success = true;} finally {if (success) {if (closeIndexWriterOnBuild) {writer.close();writer = null;}} else {  if (writer != null) {writer.rollback();writer = null;}}}}}

public override void Build(IInputIterator iter){if (m_searcherMgr != null){m_searcherMgr.Dispose();m_searcherMgr = null;}if (writer != null){writer.Dispose();writer = null;}AtomicReader r = null;bool success = false;try{writer = new IndexWriter(dir, GetIndexWriterConfig(matchVersion, GramAnalyzer, OpenMode.CREATE));BytesRef text;while ((text = iter.Next()) != null){BytesRef payload;if (iter.HasPayloads){payload = iter.Payload;}else{payload = null;}Add(text, iter.Contexts, iter.Weight, payload);}m_searcherMgr = new SearcherManager(writer, true, null);success = true;}finally{if (success){IOUtils.Dispose(r);}else{IOUtils.DisposeWhileHandlingException(writer, r);writer = null;}}}

[User] public void build(InputIterator iter) throws IOException {synchronized (searcherMgrLock) {if (searcherMgr != null) {searcherMgr.close();searcherMgr = null;}if (writer != null) {writer.close();writer = null;}boolean success = false;try {writer = new IndexWriter(dir,getIndexWriterConfig(getGramAnalyzer(), IndexWriterConfig.OpenMode.CREATE));BytesRef text;while ((text = iter.next()) != null) {BytesRef payload;if (iter.hasPayloads()) {payload = iter.payload();} else {payload = null;}add(text, iter.contexts(), iter.weight(), payload);}if (commitOnBuild || closeIndexWriterOnBuild) {commit();}searcherMgr = new SearcherManager(writer, null);success = true;} finally {if (success) {if (closeIndexWriterOnBuild) {writer.close();writer = null;}} else {  if (writer != null) {writer.rollback();writer = null;}}}}}

[Assistant] public override void Build(IInputIterator iter){if (m_searcherMgr != null){m_searcherMgr.Dispose();m_searcherMgr = null;}if (writer != null){writer.Dispose();writer = null;}AtomicReader r = null;bool success = false;try{writer = new IndexWriter(dir, GetIndexWriterConfig(matchVersion, GramAnalyzer, OpenMode.CREATE));BytesRef text;while ((text = iter.Next()) != null){BytesRef payload;if (iter.HasPayloads){payload = iter.Payload;}else{payload = null;}Add(text, iter.Contexts, iter.Weight, payload);}m_searcherMgr = new SearcherManager(writer, true, null);success = true;}finally{if (success){IOUtils.Dispose(r);}else{IOUtils.DisposeWhileHandlingException(writer, r);writer = null;}}}


public ShortBuffer put(ShortBuffer buf) {throw new ReadOnlyBufferException();}

public override java.nio.ShortBuffer put(short c){throw new java.nio.ReadOnlyBufferException();}

[User] public ShortBuffer put(ShortBuffer buf) {throw new ReadOnlyBufferException();}

[Assistant] public override java.nio.ShortBuffer put(short c){throw new java.nio.ReadOnlyBufferException();}


public int stemSuffix(char s[], int len) {for (int i = 0; i < suffixes.length; i++)if (endsWithCheckLength(s, len, suffixes[i]))len = deleteN(s, len - suffixes[i].length, len, suffixes[i].length);return len;}

public virtual int StemSuffix(char[] s, int len){for (int i = 0; i < suffixes.Length; i++){if (EndsWithCheckLength(s, len, suffixes[i])){len = StemmerUtil.DeleteN(s, len - suffixes[i].Length, len, suffixes[i].Length);}}return len;}

[User] public int stemSuffix(char s[], int len) {for (int i = 0; i < suffixes.length; i++)if (endsWithCheckLength(s, len, suffixes[i]))len = deleteN(s, len - suffixes[i].length, len, suffixes[i].length);return len;}

[Assistant] public virtual int StemSuffix(char[] s, int len){for (int i = 0; i < suffixes.Length; i++){if (EndsWithCheckLength(s, len, suffixes[i])){len = StemmerUtil.DeleteN(s, len - suffixes[i].Length, len, suffixes[i].Length);}}return len;}


public SeriesListRecord(RecordInputStream in) {int nItems = in.readUShort();short[] ss = new short[nItems];for (int i = 0; i < nItems; i++) {ss[i] = in.readShort();}field_1_seriesNumbers = ss;}

public SeriesListRecord(RecordInputStream in1){int nItems = in1.ReadUShort();short[] ss = new short[nItems];for (int i = 0; i < nItems; i++) {ss[i] = in1.ReadShort();}field_1_seriesNumbers = ss;}

[User] public SeriesListRecord(RecordInputStream in) {int nItems = in.readUShort();short[] ss = new short[nItems];for (int i = 0; i < nItems; i++) {ss[i] = in.readShort();}field_1_seriesNumbers = ss;}

[Assistant] public SeriesListRecord(RecordInputStream in1){int nItems = in1.ReadUShort();short[] ss = new short[nItems];for (int i = 0; i < nItems; i++) {ss[i] = in1.ReadShort();}field_1_seriesNumbers = ss;}


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

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

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

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


public String getLineDelimiter() {if (size() == 0) {return null;}int e = getEnd(0);if (content[e - 1] != '\n') {return null;}if (content.length > 1 && e > 1 && content[e - 2] == '\r') {return "\r\n"; }return "\n"; }

public virtual string GetLineDelimiter(){if (Size() == 0){return null;}int e = GetEnd(0);if (content[e - 1] != '\n'){return null;}if (content.Length > 1 && content[e - 2] == '\r'){return "\r\n";}else{return "\n";}}

[User] public String getLineDelimiter() {if (size() == 0) {return null;}int e = getEnd(0);if (content[e - 1] != '\n') {return null;}if (content.length > 1 && e > 1 && content[e - 2] == '\r') {return "\r\n"; }return "\n"; }

[Assistant] public virtual string GetLineDelimiter(){if (Size() == 0){return null;}int e = GetEnd(0);if (content[e - 1] != '\n'){return null;}if (content.Length > 1 && content[e - 2] == '\r'){return "\r\n";}else{return "\n";}}


public NormalisedDecimal roundUnits() {long wholePart = _wholePart;if (_fractionalPart >= FRAC_HALF) {wholePart++;}int de = _relativeDecimalExponent;if (wholePart < MAX_REP_WHOLE_PART) {return new NormalisedDecimal(wholePart, 0, de);}return new NormalisedDecimal(wholePart/10, 0, de+1);}

public NormalisedDecimal RoundUnits(){long wholePart = _wholePart;if (_fractionalPart >= FRAC_HALF){wholePart++;}int de = _relativeDecimalExponent;if (wholePart < MAX_REP_WHOLE_PART){return new NormalisedDecimal(wholePart, 0, de);}return new NormalisedDecimal(wholePart / 10, 0, de + 1);}

[User] public NormalisedDecimal roundUnits() {long wholePart = _wholePart;if (_fractionalPart >= FRAC_HALF) {wholePart++;}int de = _relativeDecimalExponent;if (wholePart < MAX_REP_WHOLE_PART) {return new NormalisedDecimal(wholePart, 0, de);}return new NormalisedDecimal(wholePart/10, 0, de+1);}

[Assistant] public NormalisedDecimal RoundUnits(){long wholePart = _wholePart;if (_fractionalPart >= FRAC_HALF){wholePart++;}int de = _relativeDecimalExponent;if (wholePart < MAX_REP_WHOLE_PART){return new NormalisedDecimal(wholePart, 0, de);}return new NormalisedDecimal(wholePart / 10, 0, de + 1);}


public PLSAggregate(RecordStream rs) {_pls = rs.getNext();if (rs.peekNextSid()==ContinueRecord.sid) {List<ContinueRecord> temp = new ArrayList<>();while (rs.peekNextSid()==ContinueRecord.sid) {temp.add((ContinueRecord)rs.getNext());}_plsContinues = new ContinueRecord[temp.size()];temp.toArray(_plsContinues);} else {_plsContinues = EMPTY_CONTINUE_RECORD_ARRAY;}}

public PLSAggregate(RecordStream rs){_pls = rs.GetNext();if (rs.PeekNextSid() == ContinueRecord.sid){List<ContinueRecord> temp = new List<ContinueRecord>();while (rs.PeekNextSid() == ContinueRecord.sid){temp.Add((ContinueRecord)rs.GetNext());}_plsContinues = new ContinueRecord[temp.Count];_plsContinues = temp.ToArray();}else{_plsContinues = EMPTY_CONTINUE_RECORD_ARRAY;}}

[User] public PLSAggregate(RecordStream rs) {_pls = rs.getNext();if (rs.peekNextSid()==ContinueRecord.sid) {List<ContinueRecord> temp = new ArrayList<>();while (rs.peekNextSid()==ContinueRecord.sid) {temp.add((ContinueRecord)rs.getNext());}_plsContinues = new ContinueRecord[temp.size()];temp.toArray(_plsContinues);} else {_plsContinues = EMPTY_CONTINUE_RECORD_ARRAY;}}

[Assistant] public PLSAggregate(RecordStream rs){_pls = rs.GetNext();if (rs.PeekNextSid() == ContinueRecord.sid){List<ContinueRecord> temp = new List<ContinueRecord>();while (rs.PeekNextSid() == ContinueRecord.sid){temp.Add((ContinueRecord)rs.GetNext());}_plsContinues = new ContinueRecord[temp.Count];_plsContinues = temp.ToArray();}else{_plsContinues = EMPTY_CONTINUE_RECORD_ARRAY;}}


public AssociateDelegateToResourceResult associateDelegateToResource(AssociateDelegateToResourceRequest request) {request = beforeClientExecution(request);return executeAssociateDelegateToResource(request);}

public virtual AssociateDelegateToResourceResponse AssociateDelegateToResource(AssociateDelegateToResourceRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociateDelegateToResourceRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociateDelegateToResourceResponseUnmarshaller.Instance;return Invoke<AssociateDelegateToResourceResponse>(request, options);}

[User] public AssociateDelegateToResourceResult associateDelegateToResource(AssociateDelegateToResourceRequest request) {request = beforeClientExecution(request);return executeAssociateDelegateToResource(request);}

[Assistant] public virtual AssociateDelegateToResourceResponse AssociateDelegateToResource(AssociateDelegateToResourceRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociateDelegateToResourceRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociateDelegateToResourceResponseUnmarshaller.Instance;return Invoke<AssociateDelegateToResourceResponse>(request, options);}


public static void setDefault(CredentialsProvider p) {defaultProvider = p;}

public static void SetDefault(CredentialsProvider p){defaultProvider = p;}

[User] public static void setDefault(CredentialsProvider p) {defaultProvider = p;}

[Assistant] public static void SetDefault(CredentialsProvider p){defaultProvider = p;}


public EscherProperty getEscherProperty( int index ){return properties.get( index );}

public EscherProperty GetEscherProperty(int index){return properties[index];}

[User] public EscherProperty getEscherProperty( int index ){return properties.get( index );}

[Assistant] public EscherProperty GetEscherProperty(int index){return properties[index];}


@Override public void add(int index, E object) {synchronized (CopyOnWriteArrayList.this) {slice.checkPositionIndex(index);slice.checkConcurrentModification(elements);CopyOnWriteArrayList.this.add(index + slice.from, object);slice = new Slice(elements, slice.from, slice.to + 1);}}

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

[User] @Override public void add(int index, E object) {synchronized (CopyOnWriteArrayList.this) {slice.checkPositionIndex(index);slice.checkConcurrentModification(elements);CopyOnWriteArrayList.this.add(index + slice.from, object);slice = new Slice(elements, slice.from, slice.to + 1);}}

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


public static BitField getInstance(int mask) {BitField f = instances.get(Integer.valueOf(mask));if (f == null) {f = new BitField(mask);instances.put(Integer.valueOf(mask), f);}return f;}

public static BitField GetInstance(int mask){BitField f = (BitField)instances[mask];if (f == null){f = new BitField(mask);instances[mask] = f;}return f;}

[User] public static BitField getInstance(int mask) {BitField f = instances.get(Integer.valueOf(mask));if (f == null) {f = new BitField(mask);instances.put(Integer.valueOf(mask), f);}return f;}

[Assistant] public static BitField GetInstance(int mask){BitField f = (BitField)instances[mask];if (f == null){f = new BitField(mask);instances[mask] = f;}return f;}


public boolean get(int doc) {final int reader = ReaderUtil.subIndex(doc, starts);assert reader != -1;final Bits bits = subs[reader];if (bits == null) {return defaultValue;} else {assert checkLength(reader, doc);return bits.get(doc-starts[reader]);}}

public bool Get(int doc){int reader = ReaderUtil.SubIndex(doc, starts);Debug.Assert(reader != -1);IBits bits = subs[reader];if (bits == null){return sefaultValue;}else{Debug.Assert(CheckLength(reader, doc));return bits.Get(doc - starts[reader]);}}

[User] public boolean get(int doc) {final int reader = ReaderUtil.subIndex(doc, starts);assert reader != -1;final Bits bits = subs[reader];if (bits == null) {return defaultValue;} else {assert checkLength(reader, doc);return bits.get(doc-starts[reader]);}}

[Assistant] public bool Get(int doc){int reader = ReaderUtil.SubIndex(doc, starts);Debug.Assert(reader != -1);IBits bits = subs[reader];if (bits == null){return sefaultValue;}else{Debug.Assert(CheckLength(reader, doc));return bits.Get(doc - starts[reader]);}}


public DeleteFieldLevelEncryptionProfileResult deleteFieldLevelEncryptionProfile(DeleteFieldLevelEncryptionProfileRequest request) {request = beforeClientExecution(request);return executeDeleteFieldLevelEncryptionProfile(request);}

public virtual DeleteFieldLevelEncryptionProfileResponse DeleteFieldLevelEncryptionProfile(DeleteFieldLevelEncryptionProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteFieldLevelEncryptionProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteFieldLevelEncryptionProfileResponseUnmarshaller.Instance;return Invoke<DeleteFieldLevelEncryptionProfileResponse>(request, options);}

[User] public DeleteFieldLevelEncryptionProfileResult deleteFieldLevelEncryptionProfile(DeleteFieldLevelEncryptionProfileRequest request) {request = beforeClientExecution(request);return executeDeleteFieldLevelEncryptionProfile(request);}

[Assistant] public virtual DeleteFieldLevelEncryptionProfileResponse DeleteFieldLevelEncryptionProfile(DeleteFieldLevelEncryptionProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteFieldLevelEncryptionProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteFieldLevelEncryptionProfileResponseUnmarshaller.Instance;return Invoke<DeleteFieldLevelEncryptionProfileResponse>(request, options);}


public EscherComplexProperty(short id, byte[] complexData) {this(id, complexData == null ? 0 : complexData.length);setComplexData(complexData);}

public EscherComplexProperty(short id, byte[] complexData): base(id){this._complexData = complexData;}

[User] public EscherComplexProperty(short id, byte[] complexData) {this(id, complexData == null ? 0 : complexData.length);setComplexData(complexData);}

[Assistant] public EscherComplexProperty(short id, byte[] complexData): base(id){this._complexData = complexData;}


public TermVectorsReader clone() {if (in == null) {throw new AlreadyClosedException("this TermVectorsReader is closed");}return new SimpleTextTermVectorsReader(offsets, in.clone());}

public override object Clone(){if (_input == null){throw new ObjectDisposedException(this.GetType().GetTypeInfo().FullName, "this TermVectorsReader is closed");}return new SimpleTextTermVectorsReader(_offsets, (IndexInput)_input.Clone());}

[User] public TermVectorsReader clone() {if (in == null) {throw new AlreadyClosedException("this TermVectorsReader is closed");}return new SimpleTextTermVectorsReader(offsets, in.clone());}

[Assistant] public override object Clone(){if (_input == null){throw new ObjectDisposedException(this.GetType().GetTypeInfo().FullName, "this TermVectorsReader is closed");}return new SimpleTextTermVectorsReader(_offsets, (IndexInput)_input.Clone());}


public static void fill(short[] array, short value) {for (int i = 0; i < array.length; i++) {array[i] = value;}}

public static void fill(short[] array, short value){{for (int i = 0; i < array.Length; i++){array[i] = value;}}}

[User] public static void fill(short[] array, short value) {for (int i = 0; i < array.length; i++) {array[i] = value;}}

[Assistant] public static void fill(short[] array, short value){{for (int i = 0; i < array.Length; i++){array[i] = value;}}}


public final int getEndB() {return endB;}

[User] public final int getEndB() {return endB;}

[Assistant] public int GetEndB(){return endB;}


public DescribeAutoMLJobResult describeAutoMLJob(DescribeAutoMLJobRequest request) {request = beforeClientExecution(request);return executeDescribeAutoMLJob(request);}

public virtual DescribeAutoMLJobResponse DescribeAutoMLJob(DescribeAutoMLJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAutoMLJobRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAutoMLJobResponseUnmarshaller.Instance;return Invoke<DescribeAutoMLJobResponse>(request, options);}

[User] public DescribeAutoMLJobResult describeAutoMLJob(DescribeAutoMLJobRequest request) {request = beforeClientExecution(request);return executeDescribeAutoMLJob(request);}

[Assistant] public virtual DescribeAutoMLJobResponse DescribeAutoMLJob(DescribeAutoMLJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAutoMLJobRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAutoMLJobResponseUnmarshaller.Instance;return Invoke<DescribeAutoMLJobResponse>(request, options);}


public SelectionRecord(int activeCellRow, int activeCellCol) {field_1_pane = 3; field_2_row_active_cell = activeCellRow;field_3_col_active_cell = activeCellCol;field_4_active_cell_ref_index = 0;field_6_refs = new CellRangeAddress8Bit[] {new CellRangeAddress8Bit(activeCellRow, activeCellRow, activeCellCol, activeCellCol),};}

public SelectionRecord(int activeCellRow, int activeCellCol){field_1_pane = 3; field_2_row_active_cell = activeCellRow;field_3_col_active_cell = activeCellCol;field_4_ref_active_cell = 0;field_6_refs = new CellRangeAddress8Bit[] {new CellRangeAddress8Bit(activeCellRow, activeCellRow, activeCellCol, activeCellCol),};}

[User] public SelectionRecord(int activeCellRow, int activeCellCol) {field_1_pane = 3; field_2_row_active_cell = activeCellRow;field_3_col_active_cell = activeCellCol;field_4_active_cell_ref_index = 0;field_6_refs = new CellRangeAddress8Bit[] {new CellRangeAddress8Bit(activeCellRow, activeCellRow, activeCellCol, activeCellCol),};}

[Assistant] public SelectionRecord(int activeCellRow, int activeCellCol){field_1_pane = 3; field_2_row_active_cell = activeCellRow;field_3_col_active_cell = activeCellCol;field_4_ref_active_cell = 0;field_6_refs = new CellRangeAddress8Bit[] {new CellRangeAddress8Bit(activeCellRow, activeCellRow, activeCellCol, activeCellCol),};}


public InvalidationBatch(String callerReference) {setCallerReference(callerReference);}

public InvalidationBatch(string callerReference){_callerReference = callerReference;}

[User] public InvalidationBatch(String callerReference) {setCallerReference(callerReference);}

[Assistant] public InvalidationBatch(string callerReference){_callerReference = callerReference;}


public int compareTo(IndexCommit commit) {if (getDirectory() != commit.getDirectory()) {throw new UnsupportedOperationException("cannot compare IndexCommits from different Directory instances");}long gen = getGeneration();long comgen = commit.getGeneration();return Long.compare(gen, comgen);}

public virtual int CompareTo(IndexCommit commit){if (Directory != commit.Directory){throw new System.NotSupportedException("cannot compare IndexCommits from different Directory instances");}long gen = Generation;long comgen = commit.Generation;if (gen < comgen){return -1;}else if (gen > comgen){return 1;}else{return 0;}}

[User] public int compareTo(IndexCommit commit) {if (getDirectory() != commit.getDirectory()) {throw new UnsupportedOperationException("cannot compare IndexCommits from different Directory instances");}long gen = getGeneration();long comgen = commit.getGeneration();return Long.compare(gen, comgen);}

[Assistant] public virtual int CompareTo(IndexCommit commit){if (Directory != commit.Directory){throw new System.NotSupportedException("cannot compare IndexCommits from different Directory instances");}long gen = Generation;long comgen = commit.Generation;if (gen < comgen){return -1;}else if (gen > comgen){return 1;}else{return 0;}}


public PhoneticFilter create(TokenStream input) {return new PhoneticFilter(input, getEncoder(), inject);}

public override TokenStream Create(TokenStream input){return new PhoneticFilter(input, GetEncoder(), inject);}

[User] public PhoneticFilter create(TokenStream input) {return new PhoneticFilter(input, getEncoder(), inject);}

[Assistant] public override TokenStream Create(TokenStream input){return new PhoneticFilter(input, GetEncoder(), inject);}


public StartMatchmakingResult startMatchmaking(StartMatchmakingRequest request) {request = beforeClientExecution(request);return executeStartMatchmaking(request);}

public virtual StartMatchmakingResponse StartMatchmaking(StartMatchmakingRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartMatchmakingRequestMarshaller.Instance;options.ResponseUnmarshaller = StartMatchmakingResponseUnmarshaller.Instance;return Invoke<StartMatchmakingResponse>(request, options);}

[User] public StartMatchmakingResult startMatchmaking(StartMatchmakingRequest request) {request = beforeClientExecution(request);return executeStartMatchmaking(request);}

[Assistant] public virtual StartMatchmakingResponse StartMatchmaking(StartMatchmakingRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartMatchmakingRequestMarshaller.Instance;options.ResponseUnmarshaller = StartMatchmakingResponseUnmarshaller.Instance;return Invoke<StartMatchmakingResponse>(request, options);}


public CreateReusableDelegationSetResult createReusableDelegationSet(CreateReusableDelegationSetRequest request) {request = beforeClientExecution(request);return executeCreateReusableDelegationSet(request);}

public virtual CreateReusableDelegationSetResponse CreateReusableDelegationSet(CreateReusableDelegationSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateReusableDelegationSetRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateReusableDelegationSetResponseUnmarshaller.Instance;return Invoke<CreateReusableDelegationSetResponse>(request, options);}

[User] public CreateReusableDelegationSetResult createReusableDelegationSet(CreateReusableDelegationSetRequest request) {request = beforeClientExecution(request);return executeCreateReusableDelegationSet(request);}

[Assistant] public virtual CreateReusableDelegationSetResponse CreateReusableDelegationSet(CreateReusableDelegationSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateReusableDelegationSetRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateReusableDelegationSetResponseUnmarshaller.Instance;return Invoke<CreateReusableDelegationSetResponse>(request, options);}


public GC setProgressMonitor(ProgressMonitor pm) {this.pm = (pm == null) ? NullProgressMonitor.INSTANCE : pm;return this;}

public virtual GC SetProgressMonitor(ProgressMonitor pm){this.pm = (pm == null) ? NullProgressMonitor.INSTANCE : pm;return this;}

[User] public GC setProgressMonitor(ProgressMonitor pm) {this.pm = (pm == null) ? NullProgressMonitor.INSTANCE : pm;return this;}

[Assistant] public virtual GC SetProgressMonitor(ProgressMonitor pm){this.pm = (pm == null) ? NullProgressMonitor.INSTANCE : pm;return this;}


public synchronized String getRegionId() {return regionId;}

public string GetRegionId(){return regionId;}

[User] public synchronized String getRegionId() {return regionId;}

[Assistant] public string GetRegionId(){return regionId;}


public CreateVpcEndpointServiceConfigurationResult createVpcEndpointServiceConfiguration(CreateVpcEndpointServiceConfigurationRequest request) {request = beforeClientExecution(request);return executeCreateVpcEndpointServiceConfiguration(request);}

public virtual CreateVpcEndpointServiceConfigurationResponse CreateVpcEndpointServiceConfiguration(CreateVpcEndpointServiceConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateVpcEndpointServiceConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateVpcEndpointServiceConfigurationResponseUnmarshaller.Instance;return Invoke<CreateVpcEndpointServiceConfigurationResponse>(request, options);}

[User] public CreateVpcEndpointServiceConfigurationResult createVpcEndpointServiceConfiguration(CreateVpcEndpointServiceConfigurationRequest request) {request = beforeClientExecution(request);return executeCreateVpcEndpointServiceConfiguration(request);}

[Assistant] public virtual CreateVpcEndpointServiceConfigurationResponse CreateVpcEndpointServiceConfiguration(CreateVpcEndpointServiceConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateVpcEndpointServiceConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateVpcEndpointServiceConfigurationResponseUnmarshaller.Instance;return Invoke<CreateVpcEndpointServiceConfigurationResponse>(request, options);}


public IndexableField getField(FieldInfo fieldInfo) {fieldNames.add(fieldInfo.name);List<LazyField> values = fields.get(fieldInfo.number);if (null == values) {values = new ArrayList<>();fields.put(fieldInfo.number, values);}LazyField value = new LazyField(fieldInfo.name, fieldInfo.number);values.add(value);synchronized (this) {doc = null;}return value;}

public virtual IIndexableField GetField(FieldInfo fieldInfo){fieldNames.Add(fieldInfo.Name);IList<LazyField> values;if (!fields.TryGetValue(fieldInfo.Number, out values) || null == values){values = new List<LazyField>();fields[fieldInfo.Number] = values;}LazyField value = new LazyField(this, fieldInfo.Name, fieldInfo.Number);values.Add(value);lock (this){doc = null;}return value;}

[User] public IndexableField getField(FieldInfo fieldInfo) {fieldNames.add(fieldInfo.name);List<LazyField> values = fields.get(fieldInfo.number);if (null == values) {values = new ArrayList<>();fields.put(fieldInfo.number, values);}LazyField value = new LazyField(fieldInfo.name, fieldInfo.number);values.add(value);synchronized (this) {doc = null;}return value;}

[Assistant] public virtual IIndexableField GetField(FieldInfo fieldInfo){fieldNames.Add(fieldInfo.Name);IList<LazyField> values;if (!fields.TryGetValue(fieldInfo.Number, out values) || null == values){values = new List<LazyField>();fields[fieldInfo.Number] = values;}LazyField value = new LazyField(this, fieldInfo.Name, fieldInfo.Number);values.Add(value);lock (this){doc = null;}return value;}


public static int nextHighestPowerOfTwo(int v) {v--;v |= v >> 1;v |= v >> 2;v |= v >> 4;v |= v >> 8;v |= v >> 16;v++;return v;}

public static int NextHighestPowerOfTwo(int v){v--;v |= v >> 1;v |= v >> 2;v |= v >> 4;v |= v >> 8;v |= v >> 16;v++;return v;}

[User] public static int nextHighestPowerOfTwo(int v) {v--;v |= v >> 1;v |= v >> 2;v |= v >> 4;v |= v >> 8;v |= v >> 16;v++;return v;}

[Assistant] public static int NextHighestPowerOfTwo(int v){v--;v |= v >> 1;v |= v >> 2;v |= v >> 4;v |= v >> 8;v |= v >> 16;v++;return v;}


public boolean contains(int x, int y) {return isValid() &&x >= this.x &&y >= this.y &&x < (this.x + this.w) &&y < (this.y + this.h);}

public bool contains(int x, int y){return left < right && top < bottom && x >= left && x < right && y >= top && y <bottom;}

[User] public boolean contains(int x, int y) {return isValid() &&x >= this.x &&y >= this.y &&x < (this.x + this.w) &&y < (this.y + this.h);}

[Assistant] public bool contains(int x, int y){return left < right && top < bottom && x >= left && x < right && y >= top && y <bottom;}


public int getFormat() {return PACK_DELTA;}

public override int GetFormat(){return PACK_DELTA;}

[User] public int getFormat() {return PACK_DELTA;}

[Assistant] public override int GetFormat(){return PACK_DELTA;}


[User] public Tag(String key) {setKey(key);}

[Assistant] public Tag(string key){_key = key;}


public InactivatePhotosRequest() {super("CloudPhoto", "2017-07-11", "InactivatePhotos", "cloudphoto");setProtocol(ProtocolType.HTTPS);}

public InactivatePhotosRequest(): base("CloudPhoto", "2017-07-11", "InactivatePhotos", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}

[User] public InactivatePhotosRequest() {super("CloudPhoto", "2017-07-11", "InactivatePhotos", "cloudphoto");setProtocol(ProtocolType.HTTPS);}

[Assistant] public InactivatePhotosRequest(): base("CloudPhoto", "2017-07-11", "InactivatePhotos", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}


public DescribeEventSubscriptionsResult describeEventSubscriptions() {return describeEventSubscriptions(new DescribeEventSubscriptionsRequest());}

public virtual DescribeEventSubscriptionsResponse DescribeEventSubscriptions(){return DescribeEventSubscriptions(new DescribeEventSubscriptionsRequest());}

[User] public DescribeEventSubscriptionsResult describeEventSubscriptions() {return describeEventSubscriptions(new DescribeEventSubscriptionsRequest());}

[Assistant] public virtual DescribeEventSubscriptionsResponse DescribeEventSubscriptions(){return DescribeEventSubscriptions(new DescribeEventSubscriptionsRequest());}


public short get(int index) {checkIndex(index);return byteBuffer.getShort(index * SizeOf.SHORT);}

public override short get(int index){checkIndex(index);return byteBuffer.getShort(index * libcore.io.SizeOf.SHORT);}

[User] public short get(int index) {checkIndex(index);return byteBuffer.getShort(index * SizeOf.SHORT);}

[Assistant] public override short get(int index){checkIndex(index);return byteBuffer.getShort(index * libcore.io.SizeOf.SHORT);}


public boolean isExportAll() {return exportAll;}

public virtual bool IsExportAll(){return exportAll;}

[User] public boolean isExportAll() {return exportAll;}

[Assistant] public virtual bool IsExportAll(){return exportAll;}


public static void validateSecondArg(int comparisonOperator, String paramValue) {switch (comparisonOperator) {case BETWEEN:case NOT_BETWEEN:if (paramValue == null) {throw new IllegalArgumentException("expr2 must be supplied for 'between' comparisons");}}}

public static void ValidateSecondArg(int comparisonOperator, String paramValue){switch (comparisonOperator){case BETWEEN:if (paramValue == null){throw new ArgumentException("expr2 must be supplied for 'between' comparisons");}break;case NOT_BETWEEN:if (paramValue == null){throw new ArgumentException("expr2 must be supplied for 'between' comparisons");}break;}}

[User] public static void validateSecondArg(int comparisonOperator, String paramValue) {switch (comparisonOperator) {case BETWEEN:case NOT_BETWEEN:if (paramValue == null) {throw new IllegalArgumentException("expr2 must be supplied for 'between' comparisons");}}}

[Assistant] public static void ValidateSecondArg(int comparisonOperator, String paramValue){switch (comparisonOperator){case BETWEEN:if (paramValue == null){throw new ArgumentException("expr2 must be supplied for 'between' comparisons");}break;case NOT_BETWEEN:if (paramValue == null){throw new ArgumentException("expr2 must be supplied for 'between' comparisons");}break;}}


public V next() {V v = nextValue;advance();return v;}

public override V next(){return this.nextEntry().value;}

[User] public V next() {V v = nextValue;advance();return v;}

[Assistant] public override V next(){return this.nextEntry().value;}


public UpdateSchemaResult updateSchema(UpdateSchemaRequest request) {request = beforeClientExecution(request);return executeUpdateSchema(request);}

public virtual UpdateSchemaResponse UpdateSchema(UpdateSchemaRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateSchemaRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateSchemaResponseUnmarshaller.Instance;return Invoke<UpdateSchemaResponse>(request, options);}

[User] public UpdateSchemaResult updateSchema(UpdateSchemaRequest request) {request = beforeClientExecution(request);return executeUpdateSchema(request);}

[Assistant] public virtual UpdateSchemaResponse UpdateSchema(UpdateSchemaRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateSchemaRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateSchemaResponseUnmarshaller.Instance;return Invoke<UpdateSchemaResponse>(request, options);}


public PortugueseMinimalStemFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

public PortugueseMinimalStemFilterFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}

[User] public PortugueseMinimalStemFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

[Assistant] public PortugueseMinimalStemFilterFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}


public SeriesChartGroupIndexRecord(RecordInputStream in) {field_1_chartGroupIndex = in.readShort();}

public SeriesChartGroupIndexRecord(RecordInputStream in1){field_1_chartGroupIndex = in1.ReadShort();}

[User] public SeriesChartGroupIndexRecord(RecordInputStream in) {field_1_chartGroupIndex = in.readShort();}

[Assistant] public SeriesChartGroupIndexRecord(RecordInputStream in1){field_1_chartGroupIndex = in1.ReadShort();}


public ValueEval evaluate(int srcCellRow, int srcCellCol) {return ErrorEval.NA;}

public override ValueEval Evaluate(int srcCellRow, int srcCellCol){return ErrorEval.NA;}

[User] public ValueEval evaluate(int srcCellRow, int srcCellCol) {return ErrorEval.NA;}

[Assistant] public override ValueEval Evaluate(int srcCellRow, int srcCellCol){return ErrorEval.NA;}


public E get(int key) {return get(key, null);}

public virtual E get(int key){return get(key, default(E));}

[User] public E get(int key) {return get(key, null);}

[Assistant] public virtual E get(int key){return get(key, default(E));}


public DescribeComponentConfigurationResult describeComponentConfiguration(DescribeComponentConfigurationRequest request) {request = beforeClientExecution(request);return executeDescribeComponentConfiguration(request);}

public virtual DescribeComponentConfigurationResponse DescribeComponentConfiguration(DescribeComponentConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeComponentConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeComponentConfigurationResponseUnmarshaller.Instance;return Invoke<DescribeComponentConfigurationResponse>(request, options);}

[User] public DescribeComponentConfigurationResult describeComponentConfiguration(DescribeComponentConfigurationRequest request) {request = beforeClientExecution(request);return executeDescribeComponentConfiguration(request);}

[Assistant] public virtual DescribeComponentConfigurationResponse DescribeComponentConfiguration(DescribeComponentConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeComponentConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeComponentConfigurationResponseUnmarshaller.Instance;return Invoke<DescribeComponentConfigurationResponse>(request, options);}


public CellRangeAddressList copy() {CellRangeAddressList result = new CellRangeAddressList();int nItems = _list.size();for (int k = 0; k < nItems; k++) {CellRangeAddress region = _list.get(k);result.addCellRangeAddress(region.copy());}return result;}

public CellRangeAddressList Copy(){CellRangeAddressList result = new CellRangeAddressList();int nItems = _list.Count;for (int k = 0; k < nItems; k++){CellRangeAddress region = (CellRangeAddress)_list[k];result.AddCellRangeAddress(region.Copy());}return result;}

[User] public CellRangeAddressList copy() {CellRangeAddressList result = new CellRangeAddressList();int nItems = _list.size();for (int k = 0; k < nItems; k++) {CellRangeAddress region = _list.get(k);result.addCellRangeAddress(region.copy());}return result;}

[Assistant] public CellRangeAddressList Copy(){CellRangeAddressList result = new CellRangeAddressList();int nItems = _list.Count;for (int k = 0; k < nItems; k++){CellRangeAddress region = (CellRangeAddress)_list[k];result.AddCellRangeAddress(region.Copy());}return result;}


public DescribeClientVpnAuthorizationRulesResult describeClientVpnAuthorizationRules(DescribeClientVpnAuthorizationRulesRequest request) {request = beforeClientExecution(request);return executeDescribeClientVpnAuthorizationRules(request);}

public virtual DescribeClientVpnAuthorizationRulesResponse DescribeClientVpnAuthorizationRules(DescribeClientVpnAuthorizationRulesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClientVpnAuthorizationRulesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClientVpnAuthorizationRulesResponseUnmarshaller.Instance;return Invoke<DescribeClientVpnAuthorizationRulesResponse>(request, options);}

[User] public DescribeClientVpnAuthorizationRulesResult describeClientVpnAuthorizationRules(DescribeClientVpnAuthorizationRulesRequest request) {request = beforeClientExecution(request);return executeDescribeClientVpnAuthorizationRules(request);}

[Assistant] public virtual DescribeClientVpnAuthorizationRulesResponse DescribeClientVpnAuthorizationRules(DescribeClientVpnAuthorizationRulesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClientVpnAuthorizationRulesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClientVpnAuthorizationRulesResponseUnmarshaller.Instance;return Invoke<DescribeClientVpnAuthorizationRulesResponse>(request, options);}


public HSSFConditionalFormattingRule getRule(int idx) {CFRuleBase ruleRecord = cfAggregate.getRule(idx);return new HSSFConditionalFormattingRule(sheet, ruleRecord);}

public IConditionalFormattingRule GetRule(int idx){CFRuleRecord ruleRecord = cfAggregate.GetRule(idx);return new HSSFConditionalFormattingRule(_workbook, ruleRecord);}

[User] public HSSFConditionalFormattingRule getRule(int idx) {CFRuleBase ruleRecord = cfAggregate.getRule(idx);return new HSSFConditionalFormattingRule(sheet, ruleRecord);}

[Assistant] public IConditionalFormattingRule GetRule(int idx){CFRuleRecord ruleRecord = cfAggregate.GetRule(idx);return new HSSFConditionalFormattingRule(_workbook, ruleRecord);}


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

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

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

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


public int getType() {return delegate().getType();}

public override int GetType(){return type;}

[User] public int getType() {return delegate().getType();}

[Assistant] public override int GetType(){return type;}


public DeleteCustomVerificationEmailTemplateResult deleteCustomVerificationEmailTemplate(DeleteCustomVerificationEmailTemplateRequest request) {request = beforeClientExecution(request);return executeDeleteCustomVerificationEmailTemplate(request);}

public virtual DeleteCustomVerificationEmailTemplateResponse DeleteCustomVerificationEmailTemplate(DeleteCustomVerificationEmailTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteCustomVerificationEmailTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteCustomVerificationEmailTemplateResponseUnmarshaller.Instance;return Invoke<DeleteCustomVerificationEmailTemplateResponse>(request, options);}

[User] public DeleteCustomVerificationEmailTemplateResult deleteCustomVerificationEmailTemplate(DeleteCustomVerificationEmailTemplateRequest request) {request = beforeClientExecution(request);return executeDeleteCustomVerificationEmailTemplate(request);}

[Assistant] public virtual DeleteCustomVerificationEmailTemplateResponse DeleteCustomVerificationEmailTemplate(DeleteCustomVerificationEmailTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteCustomVerificationEmailTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteCustomVerificationEmailTemplateResponseUnmarshaller.Instance;return Invoke<DeleteCustomVerificationEmailTemplateResponse>(request, options);}


public void setRefLogMessage(String msg) {if (msg == null)disableRefLog();elsedestination.setRefLogMessage(msg, false);}

public virtual void SetRefLogMessage(string msg){if (msg == null){DisableRefLog();}else{destination.SetRefLogMessage(msg, false);}}

[User] public void setRefLogMessage(String msg) {if (msg == null)disableRefLog();elsedestination.setRefLogMessage(msg, false);}

[Assistant] public virtual void SetRefLogMessage(string msg){if (msg == null){DisableRefLog();}else{destination.SetRefLogMessage(msg, false);}}


public CreateVpcEndpointConnectionNotificationResult createVpcEndpointConnectionNotification(CreateVpcEndpointConnectionNotificationRequest request) {request = beforeClientExecution(request);return executeCreateVpcEndpointConnectionNotification(request);}

public virtual CreateVpcEndpointConnectionNotificationResponse CreateVpcEndpointConnectionNotification(CreateVpcEndpointConnectionNotificationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateVpcEndpointConnectionNotificationRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateVpcEndpointConnectionNotificationResponseUnmarshaller.Instance;return Invoke<CreateVpcEndpointConnectionNotificationResponse>(request, options);}

[User] public CreateVpcEndpointConnectionNotificationResult createVpcEndpointConnectionNotification(CreateVpcEndpointConnectionNotificationRequest request) {request = beforeClientExecution(request);return executeCreateVpcEndpointConnectionNotification(request);}

[Assistant] public virtual CreateVpcEndpointConnectionNotificationResponse CreateVpcEndpointConnectionNotification(CreateVpcEndpointConnectionNotificationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateVpcEndpointConnectionNotificationRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateVpcEndpointConnectionNotificationResponseUnmarshaller.Instance;return Invoke<CreateVpcEndpointConnectionNotificationResponse>(request, options);}


public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0) {int rnum;if (arg0 instanceof AreaEval) {rnum = ((AreaEval) arg0).getFirstColumn();} else if (arg0 instanceof RefEval) {rnum = ((RefEval) arg0).getColumn();} else {return ErrorEval.VALUE_INVALID;}return new NumberEval(rnum + 1);}

public ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0){int rnum;if (arg0 is AreaEval){rnum = ((AreaEval)arg0).FirstColumn;}else if (arg0 is RefEval){rnum = ((RefEval)arg0).Column;}else{return ErrorEval.VALUE_INVALID;}return new NumberEval(rnum + 1);}

[User] public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0) {int rnum;if (arg0 instanceof AreaEval) {rnum = ((AreaEval) arg0).getFirstColumn();} else if (arg0 instanceof RefEval) {rnum = ((RefEval) arg0).getColumn();} else {return ErrorEval.VALUE_INVALID;}return new NumberEval(rnum + 1);}

[Assistant] public ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0){int rnum;if (arg0 is AreaEval){rnum = ((AreaEval)arg0).FirstColumn;}else if (arg0 is RefEval){rnum = ((RefEval)arg0).Column;}else{return ErrorEval.VALUE_INVALID;}return new NumberEval(rnum + 1);}


public CompleteMultipartUploadRequest(String accountId, String vaultName, String uploadId, String archiveSize, String checksum) {setAccountId(accountId);setVaultName(vaultName);setUploadId(uploadId);setArchiveSize(archiveSize);setChecksum(checksum);}

public CompleteMultipartUploadRequest(string accountId, string vaultName, string uploadId, string archiveSize, string checksum){_accountId = accountId;_vaultName = vaultName;_uploadId = uploadId;_archiveSize = archiveSize;_checksum = checksum;}

[User] public CompleteMultipartUploadRequest(String accountId, String vaultName, String uploadId, String archiveSize, String checksum) {setAccountId(accountId);setVaultName(vaultName);setUploadId(uploadId);setArchiveSize(archiveSize);setChecksum(checksum);}

[Assistant] public CompleteMultipartUploadRequest(string accountId, string vaultName, string uploadId, string archiveSize, string checksum){_accountId = accountId;_vaultName = vaultName;_uploadId = uploadId;_archiveSize = archiveSize;_checksum = checksum;}


public void clearRect(int x, int y, int width, int height){Color color = foreground;setColor(background);fillRect(x,y,width,height);setColor(color);}

public void ClearRect(int x, int y, int width, int height){Color color = foreground;SetColor(background);FillRect(x, y, width, height);SetColor(color);}

[User] public void clearRect(int x, int y, int width, int height){Color color = foreground;setColor(background);fillRect(x,y,width,height);setColor(color);}

[Assistant] public void ClearRect(int x, int y, int width, int height){Color color = foreground;SetColor(background);FillRect(x, y, width, height);SetColor(color);}


public String getRawFragment() {return fragment;}

public string getRawFragment(){return fragment;}

[User] public String getRawFragment() {return fragment;}

[Assistant] public string getRawFragment(){return fragment;}


public String toString() {StringBuilder s = new StringBuilder();for(int i=0;i<count;i++) {if (i > 0) {s.append(' ');}s.append(points[i].point).append(':').append(points[i].starts.next/3).append(',').append(points[i].ends.next/3);}return s.toString();}

public override string ToString(){StringBuilder s = new StringBuilder();for (int i = 0; i < count; i++){if (i > 0){s.Append(' ');}s.Append(points[i].point).Append(':').Append(points[i].starts.count).Append(',').Append(points[i].ends.count);}return s.ToString();}

[User] public String toString() {StringBuilder s = new StringBuilder();for(int i=0;i<count;i++) {if (i > 0) {s.append(' ');}s.append(points[i].point).append(':').append(points[i].starts.next/3).append(',').append(points[i].ends.next/3);}return s.toString();}

[Assistant] public override string ToString(){StringBuilder s = new StringBuilder();for (int i = 0; i < count; i++){if (i > 0){s.Append(' ');}s.Append(points[i].point).Append(':').Append(points[i].starts.count).Append(',').Append(points[i].ends.count);}return s.ToString();}


public static double sinh(double d) {double ePowX = Math.pow(Math.E, d);double ePowNegX = Math.pow(Math.E, -d);return (ePowX - ePowNegX) / 2;}

public static double Sinh(double d){double ePowX = Math.Pow(Math.E, d);double ePowNegX = Math.Pow(Math.E, -d);d = (ePowX - ePowNegX) / 2;return d;}

[User] public static double sinh(double d) {double ePowX = Math.pow(Math.E, d);double ePowNegX = Math.pow(Math.E, -d);return (ePowX - ePowNegX) / 2;}

[Assistant] public static double Sinh(double d){double ePowX = Math.Pow(Math.E, d);double ePowNegX = Math.Pow(Math.E, -d);d = (ePowX - ePowNegX) / 2;return d;}


public GetMembersResult getMembers(GetMembersRequest request) {request = beforeClientExecution(request);return executeGetMembers(request);}

public virtual GetMembersResponse GetMembers(GetMembersRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetMembersRequestMarshaller.Instance;options.ResponseUnmarshaller = GetMembersResponseUnmarshaller.Instance;return Invoke<GetMembersResponse>(request, options);}

[User] public GetMembersResult getMembers(GetMembersRequest request) {request = beforeClientExecution(request);return executeGetMembers(request);}

[Assistant] public virtual GetMembersResponse GetMembers(GetMembersRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetMembersRequestMarshaller.Instance;options.ResponseUnmarshaller = GetMembersResponseUnmarshaller.Instance;return Invoke<GetMembersResponse>(request, options);}


public HSSFPatternFormatting createPatternFormatting(){return getPatternFormatting(true);}

public IPatternFormatting CreatePatternFormatting(){return GetPatternFormatting(true);}

[User] public HSSFPatternFormatting createPatternFormatting(){return getPatternFormatting(true);}

[Assistant] public IPatternFormatting CreatePatternFormatting(){return GetPatternFormatting(true);}


public DeleteSpotDatafeedSubscriptionResult deleteSpotDatafeedSubscription(DeleteSpotDatafeedSubscriptionRequest request) {request = beforeClientExecution(request);return executeDeleteSpotDatafeedSubscription(request);}

public virtual DeleteSpotDatafeedSubscriptionResponse DeleteSpotDatafeedSubscription(DeleteSpotDatafeedSubscriptionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteSpotDatafeedSubscriptionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteSpotDatafeedSubscriptionResponseUnmarshaller.Instance;return Invoke<DeleteSpotDatafeedSubscriptionResponse>(request, options);}

[User] public DeleteSpotDatafeedSubscriptionResult deleteSpotDatafeedSubscription(DeleteSpotDatafeedSubscriptionRequest request) {request = beforeClientExecution(request);return executeDeleteSpotDatafeedSubscription(request);}

[Assistant] public virtual DeleteSpotDatafeedSubscriptionResponse DeleteSpotDatafeedSubscription(DeleteSpotDatafeedSubscriptionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteSpotDatafeedSubscriptionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteSpotDatafeedSubscriptionResponseUnmarshaller.Instance;return Invoke<DeleteSpotDatafeedSubscriptionResponse>(request, options);}


public RevFilter clone() {return new SkipRevFilter(skip);}

public override RevFilter Clone(){return new NGit.Revwalk.Filter.SkipRevFilter(skip);}

[User] public RevFilter clone() {return new SkipRevFilter(skip);}

[Assistant] public override RevFilter Clone(){return new NGit.Revwalk.Filter.SkipRevFilter(skip);}


public BinarySearchIndexes(int highIx) {_lowIx = -1;_highIx = highIx;}

public BinarySearchIndexes(int highIx){_lowIx = -1;_highIx = highIx;}

[User] public BinarySearchIndexes(int highIx) {_lowIx = -1;_highIx = highIx;}

[Assistant] public BinarySearchIndexes(int highIx){_lowIx = -1;_highIx = highIx;}


public Query makeLuceneQueryFieldNoBoost(String fieldName, BasicQueryFactory qf) {return SrndBooleanQuery.makeBooleanQuery(makeLuceneSubQueriesField(fieldName, qf), BooleanClause.Occur.SHOULD);}

public override Search.Query MakeLuceneQueryFieldNoBoost(string fieldName, BasicQueryFactory qf){return SrndBooleanQuery.MakeBooleanQuery(MakeLuceneSubQueriesField(fieldName, qf), Occur.SHOULD);}

[User] public Query makeLuceneQueryFieldNoBoost(String fieldName, BasicQueryFactory qf) {return SrndBooleanQuery.makeBooleanQuery(makeLuceneSubQueriesField(fieldName, qf), BooleanClause.Occur.SHOULD);}

[Assistant] public override Search.Query MakeLuceneQueryFieldNoBoost(string fieldName, BasicQueryFactory qf){return SrndBooleanQuery.MakeBooleanQuery(MakeLuceneSubQueriesField(fieldName, qf), Occur.SHOULD);}


public static CloneCommand cloneRepository() {return new CloneCommand();}

public static CloneCommand CloneRepository(){return new CloneCommand();}

[User] public static CloneCommand cloneRepository() {return new CloneCommand();}

[Assistant] public static CloneCommand CloneRepository(){return new CloneCommand();}


public EnableMetricsCollectionResult enableMetricsCollection(EnableMetricsCollectionRequest request) {request = beforeClientExecution(request);return executeEnableMetricsCollection(request);}

public virtual EnableMetricsCollectionResponse EnableMetricsCollection(EnableMetricsCollectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = EnableMetricsCollectionRequestMarshaller.Instance;options.ResponseUnmarshaller = EnableMetricsCollectionResponseUnmarshaller.Instance;return Invoke<EnableMetricsCollectionResponse>(request, options);}

[User] public EnableMetricsCollectionResult enableMetricsCollection(EnableMetricsCollectionRequest request) {request = beforeClientExecution(request);return executeEnableMetricsCollection(request);}

[Assistant] public virtual EnableMetricsCollectionResponse EnableMetricsCollection(EnableMetricsCollectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = EnableMetricsCollectionRequestMarshaller.Instance;options.ResponseUnmarshaller = EnableMetricsCollectionResponseUnmarshaller.Instance;return Invoke<EnableMetricsCollectionResponse>(request, options);}


public DescribePlayerSessionsResult describePlayerSessions(DescribePlayerSessionsRequest request) {request = beforeClientExecution(request);return executeDescribePlayerSessions(request);}

public virtual DescribePlayerSessionsResponse DescribePlayerSessions(DescribePlayerSessionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribePlayerSessionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribePlayerSessionsResponseUnmarshaller.Instance;return Invoke<DescribePlayerSessionsResponse>(request, options);}

[User] public DescribePlayerSessionsResult describePlayerSessions(DescribePlayerSessionsRequest request) {request = beforeClientExecution(request);return executeDescribePlayerSessions(request);}

[Assistant] public virtual DescribePlayerSessionsResponse DescribePlayerSessions(DescribePlayerSessionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribePlayerSessionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribePlayerSessionsResponseUnmarshaller.Instance;return Invoke<DescribePlayerSessionsResponse>(request, options);}


public UpdateDocumentVersionResult updateDocumentVersion(UpdateDocumentVersionRequest request) {request = beforeClientExecution(request);return executeUpdateDocumentVersion(request);}

public virtual UpdateDocumentVersionResponse UpdateDocumentVersion(UpdateDocumentVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDocumentVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDocumentVersionResponseUnmarshaller.Instance;return Invoke<UpdateDocumentVersionResponse>(request, options);}

[User] public UpdateDocumentVersionResult updateDocumentVersion(UpdateDocumentVersionRequest request) {request = beforeClientExecution(request);return executeUpdateDocumentVersion(request);}

[Assistant] public virtual UpdateDocumentVersionResponse UpdateDocumentVersion(UpdateDocumentVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDocumentVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDocumentVersionResponseUnmarshaller.Instance;return Invoke<UpdateDocumentVersionResponse>(request, options);}


public TagCommand setTagger(PersonIdent tagger) {this.tagger = tagger;return this;}

public virtual NGit.Api.TagCommand SetTagger(PersonIdent tagger){this.tagger = tagger;return this;}

[User] public TagCommand setTagger(PersonIdent tagger) {this.tagger = tagger;return this;}

[Assistant] public virtual NGit.Api.TagCommand SetTagger(PersonIdent tagger){this.tagger = tagger;return this;}


public void setCellValue(boolean value) {int row=_record.getRow();short col=_record.getColumn();short styleIndex=_record.getXFIndex();switch (_cellType) {default:setCellType(CellType.BOOLEAN, false, row, col, styleIndex);case BOOLEAN:(( BoolErrRecord ) _record).setValue(value);break;case FORMULA:((FormulaRecordAggregate)_record).setCachedBooleanResult(value);break;}}

public void SetCellValue(double value){if(double.IsInfinity(value)){SetCellErrorValue(FormulaError.DIV0.Code);}else if (double.IsNaN(value)){SetCellErrorValue(FormulaError.NUM.Code);}else{int row = _record.Row;int col = _record.Column;short styleIndex = _record.XFIndex;switch (cellType){case CellType.Numeric:((NumberRecord)_record).Value = value;break;case CellType.Formula:((FormulaRecordAggregate)_record).SetCachedDoubleResult(value);break;default:SetCellType(CellType.Numeric, false, row, col, styleIndex);((NumberRecord)_record).Value = value;break;}}}

[User] public void setCellValue(boolean value) {int row=_record.getRow();short col=_record.getColumn();short styleIndex=_record.getXFIndex();switch (_cellType) {default:setCellType(CellType.BOOLEAN, false, row, col, styleIndex);case BOOLEAN:(( BoolErrRecord ) _record).setValue(value);break;case FORMULA:((FormulaRecordAggregate)_record).setCachedBooleanResult(value);break;}}

[Assistant] public void SetCellValue(double value){if(double.IsInfinity(value)){SetCellErrorValue(FormulaError.DIV0.Code);}else if (double.IsNaN(value)){SetCellErrorValue(FormulaError.NUM.Code);}else{int row = _record.Row;int col = _record.Column;short styleIndex = _record.XFIndex;switch (cellType){case CellType.Numeric:((NumberRecord)_record).Value = value;break;case CellType.Formula:((FormulaRecordAggregate)_record).SetCachedDoubleResult(value);break;default:SetCellType(CellType.Numeric, false, row, col, styleIndex);((NumberRecord)_record).Value = value;break;}}}


public PatternReplaceFilterFactory(Map<String, String> args) {super(args);pattern = getPattern(args, "pattern");replacement = get(args, "replacement");replaceAll = "all".equals(get(args, "replace", Arrays.asList("all", "first"), "all"));if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

public PatternReplaceFilterFactory(IDictionary<string, string> args) : base(args){pattern = GetPattern(args, "pattern");replacement = Get(args, "replacement");replaceAll = "all".Equals(Get(args, "replace", new string[] { "all", "first" }, "all"), StringComparison.Ordinal);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}

[User] public PatternReplaceFilterFactory(Map<String, String> args) {super(args);pattern = getPattern(args, "pattern");replacement = get(args, "replacement");replaceAll = "all".equals(get(args, "replace", Arrays.asList("all", "first"), "all"));if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

[Assistant] public PatternReplaceFilterFactory(IDictionary<string, string> args) : base(args){pattern = GetPattern(args, "pattern");replacement = Get(args, "replacement");replaceAll = "all".Equals(Get(args, "replace", new string[] { "all", "first" }, "all"), StringComparison.Ordinal);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}


public List<T> asList(Object output) {if (!(output instanceof List)) {List<T> result = new ArrayList<>(1);result.add((T) output);return result;} else {return (List<T>) output;}}

public IList<T> AsList(object output){if (!(output is IList<T> outputList)){return new JCG.List<T>(1) { (T)output };}else{return outputList;}}

[User] public List<T> asList(Object output) {if (!(output instanceof List)) {List<T> result = new ArrayList<>(1);result.add((T) output);return result;} else {return (List<T>) output;}}

[Assistant] public IList<T> AsList(object output){if (!(output is IList<T> outputList)){return new JCG.List<T>(1) { (T)output };}else{return outputList;}}


public FooterKey(String keyName) {name = keyName;raw = Constants.encode(keyName.toLowerCase(Locale.ROOT));}

public FooterKey(string keyName){name = keyName;raw = Constants.Encode(keyName.ToLower());}

[User] public FooterKey(String keyName) {name = keyName;raw = Constants.encode(keyName.toLowerCase(Locale.ROOT));}

[Assistant] public FooterKey(string keyName){name = keyName;raw = Constants.Encode(keyName.ToLower());}


public List<Token> getTokens() { return tokens; }

public virtual IList<IToken> GetTokens(){return tokens;}

[User] public List<Token> getTokens() { return tokens; }

[Assistant] public virtual IList<IToken> GetTokens(){return tokens;}


public DeleteTaskSetResult deleteTaskSet(DeleteTaskSetRequest request) {request = beforeClientExecution(request);return executeDeleteTaskSet(request);}

public virtual DeleteTaskSetResponse DeleteTaskSet(DeleteTaskSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteTaskSetRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteTaskSetResponseUnmarshaller.Instance;return Invoke<DeleteTaskSetResponse>(request, options);}

[User] public DeleteTaskSetResult deleteTaskSet(DeleteTaskSetRequest request) {request = beforeClientExecution(request);return executeDeleteTaskSet(request);}

[Assistant] public virtual DeleteTaskSetResponse DeleteTaskSet(DeleteTaskSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteTaskSetRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteTaskSetResponseUnmarshaller.Instance;return Invoke<DeleteTaskSetResponse>(request, options);}


public DescribeLifecycleConfigurationResult describeLifecycleConfiguration(DescribeLifecycleConfigurationRequest request) {request = beforeClientExecution(request);return executeDescribeLifecycleConfiguration(request);}

public virtual DescribeLifecycleConfigurationResponse DescribeLifecycleConfiguration(DescribeLifecycleConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLifecycleConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLifecycleConfigurationResponseUnmarshaller.Instance;return Invoke<DescribeLifecycleConfigurationResponse>(request, options);}

[User] public DescribeLifecycleConfigurationResult describeLifecycleConfiguration(DescribeLifecycleConfigurationRequest request) {request = beforeClientExecution(request);return executeDescribeLifecycleConfiguration(request);}

[Assistant] public virtual DescribeLifecycleConfigurationResponse DescribeLifecycleConfiguration(DescribeLifecycleConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLifecycleConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLifecycleConfigurationResponseUnmarshaller.Instance;return Invoke<DescribeLifecycleConfigurationResponse>(request, options);}


public DescribeNodegroupResult describeNodegroup(DescribeNodegroupRequest request) {request = beforeClientExecution(request);return executeDescribeNodegroup(request);}

public virtual DescribeNodegroupResponse DescribeNodegroup(DescribeNodegroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeNodegroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeNodegroupResponseUnmarshaller.Instance;return Invoke<DescribeNodegroupResponse>(request, options);}

[User] public DescribeNodegroupResult describeNodegroup(DescribeNodegroupRequest request) {request = beforeClientExecution(request);return executeDescribeNodegroup(request);}

[Assistant] public virtual DescribeNodegroupResponse DescribeNodegroup(DescribeNodegroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeNodegroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeNodegroupResponseUnmarshaller.Instance;return Invoke<DescribeNodegroupResponse>(request, options);}


public CustomProperty() {this.name = null;}

public CustomProperty(){this.name = null;}

[User] public CustomProperty() {this.name = null;}

[Assistant] public CustomProperty(){this.name = null;}


public DeleteDirectConnectGatewayResult deleteDirectConnectGateway(DeleteDirectConnectGatewayRequest request) {request = beforeClientExecution(request);return executeDeleteDirectConnectGateway(request);}

public virtual DeleteDirectConnectGatewayResponse DeleteDirectConnectGateway(DeleteDirectConnectGatewayRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDirectConnectGatewayRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDirectConnectGatewayResponseUnmarshaller.Instance;return Invoke<DeleteDirectConnectGatewayResponse>(request, options);}

[User] public DeleteDirectConnectGatewayResult deleteDirectConnectGateway(DeleteDirectConnectGatewayRequest request) {request = beforeClientExecution(request);return executeDeleteDirectConnectGateway(request);}

[Assistant] public virtual DeleteDirectConnectGatewayResponse DeleteDirectConnectGateway(DeleteDirectConnectGatewayRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDirectConnectGatewayRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDirectConnectGatewayResponseUnmarshaller.Instance;return Invoke<DeleteDirectConnectGatewayResponse>(request, options);}


public AddCommand(Repository repo) {super(repo);filepatterns = new LinkedList<>();}

protected internal AddCommand(Repository repo) : base(repo){filepatterns = new List<string>();}

[User] public AddCommand(Repository repo) {super(repo);filepatterns = new LinkedList<>();}

[Assistant] protected internal AddCommand(Repository repo) : base(repo){filepatterns = new List<string>();}