public boolean add(final int value){if (_limit == _array.length){growArray(_limit * 2);}_array[ _limit++ ] = value;return true;}

public bool Add(int value){if (_limit == _array.Length){growArray(_limit * 2);}_array[_limit++] = value;return true;}

[User] public boolean add(final int value){if (_limit == _array.length){growArray(_limit * 2);}_array[ _limit++ ] = value;return true;}

[Assistant] public bool Add(int value){if (_limit == _array.Length){growArray(_limit * 2);}_array[_limit++] = value;return true;}


public final int computeIterations(int valueCount, int ramBudget) {final int iterations = ramBudget / (byteBlockCount() + 8 * byteValueCount());if (iterations == 0) {return 1;} else if ((iterations - 1) * byteValueCount() >= valueCount) {return (int) Math.ceil((double) valueCount / byteValueCount());} else {return iterations;}}

public int ComputeIterations(int valueCount, int ramBudget){int iterations = ramBudget / (ByteBlockCount + 8 * ByteValueCount);if (iterations == 0){return 1;}else if ((iterations - 1) * ByteValueCount >= valueCount){return (int)Math.Ceiling((double)valueCount / ByteValueCount);}else{return iterations;}}

[User] public final int computeIterations(int valueCount, int ramBudget) {final int iterations = ramBudget / (byteBlockCount() + 8 * byteValueCount());if (iterations == 0) {return 1;} else if ((iterations - 1) * byteValueCount() >= valueCount) {return (int) Math.ceil((double) valueCount / byteValueCount());} else {return iterations;}}

[Assistant] public int ComputeIterations(int valueCount, int ramBudget){int iterations = ramBudget / (ByteBlockCount + 8 * ByteValueCount);if (iterations == 0){return 1;}else if ((iterations - 1) * ByteValueCount >= valueCount){return (int)Math.Ceiling((double)valueCount / ByteValueCount);}else{return iterations;}}


public NameRecord getNameRecord(int nameIndex) {return getWorkbook().getNameRecord(nameIndex);}

public NameRecord GetNameRecord(int nameIndex){return Workbook.GetNameRecord(nameIndex);}

[User] public NameRecord getNameRecord(int nameIndex) {return getWorkbook().getNameRecord(nameIndex);}

[Assistant] public NameRecord GetNameRecord(int nameIndex){return Workbook.GetNameRecord(nameIndex);}


public DescribeJobResult describeJob(DescribeJobRequest request) {request = beforeClientExecution(request);return executeDescribeJob(request);}

public virtual DescribeJobResponse DescribeJob(DescribeJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeJobRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeJobResponseUnmarshaller.Instance;return Invoke<DescribeJobResponse>(request, options);}

[User] public DescribeJobResult describeJob(DescribeJobRequest request) {request = beforeClientExecution(request);return executeDescribeJob(request);}

[Assistant] public virtual DescribeJobResponse DescribeJob(DescribeJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeJobRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeJobResponseUnmarshaller.Instance;return Invoke<DescribeJobResponse>(request, options);}


public EscherPropertyMetaData( String description, byte type ){this.description = description;this.type = type;}

public EscherPropertyMetaData(String description, byte type){this.description = description;this.type = type;}

[User] public EscherPropertyMetaData( String description, byte type ){this.description = description;this.type = type;}

[Assistant] public EscherPropertyMetaData(String description, byte type){this.description = description;this.type = type;}


public HSSFColor findSimilarColor(int red, int green, int blue) {HSSFColor result = null;int minColorDistance = Integer.MAX_VALUE;byte[] b = _palette.getColor(PaletteRecord.FIRST_COLOR_INDEX);for (short i = PaletteRecord.FIRST_COLOR_INDEX; b != null;b = _palette.getColor(++i)){int colorDistance = Math.abs(red - unsignedInt(b[0])) +Math.abs(green - unsignedInt(b[1])) +Math.abs(blue - unsignedInt(b[2]));if (colorDistance < minColorDistance){minColorDistance = colorDistance;result = getColor(i);}}return result;}

public HSSFColor FindSimilarColor(byte red, byte green, byte blue){HSSFColor result = null;int minColorDistance = int.MaxValue;byte[] b = palette.GetColor(PaletteRecord.FIRST_COLOR_INDEX);for (short i = (short)PaletteRecord.FIRST_COLOR_INDEX; b != null;b = palette.GetColor(++i)){int colorDistance = Math.Abs(red - b[0]) +Math.Abs(green - b[1]) + Math.Abs(blue - b[2]);if (colorDistance < minColorDistance){minColorDistance = colorDistance;result = GetColor(i);}}return result;}

[User] public HSSFColor findSimilarColor(int red, int green, int blue) {HSSFColor result = null;int minColorDistance = Integer.MAX_VALUE;byte[] b = _palette.getColor(PaletteRecord.FIRST_COLOR_INDEX);for (short i = PaletteRecord.FIRST_COLOR_INDEX; b != null;b = _palette.getColor(++i)){int colorDistance = Math.abs(red - unsignedInt(b[0])) +Math.abs(green - unsignedInt(b[1])) +Math.abs(blue - unsignedInt(b[2]));if (colorDistance < minColorDistance){minColorDistance = colorDistance;result = getColor(i);}}return result;}

[Assistant] public HSSFColor FindSimilarColor(byte red, byte green, byte blue){HSSFColor result = null;int minColorDistance = int.MaxValue;byte[] b = palette.GetColor(PaletteRecord.FIRST_COLOR_INDEX);for (short i = (short)PaletteRecord.FIRST_COLOR_INDEX; b != null;b = palette.GetColor(++i)){int colorDistance = Math.Abs(red - b[0]) +Math.Abs(green - b[1]) + Math.Abs(blue - b[2]);if (colorDistance < minColorDistance){minColorDistance = colorDistance;result = GetColor(i);}}return result;}


public synchronized StringBuffer deleteCharAt(int location) {deleteCharAt0(location);return this;}

public java.lang.StringBuffer deleteCharAt(int location){lock (this){deleteCharAt0(location);return this;}}

[User] public synchronized StringBuffer deleteCharAt(int location) {deleteCharAt0(location);return this;}

[Assistant] public java.lang.StringBuffer deleteCharAt(int location){lock (this){deleteCharAt0(location);return this;}}


public PathFilter clone() {return this;}

public override TreeFilter Clone(){return this;}

[User] public PathFilter clone() {return this;}

[Assistant] public override TreeFilter Clone(){return this;}


public String toString() {if (isEmpty()) {return "[]";}StringBuilder buffer = new StringBuilder(size() * 16);buffer.append('[');Iterator<?> it = iterator();while (it.hasNext()) {Object next = it.next();if (next != this) {buffer.append(next);} else {buffer.append("(this Collection)");}if (it.hasNext()) {buffer.append(", ");}}buffer.append(']');return buffer.toString();}

public override string ToString(){if (isEmpty()){return "[]";}java.lang.StringBuilder buffer = new java.lang.StringBuilder(size() * 16);buffer.append('[');java.util.Iterator<E> it = iterator();while (it.hasNext()){object next = it.next();if (next != this){buffer.append(next);}else{buffer.append("(this Collection)");}if (it.hasNext()){buffer.append(", ");}}buffer.append(']');return buffer.ToString();}

[User] public String toString() {if (isEmpty()) {return "[]";}StringBuilder buffer = new StringBuilder(size() * 16);buffer.append('[');Iterator<?> it = iterator();while (it.hasNext()) {Object next = it.next();if (next != this) {buffer.append(next);} else {buffer.append("(this Collection)");}if (it.hasNext()) {buffer.append(", ");}}buffer.append(']');return buffer.toString();}

[Assistant] public override string ToString(){if (isEmpty()){return "[]";}java.lang.StringBuilder buffer = new java.lang.StringBuilder(size() * 16);buffer.append('[');java.util.Iterator<E> it = iterator();while (it.hasNext()){object next = it.next();if (next != this){buffer.append(next);}else{buffer.append("(this Collection)");}if (it.hasNext()){buffer.append(", ");}}buffer.append(']');return buffer.ToString();}


public synchronized void close() throws IOException {buffer = null;notifyAll();}

public override void close(){throw new System.NotImplementedException();}

[User] public synchronized void close() throws IOException {buffer = null;notifyAll();}

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


public String toString() {return "ShardIter(shard=" + shardIndex + ")";}

public override string ToString(){return "ShardIter(shard=" + shardIndex + ")";}

[User] public String toString() {return "ShardIter(shard=" + shardIndex + ")";}

[Assistant] public override string ToString(){return "ShardIter(shard=" + shardIndex + ")";}


public JobParameters(String format, String type, String archiveId, String description) {setFormat(format);setType(type);setArchiveId(archiveId);setDescription(description);}

public JobParameters(string format, string type, string archiveId, string description){_format = format;_type = type;_archiveId = archiveId;_description = description;}

[User] public JobParameters(String format, String type, String archiveId, String description) {setFormat(format);setType(type);setArchiveId(archiveId);setDescription(description);}

[Assistant] public JobParameters(string format, string type, string archiveId, string description){_format = format;_type = type;_archiveId = archiveId;_description = description;}


public IntBuffer get(int[] dst) {return get(dst, 0, dst.length);}

public virtual java.nio.IntBuffer get(int[] dst){return get(dst, 0, dst.Length);}

[User] public IntBuffer get(int[] dst) {return get(dst, 0, dst.length);}

[Assistant] public virtual java.nio.IntBuffer get(int[] dst){return get(dst, 0, dst.Length);}


public SupBookRecord(String url, String[] sheetNames) {field_1_number_of_sheets = (short) sheetNames.length;field_2_encoded_url = url;field_3_sheet_names = sheetNames;_isAddInFunctions = false;}

public SupBookRecord(String url, String[] sheetNames){field_1_number_of_sheets = (short)sheetNames.Length;field_2_encoded_url = url;field_3_sheet_names = sheetNames;_isAddInFunctions = false;}

[User] public SupBookRecord(String url, String[] sheetNames) {field_1_number_of_sheets = (short) sheetNames.length;field_2_encoded_url = url;field_3_sheet_names = sheetNames;_isAddInFunctions = false;}

[Assistant] public SupBookRecord(String url, String[] sheetNames){field_1_number_of_sheets = (short)sheetNames.Length;field_2_encoded_url = url;field_3_sheet_names = sheetNames;_isAddInFunctions = false;}


public SeriesLabelsRecord(RecordInputStream in) {field_1_formatFlags = in.readShort();}

public SeriesLabelsRecord(RecordInputStream in1){field_1_formatFlags = in1.ReadShort();}

[User] public SeriesLabelsRecord(RecordInputStream in) {field_1_formatFlags = in.readShort();}

[Assistant] public SeriesLabelsRecord(RecordInputStream in1){field_1_formatFlags = in1.ReadShort();}


public DescribeAssessmentRunsResult describeAssessmentRuns(DescribeAssessmentRunsRequest request) {request = beforeClientExecution(request);return executeDescribeAssessmentRuns(request);}

public virtual DescribeAssessmentRunsResponse DescribeAssessmentRuns(DescribeAssessmentRunsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAssessmentRunsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAssessmentRunsResponseUnmarshaller.Instance;return Invoke<DescribeAssessmentRunsResponse>(request, options);}

[User] public DescribeAssessmentRunsResult describeAssessmentRuns(DescribeAssessmentRunsRequest request) {request = beforeClientExecution(request);return executeDescribeAssessmentRuns(request);}

[Assistant] public virtual DescribeAssessmentRunsResponse DescribeAssessmentRuns(DescribeAssessmentRunsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAssessmentRunsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAssessmentRunsResponseUnmarshaller.Instance;return Invoke<DescribeAssessmentRunsResponse>(request, options);}


public DescribeClassicLinkInstancesResult describeClassicLinkInstances(DescribeClassicLinkInstancesRequest request) {request = beforeClientExecution(request);return executeDescribeClassicLinkInstances(request);}

public virtual DescribeClassicLinkInstancesResponse DescribeClassicLinkInstances(DescribeClassicLinkInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClassicLinkInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClassicLinkInstancesResponseUnmarshaller.Instance;return Invoke<DescribeClassicLinkInstancesResponse>(request, options);}

[User] public DescribeClassicLinkInstancesResult describeClassicLinkInstances(DescribeClassicLinkInstancesRequest request) {request = beforeClientExecution(request);return executeDescribeClassicLinkInstances(request);}

[Assistant] public virtual DescribeClassicLinkInstancesResponse DescribeClassicLinkInstances(DescribeClassicLinkInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClassicLinkInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClassicLinkInstancesResponseUnmarshaller.Instance;return Invoke<DescribeClassicLinkInstancesResponse>(request, options);}


public byte[] getByteBlock() {return new byte[blockSize];}

public virtual byte[] GetByteBlock(){return new byte[m_blockSize];}

[User] public byte[] getByteBlock() {return new byte[blockSize];}

[Assistant] public virtual byte[] GetByteBlock(){return new byte[m_blockSize];}


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

public override Object Clone(){SeriesIndexRecord rec = new SeriesIndexRecord();rec.field_1_index = field_1_index;return rec;}

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

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


public RegisterToWorkMailResult registerToWorkMail(RegisterToWorkMailRequest request) {request = beforeClientExecution(request);return executeRegisterToWorkMail(request);}

public virtual RegisterToWorkMailResponse RegisterToWorkMail(RegisterToWorkMailRequest request){var options = new InvokeOptions();options.RequestMarshaller = RegisterToWorkMailRequestMarshaller.Instance;options.ResponseUnmarshaller = RegisterToWorkMailResponseUnmarshaller.Instance;return Invoke<RegisterToWorkMailResponse>(request, options);}

[User] public RegisterToWorkMailResult registerToWorkMail(RegisterToWorkMailRequest request) {request = beforeClientExecution(request);return executeRegisterToWorkMail(request);}

[Assistant] public virtual RegisterToWorkMailResponse RegisterToWorkMail(RegisterToWorkMailRequest request){var options = new InvokeOptions();options.RequestMarshaller = RegisterToWorkMailRequestMarshaller.Instance;options.ResponseUnmarshaller = RegisterToWorkMailResponseUnmarshaller.Instance;return Invoke<RegisterToWorkMailResponse>(request, options);}


public DeleteCollectionRequest() {super("cr", "2016-06-07", "DeleteCollection", "cr");setUriPattern("/collections/[CollectionId]");setMethod(MethodType.DELETE);}

public DeleteCollectionRequest(): base("cr", "2016-06-07", "DeleteCollection", "cr", "openAPI"){UriPattern = "/collections/[CollectionId]";Method = MethodType.DELETE;}

[User] public DeleteCollectionRequest() {super("cr", "2016-06-07", "DeleteCollection", "cr");setUriPattern("/collections/[CollectionId]");setMethod(MethodType.DELETE);}

[Assistant] public DeleteCollectionRequest(): base("cr", "2016-06-07", "DeleteCollection", "cr", "openAPI"){UriPattern = "/collections/[CollectionId]";Method = MethodType.DELETE;}


public Cluster deleteCluster(DeleteClusterRequest request) {request = beforeClientExecution(request);return executeDeleteCluster(request);}

public virtual DeleteClusterResponse DeleteCluster(DeleteClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteClusterResponseUnmarshaller.Instance;return Invoke<DeleteClusterResponse>(request, options);}

[User] public Cluster deleteCluster(DeleteClusterRequest request) {request = beforeClientExecution(request);return executeDeleteCluster(request);}

[Assistant] public virtual DeleteClusterResponse DeleteCluster(DeleteClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteClusterResponseUnmarshaller.Instance;return Invoke<DeleteClusterResponse>(request, options);}


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

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

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

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


public CharsRef common(CharsRef output1, CharsRef output2) {assert output1 != null;assert output2 != null;int pos1 = output1.offset;int pos2 = output2.offset;int stopAt1 = pos1 + Math.min(output1.length, output2.length);while(pos1 < stopAt1) {if (output1.chars[pos1] != output2.chars[pos2]) {break;}pos1++;pos2++;}if (pos1 == output1.offset) {return NO_OUTPUT;} else if (pos1 == output1.offset + output1.length) {return output1;} else if (pos2 == output2.offset + output2.length) {return output2;} else {return new CharsRef(output1.chars, output1.offset, pos1-output1.offset);}}

public override CharsRef Common(CharsRef output1, CharsRef output2){Debug.Assert(output1 != null);Debug.Assert(output2 != null);int pos1 = output1.Offset;int pos2 = output2.Offset;int stopAt1 = pos1 + Math.Min(output1.Length, output2.Length);while (pos1 < stopAt1){if (output1.Chars[pos1] != output2.Chars[pos2]){break;}pos1++;pos2++;}if (pos1 == output1.Offset){return NO_OUTPUT;}else if (pos1 == output1.Offset + output1.Length){return output1;}else if (pos2 == output2.Offset + output2.Length){return output2;}else{return new CharsRef(output1.Chars, output1.Offset, pos1 - output1.Offset);}}

[User] public CharsRef common(CharsRef output1, CharsRef output2) {assert output1 != null;assert output2 != null;int pos1 = output1.offset;int pos2 = output2.offset;int stopAt1 = pos1 + Math.min(output1.length, output2.length);while(pos1 < stopAt1) {if (output1.chars[pos1] != output2.chars[pos2]) {break;}pos1++;pos2++;}if (pos1 == output1.offset) {return NO_OUTPUT;} else if (pos1 == output1.offset + output1.length) {return output1;} else if (pos2 == output2.offset + output2.length) {return output2;} else {return new CharsRef(output1.chars, output1.offset, pos1-output1.offset);}}

[Assistant] public override CharsRef Common(CharsRef output1, CharsRef output2){Debug.Assert(output1 != null);Debug.Assert(output2 != null);int pos1 = output1.Offset;int pos2 = output2.Offset;int stopAt1 = pos1 + Math.Min(output1.Length, output2.Length);while (pos1 < stopAt1){if (output1.Chars[pos1] != output2.Chars[pos2]){break;}pos1++;pos2++;}if (pos1 == output1.Offset){return NO_OUTPUT;}else if (pos1 == output1.Offset + output1.Length){return output1;}else if (pos2 == output2.Offset + output2.Length){return output2;}else{return new CharsRef(output1.Chars, output1.Offset, pos1 - output1.Offset);}}


public GetExclusionsPreviewResult getExclusionsPreview(GetExclusionsPreviewRequest request) {request = beforeClientExecution(request);return executeGetExclusionsPreview(request);}

public virtual GetExclusionsPreviewResponse GetExclusionsPreview(GetExclusionsPreviewRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetExclusionsPreviewRequestMarshaller.Instance;options.ResponseUnmarshaller = GetExclusionsPreviewResponseUnmarshaller.Instance;return Invoke<GetExclusionsPreviewResponse>(request, options);}

[User] public GetExclusionsPreviewResult getExclusionsPreview(GetExclusionsPreviewRequest request) {request = beforeClientExecution(request);return executeGetExclusionsPreview(request);}

[Assistant] public virtual GetExclusionsPreviewResponse GetExclusionsPreview(GetExclusionsPreviewRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetExclusionsPreviewRequestMarshaller.Instance;options.ResponseUnmarshaller = GetExclusionsPreviewResponseUnmarshaller.Instance;return Invoke<GetExclusionsPreviewResponse>(request, options);}


public KeepWordFilterFactory(Map<String,String> args) {super(args);wordFiles = get(args, "words");ignoreCase = getBoolean(args, "ignoreCase", false);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

public KeepWordFilterFactory(IDictionary<string, string> args): base(args){AssureMatchVersion();wordFiles = Get(args, "words");ignoreCase = GetBoolean(args, "ignoreCase", false);enablePositionIncrements = GetBoolean(args, "enablePositionIncrements", true);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}

[User] public KeepWordFilterFactory(Map<String,String> args) {super(args);wordFiles = get(args, "words");ignoreCase = getBoolean(args, "ignoreCase", false);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

[Assistant] public KeepWordFilterFactory(IDictionary<string, string> args): base(args){AssureMatchVersion();wordFiles = Get(args, "words");ignoreCase = GetBoolean(args, "ignoreCase", false);enablePositionIncrements = GetBoolean(args, "enablePositionIncrements", true);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}


public int uniformCmd(boolean eqSkip) {Iterator<Cell> i = cells.values().iterator();int ret = -1;uniformCnt = 1;uniformSkip = 0;for (; i.hasNext();) {Cell c = i.next();if (c.ref >= 0) {return -1;}if (c.cmd >= 0) {if (ret < 0) {ret = c.cmd;uniformSkip = c.skip;} else if (ret == c.cmd) {if (eqSkip) {if (uniformSkip == c.skip) {uniformCnt++;} else {return -1;}} else {uniformCnt++;}} else {return -1;}}}return ret;}

public int UniformCmd(bool eqSkip){int ret = -1;uniformCnt = 1;uniformSkip = 0;foreach (Cell c in cells.Values){if (c.@ref >= 0){return -1;}if (c.cmd >= 0){if (ret < 0){ret = c.cmd;uniformSkip = c.skip;}else if (ret == c.cmd){if (eqSkip){if (uniformSkip == c.skip){uniformCnt++;}else{return -1;}}else{uniformCnt++;}}else{return -1;}}}return ret;}

[User] public int uniformCmd(boolean eqSkip) {Iterator<Cell> i = cells.values().iterator();int ret = -1;uniformCnt = 1;uniformSkip = 0;for (; i.hasNext();) {Cell c = i.next();if (c.ref >= 0) {return -1;}if (c.cmd >= 0) {if (ret < 0) {ret = c.cmd;uniformSkip = c.skip;} else if (ret == c.cmd) {if (eqSkip) {if (uniformSkip == c.skip) {uniformCnt++;} else {return -1;}} else {uniformCnt++;}} else {return -1;}}}return ret;}

[Assistant] public int UniformCmd(bool eqSkip){int ret = -1;uniformCnt = 1;uniformSkip = 0;foreach (Cell c in cells.Values){if (c.@ref >= 0){return -1;}if (c.cmd >= 0){if (ret < 0){ret = c.cmd;uniformSkip = c.skip;}else if (ret == c.cmd){if (eqSkip){if (uniformSkip == c.skip){uniformCnt++;}else{return -1;}}else{uniformCnt++;}}else{return -1;}}}return ret;}


public ListTypedLinkFacetNamesResult listTypedLinkFacetNames(ListTypedLinkFacetNamesRequest request) {request = beforeClientExecution(request);return executeListTypedLinkFacetNames(request);}

public virtual ListTypedLinkFacetNamesResponse ListTypedLinkFacetNames(ListTypedLinkFacetNamesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTypedLinkFacetNamesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTypedLinkFacetNamesResponseUnmarshaller.Instance;return Invoke<ListTypedLinkFacetNamesResponse>(request, options);}

[User] public ListTypedLinkFacetNamesResult listTypedLinkFacetNames(ListTypedLinkFacetNamesRequest request) {request = beforeClientExecution(request);return executeListTypedLinkFacetNames(request);}

[Assistant] public virtual ListTypedLinkFacetNamesResponse ListTypedLinkFacetNames(ListTypedLinkFacetNamesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTypedLinkFacetNamesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTypedLinkFacetNamesResponseUnmarshaller.Instance;return Invoke<ListTypedLinkFacetNamesResponse>(request, options);}


public T remove(int index) {if (index == size - 1) {T[] blockRef = directory[toDirectoryIndex(index)];int blockIdx = toBlockIndex(index);T old = blockRef[blockIdx];blockRef[blockIdx] = null;size--;if (0 < tailBlkIdx)tailBlkIdx--;elseresetTailBlock();return old;} else if (index < 0 || size <= index) {throw new IndexOutOfBoundsException(String.valueOf(index));} else {T old = get(index);for (; index < size - 1; index++)set(index, get(index + 1));set(size - 1, null);size--;resetTailBlock();return old;}}

public override T Remove(int index){if (index == size - 1){T[] blockRef = directory[ToDirectoryIndex(index)];int blockIdx = ToBlockIndex(index);T old = blockRef[blockIdx];blockRef[blockIdx] = default(T);size--;if (0 < tailBlkIdx){tailBlkIdx--;}else{ResetTailBlock();}return old;}else{if (index < 0 || size <= index){throw new IndexOutOfRangeException(index.ToString());}else{T old = this[index];for (; index < size - 1; index++){Set(index, this[index + 1]);}Set(size - 1, default(T));size--;ResetTailBlock();return old;}}}

[User] public T remove(int index) {if (index == size - 1) {T[] blockRef = directory[toDirectoryIndex(index)];int blockIdx = toBlockIndex(index);T old = blockRef[blockIdx];blockRef[blockIdx] = null;size--;if (0 < tailBlkIdx)tailBlkIdx--;elseresetTailBlock();return old;} else if (index < 0 || size <= index) {throw new IndexOutOfBoundsException(String.valueOf(index));} else {T old = get(index);for (; index < size - 1; index++)set(index, get(index + 1));set(size - 1, null);size--;resetTailBlock();return old;}}

[Assistant] public override T Remove(int index){if (index == size - 1){T[] blockRef = directory[ToDirectoryIndex(index)];int blockIdx = ToBlockIndex(index);T old = blockRef[blockIdx];blockRef[blockIdx] = default(T);size--;if (0 < tailBlkIdx){tailBlkIdx--;}else{ResetTailBlock();}return old;}else{if (index < 0 || size <= index){throw new IndexOutOfRangeException(index.ToString());}else{T old = this[index];for (; index < size - 1; index++){Set(index, this[index + 1]);}Set(size - 1, default(T));size--;ResetTailBlock();return old;}}}


public boolean willSoonExpire() {long now = System.currentTimeMillis();return this.roleSessionDurationSeconds * (1 - expireFact) > (expiration - now) / 1000;}

public override bool WillSoonExpire(){return roleSessionDurationSeconds * (1 - expireFact) * 1000 * 1000 * 10 > RemainTicks();}

[User] public boolean willSoonExpire() {long now = System.currentTimeMillis();return this.roleSessionDurationSeconds * (1 - expireFact) > (expiration - now) / 1000;}

[Assistant] public override bool WillSoonExpire(){return roleSessionDurationSeconds * (1 - expireFact) * 1000 * 1000 * 10 > RemainTicks();}


public GroupingSearch setSortWithinGroup(Sort sortWithinGroup) {this.sortWithinGroup = sortWithinGroup;return this;}

public virtual GroupingSearch SetSortWithinGroup(Sort sortWithinGroup){this.sortWithinGroup = sortWithinGroup;return this;}

[User] public GroupingSearch setSortWithinGroup(Sort sortWithinGroup) {this.sortWithinGroup = sortWithinGroup;return this;}

[Assistant] public virtual GroupingSearch SetSortWithinGroup(Sort sortWithinGroup){this.sortWithinGroup = sortWithinGroup;return this;}


public long ramBytesUsed() {return BASE_RAM_BYTES_USED +((postings!=null) ? RamUsageEstimator.sizeOf(postings) : 0) +((payloads!=null) ? RamUsageEstimator.sizeOf(payloads) : 0);}

public override long RamBytesUsed(){return ((postings != null) ? RamUsageEstimator.SizeOf(postings) : 0) +((payloads != null) ? RamUsageEstimator.SizeOf(payloads) : 0);}

[User] public long ramBytesUsed() {return BASE_RAM_BYTES_USED +((postings!=null) ? RamUsageEstimator.sizeOf(postings) : 0) +((payloads!=null) ? RamUsageEstimator.sizeOf(payloads) : 0);}

[Assistant] public override long RamBytesUsed(){return ((postings != null) ? RamUsageEstimator.SizeOf(postings) : 0) +((payloads != null) ? RamUsageEstimator.SizeOf(payloads) : 0);}


public void seek(long pos) throws IOException {final long curFP = getFilePointer();final long skip = pos - curFP;if (skip < 0) {throw new IllegalStateException(getClass() + " cannot seek backwards (pos=" + pos + " getFilePointer()=" + curFP + ")");}skipBytes(skip);}

public override void Seek(long pos){long skip = pos - GetFilePointer();if (skip < 0){throw new InvalidOperationException(this.GetType() + " cannot seek backwards");}SkipBytes(skip);}

[User] public void seek(long pos) throws IOException {final long curFP = getFilePointer();final long skip = pos - curFP;if (skip < 0) {throw new IllegalStateException(getClass() + " cannot seek backwards (pos=" + pos + " getFilePointer()=" + curFP + ")");}skipBytes(skip);}

[Assistant] public override void Seek(long pos){long skip = pos - GetFilePointer();if (skip < 0){throw new InvalidOperationException(this.GetType() + " cannot seek backwards");}SkipBytes(skip);}


public ExternalName getExternalName(int externSheetIndex, int externNameIndex) {return _iBook.getExternalName(externSheetIndex, externNameIndex);}

public ExternalName GetExternalName(int externSheetIndex, int externNameIndex){return _iBook.GetExternalName(externSheetIndex, externNameIndex);}

[User] public ExternalName getExternalName(int externSheetIndex, int externNameIndex) {return _iBook.getExternalName(externSheetIndex, externNameIndex);}

[Assistant] public ExternalName GetExternalName(int externSheetIndex, int externNameIndex){return _iBook.GetExternalName(externSheetIndex, externNameIndex);}


public StrDocValues(ValueSource vs) {this.vs = vs;}

public StrDocValues(ValueSource vs){this.m_vs = vs;}

[User] public StrDocValues(ValueSource vs) {this.vs = vs;}

[Assistant] public StrDocValues(ValueSource vs){this.m_vs = vs;}


public int getFunctionIndex(String name) {return name.hashCode();}

public int GetFunctionIndex(String name){return name.GetHashCode();}

[User] public int getFunctionIndex(String name) {return name.hashCode();}

[Assistant] public int GetFunctionIndex(String name){return name.GetHashCode();}


public int hash2(char c) {int hash = 5381;hash = ((hash << 5) + hash) + c & 0x00FF;hash = ((hash << 5) + hash) + c >> 8;return hash;}

public virtual int Hash2(char c){int hash = 5381;hash = ((hash << 5) + hash) + c & 0x00FF;hash = ((hash << 5) + hash) + c >> 8;return hash;}

[User] public int hash2(char c) {int hash = 5381;hash = ((hash << 5) + hash) + c & 0x00FF;hash = ((hash << 5) + hash) + c >> 8;return hash;}

[Assistant] public virtual int Hash2(char c){int hash = 5381;hash = ((hash << 5) + hash) + c & 0x00FF;hash = ((hash << 5) + hash) + c >> 8;return hash;}


public void create(String id, String title, String time, String body) throws IOException {Path d = directory(count++, null);Files.createDirectories(d);Path f = d.resolve(id + ".txt");StringBuilder contents = new StringBuilder();contents.append(time);contents.append("\n\n");contents.append(title);contents.append("\n\n");contents.append(body);contents.append("\n");try (Writer writer = Files.newBufferedWriter(f, StandardCharsets.UTF_8)) {writer.write(contents.toString());}}

public virtual void Create(string id, string title, string time, string body){DirectoryInfo d = Directory(count++, null);d.Create();FileInfo f = new FileInfo(System.IO.Path.Combine(d.FullName, id + ".txt"));StringBuilder contents = new StringBuilder();contents.Append(time);contents.Append("\n\n");contents.Append(title);contents.Append("\n\n");contents.Append(body);contents.Append("\n");try{using (TextWriter writer = new StreamWriter(new FileStream(f.FullName, FileMode.Create, FileAccess.Write), Encoding.UTF8))writer.Write(contents.ToString());}catch (IOException ioe){throw new Exception(ioe.ToString(), ioe);}}

[User] public void create(String id, String title, String time, String body) throws IOException {Path d = directory(count++, null);Files.createDirectories(d);Path f = d.resolve(id + ".txt");StringBuilder contents = new StringBuilder();contents.append(time);contents.append("\n\n");contents.append(title);contents.append("\n\n");contents.append(body);contents.append("\n");try (Writer writer = Files.newBufferedWriter(f, StandardCharsets.UTF_8)) {writer.write(contents.toString());}}

[Assistant] public virtual void Create(string id, string title, string time, string body){DirectoryInfo d = Directory(count++, null);d.Create();FileInfo f = new FileInfo(System.IO.Path.Combine(d.FullName, id + ".txt"));StringBuilder contents = new StringBuilder();contents.Append(time);contents.Append("\n\n");contents.Append(title);contents.Append("\n\n");contents.Append(body);contents.Append("\n");try{using (TextWriter writer = new StreamWriter(new FileStream(f.FullName, FileMode.Create, FileAccess.Write), Encoding.UTF8))writer.Write(contents.ToString());}catch (IOException ioe){throw new Exception(ioe.ToString(), ioe);}}


public CharArrayWriter append(CharSequence csq) {if (csq == null) {csq = "null";}append(csq, 0, csq.length());return this;}

public override java.io.Writer append(java.lang.CharSequence csq){if (csq == null){csq = java.lang.CharSequenceProxy.Wrap("null");}append(csq, 0, csq.Length);return this;}

[User] public CharArrayWriter append(CharSequence csq) {if (csq == null) {csq = "null";}append(csq, 0, csq.length());return this;}

[Assistant] public override java.io.Writer append(java.lang.CharSequence csq){if (csq == null){csq = java.lang.CharSequenceProxy.Wrap("null");}append(csq, 0, csq.Length);return this;}


public PutAccountDedicatedIpWarmupAttributesResult putAccountDedicatedIpWarmupAttributes(PutAccountDedicatedIpWarmupAttributesRequest request) {request = beforeClientExecution(request);return executePutAccountDedicatedIpWarmupAttributes(request);}

public virtual PutAccountDedicatedIpWarmupAttributesResponse PutAccountDedicatedIpWarmupAttributes(PutAccountDedicatedIpWarmupAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutAccountDedicatedIpWarmupAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = PutAccountDedicatedIpWarmupAttributesResponseUnmarshaller.Instance;return Invoke<PutAccountDedicatedIpWarmupAttributesResponse>(request, options);}

[User] public PutAccountDedicatedIpWarmupAttributesResult putAccountDedicatedIpWarmupAttributes(PutAccountDedicatedIpWarmupAttributesRequest request) {request = beforeClientExecution(request);return executePutAccountDedicatedIpWarmupAttributes(request);}

[Assistant] public virtual PutAccountDedicatedIpWarmupAttributesResponse PutAccountDedicatedIpWarmupAttributes(PutAccountDedicatedIpWarmupAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutAccountDedicatedIpWarmupAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = PutAccountDedicatedIpWarmupAttributesResponseUnmarshaller.Instance;return Invoke<PutAccountDedicatedIpWarmupAttributesResponse>(request, options);}


public static boolean equal(Object a, Object b) {return a == b || (a != null && a.equals(b));}

public static bool equal(object a, object b){return a == b || (a != null && a.Equals(b));}

[User] public static boolean equal(Object a, Object b) {return a == b || (a != null && a.equals(b));}

[Assistant] public static bool equal(object a, object b){return a == b || (a != null && a.Equals(b));}


public RevFlag getUnshallowFlag() {return UNSHALLOW;}

public RevFlag GetUnshallowFlag(){return UNSHALLOW;}

[User] public RevFlag getUnshallowFlag() {return UNSHALLOW;}

[Assistant] public RevFlag GetUnshallowFlag(){return UNSHALLOW;}


public DescribeSolutionVersionResult describeSolutionVersion(DescribeSolutionVersionRequest request) {request = beforeClientExecution(request);return executeDescribeSolutionVersion(request);}

public virtual DescribeSolutionVersionResponse DescribeSolutionVersion(DescribeSolutionVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeSolutionVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeSolutionVersionResponseUnmarshaller.Instance;return Invoke<DescribeSolutionVersionResponse>(request, options);}

[User] public DescribeSolutionVersionResult describeSolutionVersion(DescribeSolutionVersionRequest request) {request = beforeClientExecution(request);return executeDescribeSolutionVersion(request);}

[Assistant] public virtual DescribeSolutionVersionResponse DescribeSolutionVersion(DescribeSolutionVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeSolutionVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeSolutionVersionResponseUnmarshaller.Instance;return Invoke<DescribeSolutionVersionResponse>(request, options);}


public byte[] getBuffer() {return file.buf;}

public virtual byte[] GetBuffer(){return file.buf;}

[User] public byte[] getBuffer() {return file.buf;}

[Assistant] public virtual byte[] GetBuffer(){return file.buf;}


public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[WRITEACCESS]\n");buffer.append("    .name = ").append(field_1_username).append("\n");buffer.append("[/WRITEACCESS]\n");return buffer.toString();}

public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[WriteACCESS]\n");buffer.Append("    .name            = ").Append(field_1_username).Append("\n");buffer.Append("[/WriteACCESS]\n");return buffer.ToString();}

[User] public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[WRITEACCESS]\n");buffer.append("    .name = ").append(field_1_username).append("\n");buffer.append("[/WRITEACCESS]\n");return buffer.toString();}

[Assistant] public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[WriteACCESS]\n");buffer.Append("    .name            = ").Append(field_1_username).Append("\n");buffer.Append("[/WriteACCESS]\n");return buffer.ToString();}


public ModifyFpgaImageAttributeResult modifyFpgaImageAttribute(ModifyFpgaImageAttributeRequest request) {request = beforeClientExecution(request);return executeModifyFpgaImageAttribute(request);}

public virtual ModifyFpgaImageAttributeResponse ModifyFpgaImageAttribute(ModifyFpgaImageAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyFpgaImageAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyFpgaImageAttributeResponseUnmarshaller.Instance;return Invoke<ModifyFpgaImageAttributeResponse>(request, options);}

[User] public ModifyFpgaImageAttributeResult modifyFpgaImageAttribute(ModifyFpgaImageAttributeRequest request) {request = beforeClientExecution(request);return executeModifyFpgaImageAttribute(request);}

[Assistant] public virtual ModifyFpgaImageAttributeResponse ModifyFpgaImageAttribute(ModifyFpgaImageAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyFpgaImageAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyFpgaImageAttributeResponseUnmarshaller.Instance;return Invoke<ModifyFpgaImageAttributeResponse>(request, options);}


public SubmoduleUpdateCommand(Repository repo) {super(repo);paths = new ArrayList<>();}

protected internal SubmoduleUpdateCommand(Repository repo) : base(repo){paths = new AList<string>();}

[User] public SubmoduleUpdateCommand(Repository repo) {super(repo);paths = new ArrayList<>();}

[Assistant] protected internal SubmoduleUpdateCommand(Repository repo) : base(repo){paths = new AList<string>();}


public boolean isKnown() {return type == Type.KNOWN;}

public virtual bool IsKnown(){return type == JapaneseTokenizerType.KNOWN;}

[User] public boolean isKnown() {return type == Type.KNOWN;}

[Assistant] public virtual bool IsKnown(){return type == JapaneseTokenizerType.KNOWN;}


public long get(int index) {final int o = index / 10;final int b = index % 10;final int shift = b * 6;return (blocks[o] >>> shift) & 63L;}

public override long Get(int index){int o = index / 10;int b = index % 10;int shift = b * 6;return ((long)((ulong)blocks[o] >> shift)) & 63L;}

[User] public long get(int index) {final int o = index / 10;final int b = index % 10;final int shift = b * 6;return (blocks[o] >>> shift) & 63L;}

[Assistant] public override long Get(int index){int o = index / 10;int b = index % 10;int shift = b * 6;return ((long)((ulong)blocks[o] >> shift)) & 63L;}


public void setValue(byte value) {setValue(FormulaError.forInt(value));}

public void SetValue(bool value){_value = value ? 1 : 0;_isError = false;}

[User] public void setValue(byte value) {setValue(FormulaError.forInt(value));}

[Assistant] public void SetValue(bool value){_value = value ? 1 : 0;_isError = false;}


public virtual int getCodePoint(){return c;}

[User] public int getCodePoint() {return c;}

[Assistant] public virtual int getCodePoint(){return c;}


public GetDocumentationVersionsResult getDocumentationVersions(GetDocumentationVersionsRequest request) {request = beforeClientExecution(request);return executeGetDocumentationVersions(request);}

public virtual GetDocumentationVersionsResponse GetDocumentationVersions(GetDocumentationVersionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDocumentationVersionsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDocumentationVersionsResponseUnmarshaller.Instance;return Invoke<GetDocumentationVersionsResponse>(request, options);}

[User] public GetDocumentationVersionsResult getDocumentationVersions(GetDocumentationVersionsRequest request) {request = beforeClientExecution(request);return executeGetDocumentationVersions(request);}

[Assistant] public virtual GetDocumentationVersionsResponse GetDocumentationVersions(GetDocumentationVersionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDocumentationVersionsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDocumentationVersionsResponseUnmarshaller.Instance;return Invoke<GetDocumentationVersionsResponse>(request, options);}


public int indexOfKey(int key) {if (mGarbage) {gc();}return binarySearch(mKeys, 0, mSize, key);}

public virtual int indexOfKey(int key){if (mGarbage){gc();}return binarySearch(mKeys, 0, mSize, key);}

[User] public int indexOfKey(int key) {if (mGarbage) {gc();}return binarySearch(mKeys, 0, mSize, key);}

[Assistant] public virtual int indexOfKey(int key){if (mGarbage){gc();}return binarySearch(mKeys, 0, mSize, key);}


public void reportError(Parser recognizer,RecognitionException e){if (inErrorRecoveryMode(recognizer)) {return; }beginErrorCondition(recognizer);if ( e instanceof NoViableAltException ) {reportNoViableAlternative(recognizer, (NoViableAltException) e);}else if ( e instanceof InputMismatchException ) {reportInputMismatch(recognizer, (InputMismatchException)e);}else if ( e instanceof FailedPredicateException ) {reportFailedPredicate(recognizer, (FailedPredicateException)e);}else {System.err.println("unknown recognition error type: "+e.getClass().getName());recognizer.notifyErrorListeners(e.getOffendingToken(), e.getMessage(), e);}}

public virtual void ReportError(Parser recognizer, RecognitionException e){if (InErrorRecoveryMode(recognizer)){return;}BeginErrorCondition(recognizer);if (e is NoViableAltException){ReportNoViableAlternative(recognizer, (NoViableAltException)e);}else{if (e is InputMismatchException){ReportInputMismatch(recognizer, (InputMismatchException)e);}else{if (e is FailedPredicateException){ReportFailedPredicate(recognizer, (FailedPredicateException)e);}else{#if !PORTABLESystem.Console.Error.WriteLine("unknown recognition error type: " + e.GetType().FullName);#endifNotifyErrorListeners(recognizer, e.Message, e);}}}}

[User] public void reportError(Parser recognizer,RecognitionException e){if (inErrorRecoveryMode(recognizer)) {return; }beginErrorCondition(recognizer);if ( e instanceof NoViableAltException ) {reportNoViableAlternative(recognizer, (NoViableAltException) e);}else if ( e instanceof InputMismatchException ) {reportInputMismatch(recognizer, (InputMismatchException)e);}else if ( e instanceof FailedPredicateException ) {reportFailedPredicate(recognizer, (FailedPredicateException)e);}else {System.err.println("unknown recognition error type: "+e.getClass().getName());recognizer.notifyErrorListeners(e.getOffendingToken(), e.getMessage(), e);}}

[Assistant] public virtual void ReportError(Parser recognizer, RecognitionException e){if (InErrorRecoveryMode(recognizer)){return;}BeginErrorCondition(recognizer);if (e is NoViableAltException){ReportNoViableAlternative(recognizer, (NoViableAltException)e);}else{if (e is InputMismatchException){ReportInputMismatch(recognizer, (InputMismatchException)e);}else{if (e is FailedPredicateException){ReportFailedPredicate(recognizer, (FailedPredicateException)e);}else{#if !PORTABLESystem.Console.Error.WriteLine("unknown recognition error type: " + e.GetType().FullName);#endifNotifyErrorListeners(recognizer, e.Message, e);}}}}


public ConstantStringFormat(String s) {str = s;}

public ConstantStringFormat(String s){str = s;}

[User] public ConstantStringFormat(String s) {str = s;}

[Assistant] public ConstantStringFormat(String s){str = s;}


public DoubleBuffer asReadOnlyBuffer() {return ReadOnlyDoubleArrayBuffer.copy(this, mark);}

public override java.nio.DoubleBuffer asReadOnlyBuffer(){return java.nio.ReadOnlyDoubleArrayBuffer.copy(this, _mark);}

[User] public DoubleBuffer asReadOnlyBuffer() {return ReadOnlyDoubleArrayBuffer.copy(this, mark);}

[Assistant] public override java.nio.DoubleBuffer asReadOnlyBuffer(){return java.nio.ReadOnlyDoubleArrayBuffer.copy(this, _mark);}


public CacheCluster deleteCacheCluster(DeleteCacheClusterRequest request) {request = beforeClientExecution(request);return executeDeleteCacheCluster(request);}

public virtual DeleteCacheClusterResponse DeleteCacheCluster(DeleteCacheClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteCacheClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteCacheClusterResponseUnmarshaller.Instance;return Invoke<DeleteCacheClusterResponse>(request, options);}

[User] public CacheCluster deleteCacheCluster(DeleteCacheClusterRequest request) {request = beforeClientExecution(request);return executeDeleteCacheCluster(request);}

[Assistant] public virtual DeleteCacheClusterResponse DeleteCacheCluster(DeleteCacheClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteCacheClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteCacheClusterResponseUnmarshaller.Instance;return Invoke<DeleteCacheClusterResponse>(request, options);}


public ModifyClusterSnapshotScheduleResult modifyClusterSnapshotSchedule(ModifyClusterSnapshotScheduleRequest request) {request = beforeClientExecution(request);return executeModifyClusterSnapshotSchedule(request);}

public virtual ModifyClusterSnapshotScheduleResponse ModifyClusterSnapshotSchedule(ModifyClusterSnapshotScheduleRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyClusterSnapshotScheduleRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyClusterSnapshotScheduleResponseUnmarshaller.Instance;return Invoke<ModifyClusterSnapshotScheduleResponse>(request, options);}

[User] public ModifyClusterSnapshotScheduleResult modifyClusterSnapshotSchedule(ModifyClusterSnapshotScheduleRequest request) {request = beforeClientExecution(request);return executeModifyClusterSnapshotSchedule(request);}

[Assistant] public virtual ModifyClusterSnapshotScheduleResponse ModifyClusterSnapshotSchedule(ModifyClusterSnapshotScheduleRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyClusterSnapshotScheduleRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyClusterSnapshotScheduleResponseUnmarshaller.Instance;return Invoke<ModifyClusterSnapshotScheduleResponse>(request, options);}


public InitCommand setBare(boolean bare) {validateDirs(directory, gitDir, bare);this.bare = bare;return this;}

public virtual InitCommand SetBare(bool bare){this.bare = bare;return this;}

[User] public InitCommand setBare(boolean bare) {validateDirs(directory, gitDir, bare);this.bare = bare;return this;}

[Assistant] public virtual InitCommand SetBare(bool bare){this.bare = bare;return this;}


public TermsEnumWithSlice(int index, ReaderSlice subSlice) {this.subSlice = subSlice;this.index = index;assert subSlice.length >= 0: "length=" + subSlice.length;}

public TermsEnumWithSlice(int index, ReaderSlice subSlice){this.SubSlice = subSlice;this.Index = index;Debug.Assert(subSlice.Length >= 0, "length=" + subSlice.Length);}

[User] public TermsEnumWithSlice(int index, ReaderSlice subSlice) {this.subSlice = subSlice;this.index = index;assert subSlice.length >= 0: "length=" + subSlice.length;}

[Assistant] public TermsEnumWithSlice(int index, ReaderSlice subSlice){this.SubSlice = subSlice;this.Index = index;Debug.Assert(subSlice.Length >= 0, "length=" + subSlice.Length);}


public UserSViewEnd(byte[] data) {_rawData = data;}

public UserSViewEnd(byte[] data){_rawData = data;}

[User] public UserSViewEnd(byte[] data) {_rawData = data;}

[Assistant] public UserSViewEnd(byte[] data){_rawData = data;}


public SetIdentityPoolRolesResult setIdentityPoolRoles(SetIdentityPoolRolesRequest request) {request = beforeClientExecution(request);return executeSetIdentityPoolRoles(request);}

public virtual SetIdentityPoolRolesResponse SetIdentityPoolRoles(SetIdentityPoolRolesRequest request){var options = new InvokeOptions();options.RequestMarshaller = SetIdentityPoolRolesRequestMarshaller.Instance;options.ResponseUnmarshaller = SetIdentityPoolRolesResponseUnmarshaller.Instance;return Invoke<SetIdentityPoolRolesResponse>(request, options);}

[User] public SetIdentityPoolRolesResult setIdentityPoolRoles(SetIdentityPoolRolesRequest request) {request = beforeClientExecution(request);return executeSetIdentityPoolRoles(request);}

[Assistant] public virtual SetIdentityPoolRolesResponse SetIdentityPoolRoles(SetIdentityPoolRolesRequest request){var options = new InvokeOptions();options.RequestMarshaller = SetIdentityPoolRolesRequestMarshaller.Instance;options.ResponseUnmarshaller = SetIdentityPoolRolesResponseUnmarshaller.Instance;return Invoke<SetIdentityPoolRolesResponse>(request, options);}


public Vector( short type ) {this._type = type;}

public Vector(short type){this._type = type;}

[User] public Vector( short type ) {this._type = type;}

[Assistant] public Vector(short type){this._type = type;}


public GetEndpointResult getEndpoint(GetEndpointRequest request) {request = beforeClientExecution(request);return executeGetEndpoint(request);}

public virtual GetEndpointResponse GetEndpoint(GetEndpointRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetEndpointRequestMarshaller.Instance;options.ResponseUnmarshaller = GetEndpointResponseUnmarshaller.Instance;return Invoke<GetEndpointResponse>(request, options);}

[User] public GetEndpointResult getEndpoint(GetEndpointRequest request) {request = beforeClientExecution(request);return executeGetEndpoint(request);}

[Assistant] public virtual GetEndpointResponse GetEndpoint(GetEndpointRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetEndpointRequestMarshaller.Instance;options.ResponseUnmarshaller = GetEndpointResponseUnmarshaller.Instance;return Invoke<GetEndpointResponse>(request, options);}


public Builder add(int docId) {if (docId <= lastDocId) {throw new IllegalArgumentException("Doc ids must be added in-order, got " + docId + " which is <= lastDocID=" + lastDocId);}final int block = docId >>> 16;if (block != currentBlock) {flush();currentBlock = block;}if (currentBlockCardinality < MAX_ARRAY_LENGTH) {buffer[currentBlockCardinality] = (short) docId;} else {if (denseBuffer == null) {final int numBits = Math.min(1 << 16, maxDoc - (block << 16));denseBuffer = new FixedBitSet(numBits);for (short doc : buffer) {denseBuffer.set(doc & 0xFFFF);}}denseBuffer.set(docId & 0xFFFF);}lastDocId = docId;currentBlockCardinality += 1;return this;}

public Builder Add(int docID){if (docID <= lastDocID){throw new System.ArgumentException("Doc ids must be added in-order, got " + docID + " which is <= lastDocID=" + lastDocID);}int wordNum = WordNum(docID);if (this.wordNum == -1){this.wordNum = wordNum;word = 1 << (docID & 0x07);}else if (wordNum == this.wordNum){word |= 1 << (docID & 0x07);}else{AddWord(this.wordNum, (byte)word);this.wordNum = wordNum;word = 1 << (docID & 0x07);}lastDocID = docID;return this;}

[User] public Builder add(int docId) {if (docId <= lastDocId) {throw new IllegalArgumentException("Doc ids must be added in-order, got " + docId + " which is <= lastDocID=" + lastDocId);}final int block = docId >>> 16;if (block != currentBlock) {flush();currentBlock = block;}if (currentBlockCardinality < MAX_ARRAY_LENGTH) {buffer[currentBlockCardinality] = (short) docId;} else {if (denseBuffer == null) {final int numBits = Math.min(1 << 16, maxDoc - (block << 16));denseBuffer = new FixedBitSet(numBits);for (short doc : buffer) {denseBuffer.set(doc & 0xFFFF);}}denseBuffer.set(docId & 0xFFFF);}lastDocId = docId;currentBlockCardinality += 1;return this;}

[Assistant] public Builder Add(int docID){if (docID <= lastDocID){throw new System.ArgumentException("Doc ids must be added in-order, got " + docID + " which is <= lastDocID=" + lastDocID);}int wordNum = WordNum(docID);if (this.wordNum == -1){this.wordNum = wordNum;word = 1 << (docID & 0x07);}else if (wordNum == this.wordNum){word |= 1 << (docID & 0x07);}else{AddWord(this.wordNum, (byte)word);this.wordNum = wordNum;word = 1 << (docID & 0x07);}lastDocID = docID;return this;}


public boolean matches(int symbol, int minVocabSymbol, int maxVocabSymbol) {return false;}

public override bool Matches(int symbol, int minVocabSymbol, int maxVocabSymbol){return false;}

[User] public boolean matches(int symbol, int minVocabSymbol, int maxVocabSymbol) {return false;}

[Assistant] public override bool Matches(int symbol, int minVocabSymbol, int maxVocabSymbol){return false;}


public DescribeClustersResult describeClusters(DescribeClustersRequest request) {request = beforeClientExecution(request);return executeDescribeClusters(request);}

public virtual DescribeClustersResponse DescribeClusters(DescribeClustersRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClustersRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClustersResponseUnmarshaller.Instance;return Invoke<DescribeClustersResponse>(request, options);}

[User] public DescribeClustersResult describeClusters(DescribeClustersRequest request) {request = beforeClientExecution(request);return executeDescribeClusters(request);}

[Assistant] public virtual DescribeClustersResponse DescribeClusters(DescribeClustersRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClustersRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClustersResponseUnmarshaller.Instance;return Invoke<DescribeClustersResponse>(request, options);}


public Trie reduce(Reduce by) {List<Trie> h = new ArrayList<>();for (Trie trie : tries)h.add(trie.reduce(by));MultiTrie2 m = new MultiTrie2(forward);m.tries = h;return m;}

public override Trie Reduce(Reduce by){List<Trie> h = new List<Trie>();foreach (Trie trie in m_tries)h.Add(trie.Reduce(by));MultiTrie2 m = new MultiTrie2(forward);m.m_tries = h;return m;}

[User] public Trie reduce(Reduce by) {List<Trie> h = new ArrayList<>();for (Trie trie : tries)h.add(trie.reduce(by));MultiTrie2 m = new MultiTrie2(forward);m.tries = h;return m;}

[Assistant] public override Trie Reduce(Reduce by){List<Trie> h = new List<Trie>();foreach (Trie trie in m_tries)h.Add(trie.Reduce(by));MultiTrie2 m = new MultiTrie2(forward);m.m_tries = h;return m;}


public CellRangeAddressBase getCategoryLabelsCellRange() {return getCellRange(dataCategoryLabels);}

public CellRangeAddressBase GetCategoryLabelsCellRange(){return GetCellRange(dataCategoryLabels);}

[User] public CellRangeAddressBase getCategoryLabelsCellRange() {return getCellRange(dataCategoryLabels);}

[Assistant] public CellRangeAddressBase GetCategoryLabelsCellRange(){return GetCellRange(dataCategoryLabels);}


public virtual string GetPass(){return pass;}

[User] public String getPass() {return pass;}

[Assistant] public virtual string GetPass(){return pass;}


public synchronized Set<Entry<K, V>> entrySet() {Set<Entry<K, V>> es = entrySet;return (es != null) ? es : (entrySet = new EntrySet());}

public virtual java.util.Set<java.util.MapClass.Entry<K, V>> entrySet(){lock (this){java.util.Set<java.util.MapClass.Entry<K, V>> es = _entrySet;return (es != null) ? es : (_entrySet = new java.util.Hashtable<K, V>.EntrySet(this));}}

[User] public synchronized Set<Entry<K, V>> entrySet() {Set<Entry<K, V>> es = entrySet;return (es != null) ? es : (entrySet = new EntrySet());}

[Assistant] public virtual java.util.Set<java.util.MapClass.Entry<K, V>> entrySet(){lock (this){java.util.Set<java.util.MapClass.Entry<K, V>> es = _entrySet;return (es != null) ? es : (_entrySet = new java.util.Hashtable<K, V>.EntrySet(this));}}


public static String toFormulaString(HSSFWorkbook book, Ptg[] ptgs) {return FormulaRenderer.toFormulaString(HSSFEvaluationWorkbook.create(book), ptgs);}

public static String ToFormulaString(HSSFWorkbook book, Ptg[] ptgs){return FormulaRenderer.ToFormulaString(HSSFEvaluationWorkbook.Create(book), ptgs);}

[User] public static String toFormulaString(HSSFWorkbook book, Ptg[] ptgs) {return FormulaRenderer.toFormulaString(HSSFEvaluationWorkbook.create(book), ptgs);}

[Assistant] public static String ToFormulaString(HSSFWorkbook book, Ptg[] ptgs){return FormulaRenderer.ToFormulaString(HSSFEvaluationWorkbook.Create(book), ptgs);}


public CharBuffer slice() {return new CharSequenceAdapter(sequence.subSequence(position, limit));}

public override java.nio.CharBuffer slice(){return new java.nio.CharSequenceAdapter(sequence.SubSequence(_position, _limit));}

[User] public CharBuffer slice() {return new CharSequenceAdapter(sequence.subSequence(position, limit));}

[Assistant] public override java.nio.CharBuffer slice(){return new java.nio.CharSequenceAdapter(sequence.SubSequence(_position, _limit));}


public UpdateBusinessReportScheduleResult updateBusinessReportSchedule(UpdateBusinessReportScheduleRequest request) {request = beforeClientExecution(request);return executeUpdateBusinessReportSchedule(request);}

public virtual UpdateBusinessReportScheduleResponse UpdateBusinessReportSchedule(UpdateBusinessReportScheduleRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateBusinessReportScheduleRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateBusinessReportScheduleResponseUnmarshaller.Instance;return Invoke<UpdateBusinessReportScheduleResponse>(request, options);}

[User] public UpdateBusinessReportScheduleResult updateBusinessReportSchedule(UpdateBusinessReportScheduleRequest request) {request = beforeClientExecution(request);return executeUpdateBusinessReportSchedule(request);}

[Assistant] public virtual UpdateBusinessReportScheduleResponse UpdateBusinessReportSchedule(UpdateBusinessReportScheduleRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateBusinessReportScheduleRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateBusinessReportScheduleResponseUnmarshaller.Instance;return Invoke<UpdateBusinessReportScheduleResponse>(request, options);}


public void append(byte[] nameBuf, int namePos, int nameLen, FileMode mode,byte[] idBuf, int idPos) {if (fmtBuf(nameBuf, namePos, nameLen, mode)) {System.arraycopy(idBuf, idPos, buf, ptr, OBJECT_ID_LENGTH);ptr += OBJECT_ID_LENGTH;} else {try {fmtOverflowBuffer(nameBuf, namePos, nameLen, mode);overflowBuffer.write(idBuf, idPos, OBJECT_ID_LENGTH);} catch (IOException badBuffer) {throw new RuntimeException(badBuffer);}}}

public virtual void Append(byte[] nameBuf, int namePos, int nameLen, FileMode mode, byte[] idBuf, int idPos){if (FmtBuf(nameBuf, namePos, nameLen, mode)){System.Array.Copy(idBuf, idPos, buf, ptr, Constants.OBJECT_ID_LENGTH);ptr += Constants.OBJECT_ID_LENGTH;}else{try{FmtOverflowBuffer(nameBuf, namePos, nameLen, mode);overflowBuffer.Write(idBuf, idPos, Constants.OBJECT_ID_LENGTH);}catch (IOException badBuffer){throw new RuntimeException(badBuffer);}}}

[User] public void append(byte[] nameBuf, int namePos, int nameLen, FileMode mode,byte[] idBuf, int idPos) {if (fmtBuf(nameBuf, namePos, nameLen, mode)) {System.arraycopy(idBuf, idPos, buf, ptr, OBJECT_ID_LENGTH);ptr += OBJECT_ID_LENGTH;} else {try {fmtOverflowBuffer(nameBuf, namePos, nameLen, mode);overflowBuffer.write(idBuf, idPos, OBJECT_ID_LENGTH);} catch (IOException badBuffer) {throw new RuntimeException(badBuffer);}}}

[Assistant] public virtual void Append(byte[] nameBuf, int namePos, int nameLen, FileMode mode, byte[] idBuf, int idPos){if (FmtBuf(nameBuf, namePos, nameLen, mode)){System.Array.Copy(idBuf, idPos, buf, ptr, Constants.OBJECT_ID_LENGTH);ptr += Constants.OBJECT_ID_LENGTH;}else{try{FmtOverflowBuffer(nameBuf, namePos, nameLen, mode);overflowBuffer.Write(idBuf, idPos, Constants.OBJECT_ID_LENGTH);}catch (IOException badBuffer){throw new RuntimeException(badBuffer);}}}


public CreateSpotDatafeedSubscriptionResult createSpotDatafeedSubscription(CreateSpotDatafeedSubscriptionRequest request) {request = beforeClientExecution(request);return executeCreateSpotDatafeedSubscription(request);}

public virtual CreateSpotDatafeedSubscriptionResponse CreateSpotDatafeedSubscription(CreateSpotDatafeedSubscriptionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateSpotDatafeedSubscriptionRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateSpotDatafeedSubscriptionResponseUnmarshaller.Instance;return Invoke<CreateSpotDatafeedSubscriptionResponse>(request, options);}

[User] public CreateSpotDatafeedSubscriptionResult createSpotDatafeedSubscription(CreateSpotDatafeedSubscriptionRequest request) {request = beforeClientExecution(request);return executeCreateSpotDatafeedSubscription(request);}

[Assistant] public virtual CreateSpotDatafeedSubscriptionResponse CreateSpotDatafeedSubscription(CreateSpotDatafeedSubscriptionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateSpotDatafeedSubscriptionRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateSpotDatafeedSubscriptionResponseUnmarshaller.Instance;return Invoke<CreateSpotDatafeedSubscriptionResponse>(request, options);}


public final long length() {return count;}

[User] public final long length() {return count;}

[Assistant] public long Length(){return count;}


public CreateSkillGroupResult createSkillGroup(CreateSkillGroupRequest request) {request = beforeClientExecution(request);return executeCreateSkillGroup(request);}

public virtual CreateSkillGroupResponse CreateSkillGroup(CreateSkillGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateSkillGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateSkillGroupResponseUnmarshaller.Instance;return Invoke<CreateSkillGroupResponse>(request, options);}

[User] public CreateSkillGroupResult createSkillGroup(CreateSkillGroupRequest request) {request = beforeClientExecution(request);return executeCreateSkillGroup(request);}

[Assistant] public virtual CreateSkillGroupResponse CreateSkillGroup(CreateSkillGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateSkillGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateSkillGroupResponseUnmarshaller.Instance;return Invoke<CreateSkillGroupResponse>(request, options);}


public int getRightId(int wordId) {return RIGHT_ID;}

public int GetRightId(int wordId){return RIGHT_ID;}

[User] public int getRightId(int wordId) {return RIGHT_ID;}

[Assistant] public int GetRightId(int wordId){return RIGHT_ID;}


public void setRetainBody(boolean retain) {retainBody = retain;}

public virtual void SetRetainBody(bool retain){retainBody = retain;}

[User] public void setRetainBody(boolean retain) {retainBody = retain;}

[Assistant] public virtual void SetRetainBody(bool retain){retainBody = retain;}


[User] public final void reset() {len =0;}

[Assistant] public void Reset(){m_len = 0;}


public StringBuilder insert(int offset, boolean b) {insert0(offset, b ? "true" : "false");return this;}

public java.lang.StringBuilder insert(int offset, bool b){insert0(offset, b ? "true" : "false");return this;}

[User] public StringBuilder insert(int offset, boolean b) {insert0(offset, b ? "true" : "false");return this;}

[Assistant] public java.lang.StringBuilder insert(int offset, bool b){insert0(offset, b ? "true" : "false");return this;}


public static boolean isWhitespace(byte c) {return WHITESPACE[c & 0xff];}

public static bool IsWhitespace(byte c){return WHITESPACE[c & unchecked((int)(0xff))];}

[User] public static boolean isWhitespace(byte c) {return WHITESPACE[c & 0xff];}

[Assistant] public static bool IsWhitespace(byte c){return WHITESPACE[c & unchecked((int)(0xff))];}


public DescribeSessionsResult describeSessions(DescribeSessionsRequest request) {request = beforeClientExecution(request);return executeDescribeSessions(request);}

public virtual DescribeSessionsResponse DescribeSessions(DescribeSessionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeSessionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeSessionsResponseUnmarshaller.Instance;return Invoke<DescribeSessionsResponse>(request, options);}

[User] public DescribeSessionsResult describeSessions(DescribeSessionsRequest request) {request = beforeClientExecution(request);return executeDescribeSessions(request);}

[Assistant] public virtual DescribeSessionsResponse DescribeSessions(DescribeSessionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeSessionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeSessionsResponseUnmarshaller.Instance;return Invoke<DescribeSessionsResponse>(request, options);}


public DescribeLocalGatewayVirtualInterfaceGroupsResult describeLocalGatewayVirtualInterfaceGroups(DescribeLocalGatewayVirtualInterfaceGroupsRequest request) {request = beforeClientExecution(request);return executeDescribeLocalGatewayVirtualInterfaceGroups(request);}

public virtual DescribeLocalGatewayVirtualInterfaceGroupsResponse DescribeLocalGatewayVirtualInterfaceGroups(DescribeLocalGatewayVirtualInterfaceGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLocalGatewayVirtualInterfaceGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLocalGatewayVirtualInterfaceGroupsResponseUnmarshaller.Instance;return Invoke<DescribeLocalGatewayVirtualInterfaceGroupsResponse>(request, options);}

[User] public DescribeLocalGatewayVirtualInterfaceGroupsResult describeLocalGatewayVirtualInterfaceGroups(DescribeLocalGatewayVirtualInterfaceGroupsRequest request) {request = beforeClientExecution(request);return executeDescribeLocalGatewayVirtualInterfaceGroups(request);}

[Assistant] public virtual DescribeLocalGatewayVirtualInterfaceGroupsResponse DescribeLocalGatewayVirtualInterfaceGroups(DescribeLocalGatewayVirtualInterfaceGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLocalGatewayVirtualInterfaceGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLocalGatewayVirtualInterfaceGroupsResponseUnmarshaller.Instance;return Invoke<DescribeLocalGatewayVirtualInterfaceGroupsResponse>(request, options);}


public static String pathToString(String dim, String[] path) {String[] fullPath = new String[1+path.length];fullPath[0] = dim;System.arraycopy(path, 0, fullPath, 1, path.length);return pathToString(fullPath, fullPath.length);}

public static string PathToString(string dim, string[] path){string[] fullPath = new string[1 + path.Length];fullPath[0] = dim;Array.Copy(path, 0, fullPath, 1, path.Length);return PathToString(fullPath, fullPath.Length);}

[User] public static String pathToString(String dim, String[] path) {String[] fullPath = new String[1+path.length];fullPath[0] = dim;System.arraycopy(path, 0, fullPath, 1, path.length);return pathToString(fullPath, fullPath.length);}

[Assistant] public static string PathToString(string dim, string[] path){string[] fullPath = new string[1 + path.Length];fullPath[0] = dim;Array.Copy(path, 0, fullPath, 1, path.Length);return PathToString(fullPath, fullPath.Length);}


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 >>> 6) & 3;values[valuesOffset++] = (block >>> 4) & 3;values[valuesOffset++] = (block >>> 2) & 3;values[valuesOffset++] = block & 3;}}

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 >> 6)) & 3;values[valuesOffset++] = ((int)((uint)block >> 4)) & 3;values[valuesOffset++] = ((int)((uint)block >> 2)) & 3;values[valuesOffset++] = block & 3;}}

[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 >>> 6) & 3;values[valuesOffset++] = (block >>> 4) & 3;values[valuesOffset++] = (block >>> 2) & 3;values[valuesOffset++] = block & 3;}}

[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 >> 6)) & 3;values[valuesOffset++] = ((int)((uint)block >> 4)) & 3;values[valuesOffset++] = ((int)((uint)block >> 2)) & 3;values[valuesOffset++] = block & 3;}}


public SignalResourceResult signalResource(SignalResourceRequest request) {request = beforeClientExecution(request);return executeSignalResource(request);}

public virtual SignalResourceResponse SignalResource(SignalResourceRequest request){var options = new InvokeOptions();options.RequestMarshaller = SignalResourceRequestMarshaller.Instance;options.ResponseUnmarshaller = SignalResourceResponseUnmarshaller.Instance;return Invoke<SignalResourceResponse>(request, options);}

[User] public SignalResourceResult signalResource(SignalResourceRequest request) {request = beforeClientExecution(request);return executeSignalResource(request);}

[Assistant] public virtual SignalResourceResponse SignalResource(SignalResourceRequest request){var options = new InvokeOptions();options.RequestMarshaller = SignalResourceRequestMarshaller.Instance;options.ResponseUnmarshaller = SignalResourceResponseUnmarshaller.Instance;return Invoke<SignalResourceResponse>(request, options);}


public int getPasswordVerifier() {return passwordVerifier;}

public int GetPasswordVerifier(){return passwordVerifier;}

[User] public int getPasswordVerifier() {return passwordVerifier;}

[Assistant] public int GetPasswordVerifier(){return passwordVerifier;}


public void copy(MutableValue source) {MutableValueDouble s = (MutableValueDouble) source;value = s.value;exists = s.exists;}

public override void Copy(MutableValue source){MutableValueDouble s = (MutableValueDouble)source;Value = s.Value;Exists = s.Exists;}

[User] public void copy(MutableValue source) {MutableValueDouble s = (MutableValueDouble) source;value = s.value;exists = s.exists;}

[Assistant] public override void Copy(MutableValue source){MutableValueDouble s = (MutableValueDouble)source;Value = s.Value;Exists = s.Exists;}


public int read(byte[] buffer, int offset, int length) throws IOException {Arrays.checkOffsetAndCount(buffer.length, offset, length);for (int i = 0; i < length; i++) {int c;try {if ((c = read()) == -1) {return i == 0 ? -1 : i;}} catch (IOException e) {if (i != 0) {return i;}throw e;}buffer[offset + i] = (byte) c;}return length;}

public virtual int read(byte[] buffer, int offset, int length){java.util.Arrays.checkOffsetAndCount(buffer.Length, offset, length);{for (int i = 0; i < length; i++){int c;try{if ((c = read()) == -1){return i == 0 ? -1 : i;}}catch (System.IO.IOException e){if (i != 0){return i;}throw;}buffer[offset + i] = unchecked((byte)c);}}return length;}

[User] public int read(byte[] buffer, int offset, int length) throws IOException {Arrays.checkOffsetAndCount(buffer.length, offset, length);for (int i = 0; i < length; i++) {int c;try {if ((c = read()) == -1) {return i == 0 ? -1 : i;}} catch (IOException e) {if (i != 0) {return i;}throw e;}buffer[offset + i] = (byte) c;}return length;}

[Assistant] public virtual int read(byte[] buffer, int offset, int length){java.util.Arrays.checkOffsetAndCount(buffer.Length, offset, length);{for (int i = 0; i < length; i++){int c;try{if ((c = read()) == -1){return i == 0 ? -1 : i;}}catch (System.IO.IOException e){if (i != 0){return i;}throw;}buffer[offset + i] = unchecked((byte)c);}}return length;}


public TreeFilter getPathFilter() {return pathFilter;}

public virtual TreeFilter GetPathFilter(){return pathFilter;}

[User] public TreeFilter getPathFilter() {return pathFilter;}

[Assistant] public virtual TreeFilter GetPathFilter(){return pathFilter;}


public CalcCountRecord(RecordInputStream in) {field_1_iterations = in.readShort();}

public CalcCountRecord(RecordInputStream in1){field_1_iterations = in1.ReadShort();}

[User] public CalcCountRecord(RecordInputStream in) {field_1_iterations = in.readShort();}

[Assistant] public CalcCountRecord(RecordInputStream in1){field_1_iterations = in1.ReadShort();}


public DescribeVaultRequest(String vaultName) {setVaultName(vaultName);}

public DescribeVaultRequest(string vaultName){_vaultName = vaultName;}

[User] public DescribeVaultRequest(String vaultName) {setVaultName(vaultName);}

[Assistant] public DescribeVaultRequest(string vaultName){_vaultName = vaultName;}


public final double get() {if (position == limit) {throw new BufferUnderflowException();}return backingArray[offset + position++];}

public sealed override double get(){if (_position == _limit){throw new java.nio.BufferUnderflowException();}return backingArray[offset + _position++];}

[User] public final double get() {if (position == limit) {throw new BufferUnderflowException();}return backingArray[offset + position++];}

[Assistant] public sealed override double get(){if (_position == _limit){throw new java.nio.BufferUnderflowException();}return backingArray[offset + _position++];}


public final void write(char[] b) {write(b,0,b.length);}

public void Write(char[] b){Write(b, 0, b.Length);}

[User] public final void write(char[] b) {write(b,0,b.length);}

[Assistant] public void Write(char[] b){Write(b, 0, b.Length);}


public DeleteTagsForDomainResult deleteTagsForDomain(DeleteTagsForDomainRequest request) {request = beforeClientExecution(request);return executeDeleteTagsForDomain(request);}

public virtual DeleteTagsForDomainResponse DeleteTagsForDomain(DeleteTagsForDomainRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteTagsForDomainRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteTagsForDomainResponseUnmarshaller.Instance;return Invoke<DeleteTagsForDomainResponse>(request, options);}

[User] public DeleteTagsForDomainResult deleteTagsForDomain(DeleteTagsForDomainRequest request) {request = beforeClientExecution(request);return executeDeleteTagsForDomain(request);}

[Assistant] public virtual DeleteTagsForDomainResponse DeleteTagsForDomain(DeleteTagsForDomainRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteTagsForDomainRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteTagsForDomainResponseUnmarshaller.Instance;return Invoke<DeleteTagsForDomainResponse>(request, options);}


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

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

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

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


public LongBuffer put(long c) {if (position == limit) {throw new BufferOverflowException();}byteBuffer.putLong(position++ * SizeOf.LONG, c);return this;}

public override java.nio.LongBuffer put(long c){if (_position == _limit){throw new java.nio.BufferOverflowException();}byteBuffer.putLong(_position++ * libcore.io.SizeOf.LONG, c);return this;}

[User] public LongBuffer put(long c) {if (position == limit) {throw new BufferOverflowException();}byteBuffer.putLong(position++ * SizeOf.LONG, c);return this;}

[Assistant] public override java.nio.LongBuffer put(long c){if (_position == _limit){throw new java.nio.BufferOverflowException();}byteBuffer.putLong(_position++ * libcore.io.SizeOf.LONG, c);return this;}


public DisassociateFleetResult disassociateFleet(DisassociateFleetRequest request) {request = beforeClientExecution(request);return executeDisassociateFleet(request);}

public virtual DisassociateFleetResponse DisassociateFleet(DisassociateFleetRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateFleetRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateFleetResponseUnmarshaller.Instance;return Invoke<DisassociateFleetResponse>(request, options);}

[User] public DisassociateFleetResult disassociateFleet(DisassociateFleetRequest request) {request = beforeClientExecution(request);return executeDisassociateFleet(request);}

[Assistant] public virtual DisassociateFleetResponse DisassociateFleet(DisassociateFleetRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateFleetRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateFleetResponseUnmarshaller.Instance;return Invoke<DisassociateFleetResponse>(request, options);}


public String toString() {return getClass().getSimpleName() + "(" + in.toString() + ")";}

public override string ToString(){return this.GetType().Name + "(" + m_input.ToString() + ")";}

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

[Assistant] public override string ToString(){return this.GetType().Name + "(" + m_input.ToString() + ")";}


public static String fromLong(Long value) {return Long.toString(value);}

public static string FromLong(long value){return value.ToString(CultureInfo.InvariantCulture);}

[User] public static String fromLong(Long value) {return Long.toString(value);}

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


public BytesRefArray(Counter bytesUsed) {this.pool = new ByteBlockPool(new ByteBlockPool.DirectTrackingAllocator(bytesUsed));pool.nextBuffer();bytesUsed.addAndGet(RamUsageEstimator.NUM_BYTES_ARRAY_HEADER * Integer.BYTES);this.bytesUsed = bytesUsed;}

public BytesRefArray(Counter bytesUsed){this.pool = new ByteBlockPool(new ByteBlockPool.DirectTrackingAllocator(bytesUsed));pool.NextBuffer();bytesUsed.AddAndGet(RamUsageEstimator.NUM_BYTES_ARRAY_HEADER + RamUsageEstimator.NUM_BYTES_INT32);this.bytesUsed = bytesUsed;}

[User] public BytesRefArray(Counter bytesUsed) {this.pool = new ByteBlockPool(new ByteBlockPool.DirectTrackingAllocator(bytesUsed));pool.nextBuffer();bytesUsed.addAndGet(RamUsageEstimator.NUM_BYTES_ARRAY_HEADER * Integer.BYTES);this.bytesUsed = bytesUsed;}

[Assistant] public BytesRefArray(Counter bytesUsed){this.pool = new ByteBlockPool(new ByteBlockPool.DirectTrackingAllocator(bytesUsed));pool.NextBuffer();bytesUsed.AddAndGet(RamUsageEstimator.NUM_BYTES_ARRAY_HEADER + RamUsageEstimator.NUM_BYTES_INT32);this.bytesUsed = bytesUsed;}


public FloatBuffer put(float[] src, int srcOffset, int floatCount) {if (floatCount > remaining()) {throw new BufferOverflowException();}System.arraycopy(src, srcOffset, backingArray, offset + position, floatCount);position += floatCount;return this;}

public override java.nio.FloatBuffer put(float[] src, int srcOffset, int floatCount){if (floatCount > remaining()){throw new java.nio.BufferOverflowException();}System.Array.Copy(src, srcOffset, backingArray, offset + _position, floatCount);_position += floatCount;return this;}

[User] public FloatBuffer put(float[] src, int srcOffset, int floatCount) {if (floatCount > remaining()) {throw new BufferOverflowException();}System.arraycopy(src, srcOffset, backingArray, offset + position, floatCount);position += floatCount;return this;}

[Assistant] public override java.nio.FloatBuffer put(float[] src, int srcOffset, int floatCount){if (floatCount > remaining()){throw new java.nio.BufferOverflowException();}System.Array.Copy(src, srcOffset, backingArray, offset + _position, floatCount);_position += floatCount;return this;}


public void skipBytes(final long numBytes) throws IOException {if (numBytes < 0) {throw new IllegalArgumentException("numBytes must be >= 0, got " + numBytes);}if (skipBuffer == null) {skipBuffer = new byte[SKIP_BUFFER_SIZE];}assert skipBuffer.length == SKIP_BUFFER_SIZE;for (long skipped = 0; skipped < numBytes; ) {final int step = (int) Math.min(SKIP_BUFFER_SIZE, numBytes - skipped);readBytes(skipBuffer, 0, step, false);skipped += step;}}

public virtual void SkipBytes(long numBytes){if (numBytes < 0){throw new ArgumentException("numBytes must be >= 0, got " + numBytes);}if (skipBuffer == null){skipBuffer = new byte[SKIP_BUFFER_SIZE];}Debug.Assert(skipBuffer.Length == SKIP_BUFFER_SIZE);for (long skipped = 0; skipped < numBytes; ){var step = (int)Math.Min(SKIP_BUFFER_SIZE, numBytes - skipped);ReadBytes(skipBuffer, 0, step, false);skipped += step;}}

[User] public void skipBytes(final long numBytes) throws IOException {if (numBytes < 0) {throw new IllegalArgumentException("numBytes must be >= 0, got " + numBytes);}if (skipBuffer == null) {skipBuffer = new byte[SKIP_BUFFER_SIZE];}assert skipBuffer.length == SKIP_BUFFER_SIZE;for (long skipped = 0; skipped < numBytes; ) {final int step = (int) Math.min(SKIP_BUFFER_SIZE, numBytes - skipped);readBytes(skipBuffer, 0, step, false);skipped += step;}}

[Assistant] public virtual void SkipBytes(long numBytes){if (numBytes < 0){throw new ArgumentException("numBytes must be >= 0, got " + numBytes);}if (skipBuffer == null){skipBuffer = new byte[SKIP_BUFFER_SIZE];}Debug.Assert(skipBuffer.Length == SKIP_BUFFER_SIZE);for (long skipped = 0; skipped < numBytes; ){var step = (int)Math.Min(SKIP_BUFFER_SIZE, numBytes - skipped);ReadBytes(skipBuffer, 0, step, false);skipped += step;}}


public final char get() {if (position == limit) {throw new BufferUnderflowException();}return backingArray[offset + position++];}

public sealed override char get(){if (_position == _limit){throw new java.nio.BufferUnderflowException();}return backingArray[offset + _position++];}

[User] public final char get() {if (position == limit) {throw new BufferUnderflowException();}return backingArray[offset + position++];}

[Assistant] public sealed override char get(){if (_position == _limit){throw new java.nio.BufferUnderflowException();}return backingArray[offset + _position++];}


public String quote(String in) {if (in.matches("^~[A-Za-z0-9_-]+$")) { return in + "/"; }.*$")) { final int i = in.indexOf('/') + 1;if (i == in.length())return in;return in.substring(0, i) + super.quote(in.substring(i));}return super.quote(in);}

public override string Quote(string @in){if (@in.Matches("^~[A-Za-z0-9_-]+$")){return @in + "/";}.*$")){int i = @in.IndexOf('/') + 1;if (i == @in.Length){return @in;}return Sharpen.Runtime.Substring(@in, 0, i) + base.Quote(Sharpen.Runtime.Substring(@in, i));}return base.Quote(@in);}

[User] public String quote(String in) {if (in.matches("^~[A-Za-z0-9_-]+$")) { return in + "/"; }.*$")) { final int i = in.indexOf('/') + 1;if (i == in.length())return in;return in.substring(0, i) + super.quote(in.substring(i));}return super.quote(in);}

[Assistant] public override string Quote(string @in){if (@in.Matches("^~[A-Za-z0-9_-]+$")){return @in + "/";}.*$")){int i = @in.IndexOf('/') + 1;if (i == @in.Length){return @in;}return Sharpen.Runtime.Substring(@in, 0, i) + base.Quote(Sharpen.Runtime.Substring(@in, i));}return base.Quote(@in);}


@Override public E remove(int location) {synchronized (mutex) {return list.remove(location);}}

public virtual E remove(int location){lock (mutex){return list.remove(location);}}

[User] @Override public E remove(int location) {synchronized (mutex) {return list.remove(location);}}

[Assistant] public virtual E remove(int location){lock (mutex){return list.remove(location);}}


public ExpPtg(LittleEndianInput in) {field_1_first_row = in.readShort();field_2_first_col = in.readShort();}

public ExpPtg(ILittleEndianInput in1){field_1_first_row = in1.ReadShort();field_2_first_col = in1.ReadShort();}

[User] public ExpPtg(LittleEndianInput in) {field_1_first_row = in.readShort();field_2_first_col = in.readShort();}

[Assistant] public ExpPtg(ILittleEndianInput in1){field_1_first_row = in1.ReadShort();field_2_first_col = in1.ReadShort();}


public TokenStream create(TokenStream input) {return new CJKBigramFilter(input, flags, outputUnigrams);}

public override TokenStream Create(TokenStream input){return new CJKBigramFilter(input, flags, outputUnigrams);}

[User] public TokenStream create(TokenStream input) {return new CJKBigramFilter(input, flags, outputUnigrams);}

[Assistant] public override TokenStream Create(TokenStream input){return new CJKBigramFilter(input, flags, outputUnigrams);}


public FuzzySet getSetForField(SegmentWriteState state,FieldInfo info) {return FuzzySet.createSetBasedOnQuality(state.segmentInfo.maxDoc(), 0.10f);}

public override FuzzySet GetSetForField(SegmentWriteState state, FieldInfo info){return FuzzySet.CreateSetBasedOnQuality(state.SegmentInfo.DocCount, 0.10f);}

[User] public FuzzySet getSetForField(SegmentWriteState state,FieldInfo info) {return FuzzySet.createSetBasedOnQuality(state.segmentInfo.maxDoc(), 0.10f);}

[Assistant] public override FuzzySet GetSetForField(SegmentWriteState state, FieldInfo info){return FuzzySet.CreateSetBasedOnQuality(state.SegmentInfo.DocCount, 0.10f);}


public static int[] grow(int[] array) {return grow(array, 1 + array.length);}

public static short[] Grow(short[] array){return Grow(array, 1 + array.Length);}

[User] public static int[] grow(int[] array) {return grow(array, 1 + array.length);}

[Assistant] public static short[] Grow(short[] array){return Grow(array, 1 + array.Length);}


public void setLength(int length) {if (length < 0) {throw new StringIndexOutOfBoundsException("length < 0: " + length);}if (length > value.length) {enlargeBuffer(length);} else {if (shared) {char[] newData = new char[value.length];System.arraycopy(value, 0, newData, 0, count);value = newData;shared = false;} else {if (count < length) {Arrays.fill(value, count, length, (char) 0);}}}count = length;}

public virtual void setLength(int length_1){if (length_1 < 0){throw new java.lang.StringIndexOutOfBoundsException("length < 0: " + length_1);}if (length_1 > value.Length){enlargeBuffer(length_1);}else{if (shared){char[] newData = new char[value.Length];System.Array.Copy(value, 0, newData, 0, count);value = newData;shared = false;}else{if (count < length_1){java.util.Arrays.fill(value, count, length_1, (char)0);}}}count = length_1;}

[User] public void setLength(int length) {if (length < 0) {throw new StringIndexOutOfBoundsException("length < 0: " + length);}if (length > value.length) {enlargeBuffer(length);} else {if (shared) {char[] newData = new char[value.length];System.arraycopy(value, 0, newData, 0, count);value = newData;shared = false;} else {if (count < length) {Arrays.fill(value, count, length, (char) 0);}}}count = length;}

[Assistant] public virtual void setLength(int length_1){if (length_1 < 0){throw new java.lang.StringIndexOutOfBoundsException("length < 0: " + length_1);}if (length_1 > value.Length){enlargeBuffer(length_1);}else{if (shared){char[] newData = new char[value.Length];System.Array.Copy(value, 0, newData, 0, count);value = newData;shared = false;}else{if (count < length_1){java.util.Arrays.fill(value, count, length_1, (char)0);}}}count = length_1;}


public void sync() {boolean interrupted = false;try {while (true) {MergeThread toSync = null;synchronized (this) {for (MergeThread t : mergeThreads) {if (t.isAlive() && t != Thread.currentThread()) {toSync = t;break;}}}if (toSync != null) {try {toSync.join();} catch (InterruptedException ie) {interrupted = true;}} else {break;}}} finally {if (interrupted) Thread.currentThread().interrupt();}}

public virtual void Sync(){bool interrupted = false;try{while (true){MergeThread toSync = null;lock (this){foreach (MergeThread t in m_mergeThreads){if (t != null && t.IsAlive){toSync = t;break;}}}if (toSync != null){try{toSync.Join();}#pragma warning disable 168catch (ThreadInterruptedException ie)#pragma warning restore 168{interrupted = true;}}else{break;}}}finally{if (interrupted){Thread.CurrentThread.Interrupt();}}}

[User] public void sync() {boolean interrupted = false;try {while (true) {MergeThread toSync = null;synchronized (this) {for (MergeThread t : mergeThreads) {if (t.isAlive() && t != Thread.currentThread()) {toSync = t;break;}}}if (toSync != null) {try {toSync.join();} catch (InterruptedException ie) {interrupted = true;}} else {break;}}} finally {if (interrupted) Thread.currentThread().interrupt();}}

[Assistant] public virtual void Sync(){bool interrupted = false;try{while (true){MergeThread toSync = null;lock (this){foreach (MergeThread t in m_mergeThreads){if (t != null && t.IsAlive){toSync = t;break;}}}if (toSync != null){try{toSync.Join();}#pragma warning disable 168catch (ThreadInterruptedException ie)#pragma warning restore 168{interrupted = true;}}else{break;}}}finally{if (interrupted){Thread.CurrentThread.Interrupt();}}}


public DescribeIdentityPoolUsageResult describeIdentityPoolUsage(DescribeIdentityPoolUsageRequest request) {request = beforeClientExecution(request);return executeDescribeIdentityPoolUsage(request);}

public virtual DescribeIdentityPoolUsageResponse DescribeIdentityPoolUsage(DescribeIdentityPoolUsageRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeIdentityPoolUsageRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeIdentityPoolUsageResponseUnmarshaller.Instance;return Invoke<DescribeIdentityPoolUsageResponse>(request, options);}

[User] public DescribeIdentityPoolUsageResult describeIdentityPoolUsage(DescribeIdentityPoolUsageRequest request) {request = beforeClientExecution(request);return executeDescribeIdentityPoolUsage(request);}

[Assistant] public virtual DescribeIdentityPoolUsageResponse DescribeIdentityPoolUsage(DescribeIdentityPoolUsageRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeIdentityPoolUsageRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeIdentityPoolUsageResponseUnmarshaller.Instance;return Invoke<DescribeIdentityPoolUsageResponse>(request, options);}


public ClusterSecurityGroup createClusterSecurityGroup(CreateClusterSecurityGroupRequest request) {request = beforeClientExecution(request);return executeCreateClusterSecurityGroup(request);}

public virtual CreateClusterSecurityGroupResponse CreateClusterSecurityGroup(CreateClusterSecurityGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateClusterSecurityGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateClusterSecurityGroupResponseUnmarshaller.Instance;return Invoke<CreateClusterSecurityGroupResponse>(request, options);}

[User] public ClusterSecurityGroup createClusterSecurityGroup(CreateClusterSecurityGroupRequest request) {request = beforeClientExecution(request);return executeCreateClusterSecurityGroup(request);}

[Assistant] public virtual CreateClusterSecurityGroupResponse CreateClusterSecurityGroup(CreateClusterSecurityGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateClusterSecurityGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateClusterSecurityGroupResponseUnmarshaller.Instance;return Invoke<CreateClusterSecurityGroupResponse>(request, options);}


public K nextElement() { return nextEntryNotFailFast().key; }

public K nextElement(){return this.nextEntryNotFailFast().key;}

[User] public K nextElement() { return nextEntryNotFailFast().key; }

[Assistant] public K nextElement(){return this.nextEntryNotFailFast().key;}


public HSSFShapeGroup(EscherContainerRecord spgrContainer, ObjRecord objRecord) {super(spgrContainer, objRecord);EscherContainerRecord spContainer = spgrContainer.getChildContainers().get(0);_spgrRecord = (EscherSpgrRecord) spContainer.getChild(0);for (EscherRecord ch : spContainer.getChildRecords()) {switch (EscherRecordTypes.forTypeID(ch.getRecordId())) {case SPGR:break;case CLIENT_ANCHOR:anchor = new HSSFClientAnchor((EscherClientAnchorRecord) ch);break;case CHILD_ANCHOR:anchor = new HSSFChildAnchor((EscherChildAnchorRecord) ch);break;default:break;}}}

public HSSFShapeGroup(EscherContainerRecord spgrContainer, ObjRecord objRecord): base(spgrContainer, objRecord){EscherContainerRecord spContainer = spgrContainer.ChildContainers[0];_spgrRecord = (EscherSpgrRecord)spContainer.GetChild(0);foreach (EscherRecord ch in spContainer.ChildRecords){switch (ch.RecordId){case EscherSpgrRecord.RECORD_ID:break;case EscherClientAnchorRecord.RECORD_ID:anchor = new HSSFClientAnchor((EscherClientAnchorRecord)ch);break;case EscherChildAnchorRecord.RECORD_ID:anchor = new HSSFChildAnchor((EscherChildAnchorRecord)ch);break;}}}

[User] public HSSFShapeGroup(EscherContainerRecord spgrContainer, ObjRecord objRecord) {super(spgrContainer, objRecord);EscherContainerRecord spContainer = spgrContainer.getChildContainers().get(0);_spgrRecord = (EscherSpgrRecord) spContainer.getChild(0);for (EscherRecord ch : spContainer.getChildRecords()) {switch (EscherRecordTypes.forTypeID(ch.getRecordId())) {case SPGR:break;case CLIENT_ANCHOR:anchor = new HSSFClientAnchor((EscherClientAnchorRecord) ch);break;case CHILD_ANCHOR:anchor = new HSSFChildAnchor((EscherChildAnchorRecord) ch);break;default:break;}}}

[Assistant] public HSSFShapeGroup(EscherContainerRecord spgrContainer, ObjRecord objRecord): base(spgrContainer, objRecord){EscherContainerRecord spContainer = spgrContainer.ChildContainers[0];_spgrRecord = (EscherSpgrRecord)spContainer.GetChild(0);foreach (EscherRecord ch in spContainer.ChildRecords){switch (ch.RecordId){case EscherSpgrRecord.RECORD_ID:break;case EscherClientAnchorRecord.RECORD_ID:anchor = new HSSFClientAnchor((EscherClientAnchorRecord)ch);break;case EscherChildAnchorRecord.RECORD_ID:anchor = new HSSFChildAnchor((EscherChildAnchorRecord)ch);break;}}}


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

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

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

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


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

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

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

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


public boolean equals(final Object o){boolean rval = false;if ((o != null) && (o.getClass() == this.getClass())){if (this == o){rval = true;}else{DocumentDescriptor descriptor = ( DocumentDescriptor ) o;rval = this.path.equals(descriptor.path)&& this.name.equals(descriptor.name);}}return rval;}

public override bool Equals(Object o){bool rval = false;if ((o != null) && (o.GetType()== this.GetType())){if (this == o){rval = true;}else{DocumentDescriptor descriptor = ( DocumentDescriptor ) o;rval = this.path.Equals(descriptor.path)&& this.name.Equals(descriptor.name);}}return rval;}

[User] public boolean equals(final Object o){boolean rval = false;if ((o != null) && (o.getClass() == this.getClass())){if (this == o){rval = true;}else{DocumentDescriptor descriptor = ( DocumentDescriptor ) o;rval = this.path.equals(descriptor.path)&& this.name.equals(descriptor.name);}}return rval;}

[Assistant] public override bool Equals(Object o){bool rval = false;if ((o != null) && (o.GetType()== this.GetType())){if (this == o){rval = true;}else{DocumentDescriptor descriptor = ( DocumentDescriptor ) o;rval = this.path.Equals(descriptor.path)&& this.name.Equals(descriptor.name);}}return rval;}


public void finish() {if (!sorted)resort();replace();}

public override void Finish(){if (!sorted){Resort();}Replace();}

[User] public void finish() {if (!sorted)resort();replace();}

[Assistant] public override void Finish(){if (!sorted){Resort();}Replace();}


public void map(K key, V value) {List<V> elementsForKey = get(key);if ( elementsForKey==null ) {elementsForKey = new ArrayList<V>();super.put(key, elementsForKey);}elementsForKey.add(value);}

public virtual void Map(K key, V value){IList<V> elementsForKey;if (!TryGetValue(key, out elementsForKey)){elementsForKey = new ArrayList<V>();this[key] = elementsForKey;}elementsForKey.Add(value);}

[User] public void map(K key, V value) {List<V> elementsForKey = get(key);if ( elementsForKey==null ) {elementsForKey = new ArrayList<V>();super.put(key, elementsForKey);}elementsForKey.add(value);}

[Assistant] public virtual void Map(K key, V value){IList<V> elementsForKey;if (!TryGetValue(key, out elementsForKey)){elementsForKey = new ArrayList<V>();this[key] = elementsForKey;}elementsForKey.Add(value);}