public ExpandedDouble(long rawBits) {int biasedExp = Math.toIntExact(rawBits >> 52);if (biasedExp == 0) {BigInteger frac = BigInteger.valueOf(rawBits).and(BI_FRAC_MASK);int expAdj = 64 - frac.bitLength();_significand = frac.shiftLeft(expAdj);_binaryExponent = (biasedExp & 0x07FF) - 1023 - expAdj;} else {_significand = getFrac(rawBits);_binaryExponent = (biasedExp & 0x07FF) - 1023;}}

public ExpandedDouble(long rawBits){int biasedExp = (int)(rawBits >> 52);if (biasedExp == 0){BigInteger frac = new BigInteger(rawBits)&BI_FRAC_MASK;int expAdj = 64 - frac.BitLength();_significand = frac<<expAdj;_binaryExponent = (biasedExp & 0x07FF) - 1023 - expAdj;}else{BigInteger frac = GetFrac(rawBits);_significand = frac;_binaryExponent = (biasedExp & 0x07FF) - 1023;}}

[User] public ExpandedDouble(long rawBits) {int biasedExp = Math.toIntExact(rawBits >> 52);if (biasedExp == 0) {BigInteger frac = BigInteger.valueOf(rawBits).and(BI_FRAC_MASK);int expAdj = 64 - frac.bitLength();_significand = frac.shiftLeft(expAdj);_binaryExponent = (biasedExp & 0x07FF) - 1023 - expAdj;} else {_significand = getFrac(rawBits);_binaryExponent = (biasedExp & 0x07FF) - 1023;}}

[Assistant] public ExpandedDouble(long rawBits){int biasedExp = (int)(rawBits >> 52);if (biasedExp == 0){BigInteger frac = new BigInteger(rawBits)&BI_FRAC_MASK;int expAdj = 64 - frac.BitLength();_significand = frac<<expAdj;_binaryExponent = (biasedExp & 0x07FF) - 1023 - expAdj;}else{BigInteger frac = GetFrac(rawBits);_significand = frac;_binaryExponent = (biasedExp & 0x07FF) - 1023;}}


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

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

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

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


public void add(RevCommit c) {throw new UnsupportedOperationException();}

public override void Add(RevCommit c){throw new NotSupportedException();}

[User] public void add(RevCommit c) {throw new UnsupportedOperationException();}

[Assistant] public override void Add(RevCommit c){throw new NotSupportedException();}


public CellRangeAddress[] getFormattingRanges() {return cfAggregate.getHeader().getCellRanges();}

public CellRangeAddress[] GetFormattingRanges(){return cfAggregate.Header.CellRanges;}

[User] public CellRangeAddress[] getFormattingRanges() {return cfAggregate.getHeader().getCellRanges();}

[Assistant] public CellRangeAddress[] GetFormattingRanges(){return cfAggregate.Header.CellRanges;}


public PrintStream append(CharSequence charSequence) {if (charSequence == null) {print("null");} else {print(charSequence.toString());}return this;}

public virtual java.io.PrintStream append(java.lang.CharSequence charSequence){if (charSequence == null){print("null");}else{print(charSequence.ToString());}return this;}

[User] public PrintStream append(CharSequence charSequence) {if (charSequence == null) {print("null");} else {print(charSequence.toString());}return this;}

[Assistant] public virtual java.io.PrintStream append(java.lang.CharSequence charSequence){if (charSequence == null){print("null");}else{print(charSequence.ToString());}return this;}


public GetSkillGroupResult getSkillGroup(GetSkillGroupRequest request) {request = beforeClientExecution(request);return executeGetSkillGroup(request);}

public virtual GetSkillGroupResponse GetSkillGroup(GetSkillGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetSkillGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = GetSkillGroupResponseUnmarshaller.Instance;return Invoke<GetSkillGroupResponse>(request, options);}

[User] public GetSkillGroupResult getSkillGroup(GetSkillGroupRequest request) {request = beforeClientExecution(request);return executeGetSkillGroup(request);}

[Assistant] public virtual GetSkillGroupResponse GetSkillGroup(GetSkillGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetSkillGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = GetSkillGroupResponseUnmarshaller.Instance;return Invoke<GetSkillGroupResponse>(request, options);}


public DeleteObjectResult deleteObject(DeleteObjectRequest request) {request = beforeClientExecution(request);return executeDeleteObject(request);}

public virtual DeleteObjectResponse DeleteObject(DeleteObjectRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteObjectRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteObjectResponseUnmarshaller.Instance;return Invoke<DeleteObjectResponse>(request, options);}

[User] public DeleteObjectResult deleteObject(DeleteObjectRequest request) {request = beforeClientExecution(request);return executeDeleteObject(request);}

[Assistant] public virtual DeleteObjectResponse DeleteObject(DeleteObjectRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteObjectRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteObjectResponseUnmarshaller.Instance;return Invoke<DeleteObjectResponse>(request, options);}


public boolean removeAll(final IntList c){boolean rval = false;for (int j = 0; j < c._limit; j++){if (removeValue(c._array[ j ])){rval = true;}}return rval;}

public bool RemoveAll(IntList c){bool rval = false;for (int j = 0; j < c._limit; j++){if (RemoveValue(c._array[j])){rval = true;}}return rval;}

[User] public boolean removeAll(final IntList c){boolean rval = false;for (int j = 0; j < c._limit; j++){if (removeValue(c._array[ j ])){rval = true;}}return rval;}

[Assistant] public bool RemoveAll(IntList c){bool rval = false;for (int j = 0; j < c._limit; j++){if (RemoveValue(c._array[j])){rval = true;}}return rval;}


public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[FILEPASS]\n");buffer.append("    .type = ").append(HexDump.shortToHex(encryptionType)).append('\n');String prefix = "     ."+encryptionInfo.getEncryptionMode();buffer.append(prefix+".info = ").append(HexDump.shortToHex(encryptionInfo.getVersionMajor())).append('\n');buffer.append(prefix+".ver  = ").append(HexDump.shortToHex(encryptionInfo.getVersionMinor())).append('\n');buffer.append(prefix+".salt = ").append(HexDump.toHex(encryptionInfo.getVerifier().getSalt())).append('\n');buffer.append(prefix+".verifier = ").append(HexDump.toHex(encryptionInfo.getVerifier().getEncryptedVerifier())).append('\n');buffer.append(prefix+".verifierHash = ").append(HexDump.toHex(encryptionInfo.getVerifier().getEncryptedVerifierHash())).append('\n');buffer.append("[/FILEPASS]\n");return buffer.toString();}

public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[FILEPASS]\n");buffer.Append("    .type = ").Append(HexDump.ShortToHex(_encryptionType)).Append("\n");buffer.Append("    .info = ").Append(HexDump.ShortToHex(_encryptionInfo)).Append("\n");buffer.Append("    .ver  = ").Append(HexDump.ShortToHex(_minorVersionNo)).Append("\n");buffer.Append("    .docId= ").Append(HexDump.ToHex(_docId)).Append("\n");buffer.Append("    .salt = ").Append(HexDump.ToHex(_saltData)).Append("\n");buffer.Append("    .hash = ").Append(HexDump.ToHex(_saltHash)).Append("\n");buffer.Append("[/FILEPASS]\n");return buffer.ToString();}

[User] public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[FILEPASS]\n");buffer.append("    .type = ").append(HexDump.shortToHex(encryptionType)).append('\n');String prefix = "     ."+encryptionInfo.getEncryptionMode();buffer.append(prefix+".info = ").append(HexDump.shortToHex(encryptionInfo.getVersionMajor())).append('\n');buffer.append(prefix+".ver  = ").append(HexDump.shortToHex(encryptionInfo.getVersionMinor())).append('\n');buffer.append(prefix+".salt = ").append(HexDump.toHex(encryptionInfo.getVerifier().getSalt())).append('\n');buffer.append(prefix+".verifier = ").append(HexDump.toHex(encryptionInfo.getVerifier().getEncryptedVerifier())).append('\n');buffer.append(prefix+".verifierHash = ").append(HexDump.toHex(encryptionInfo.getVerifier().getEncryptedVerifierHash())).append('\n');buffer.append("[/FILEPASS]\n");return buffer.toString();}

[Assistant] public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[FILEPASS]\n");buffer.Append("    .type = ").Append(HexDump.ShortToHex(_encryptionType)).Append("\n");buffer.Append("    .info = ").Append(HexDump.ShortToHex(_encryptionInfo)).Append("\n");buffer.Append("    .ver  = ").Append(HexDump.ShortToHex(_minorVersionNo)).Append("\n");buffer.Append("    .docId= ").Append(HexDump.ToHex(_docId)).Append("\n");buffer.Append("    .salt = ").Append(HexDump.ToHex(_saltData)).Append("\n");buffer.Append("    .hash = ").Append(HexDump.ToHex(_saltHash)).Append("\n");buffer.Append("[/FILEPASS]\n");return buffer.ToString();}


public CreateCustomerGatewayResult createCustomerGateway(CreateCustomerGatewayRequest request) {request = beforeClientExecution(request);return executeCreateCustomerGateway(request);}

public virtual CreateCustomerGatewayResponse CreateCustomerGateway(CreateCustomerGatewayRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateCustomerGatewayRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateCustomerGatewayResponseUnmarshaller.Instance;return Invoke<CreateCustomerGatewayResponse>(request, options);}

[User] public CreateCustomerGatewayResult createCustomerGateway(CreateCustomerGatewayRequest request) {request = beforeClientExecution(request);return executeCreateCustomerGateway(request);}

[Assistant] public virtual CreateCustomerGatewayResponse CreateCustomerGateway(CreateCustomerGatewayRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateCustomerGatewayRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateCustomerGatewayResponseUnmarshaller.Instance;return Invoke<CreateCustomerGatewayResponse>(request, options);}


public CharBuffer compact() {if (byteBuffer.isReadOnly()) {throw new ReadOnlyBufferException();}byteBuffer.limit(limit * SizeOf.CHAR);byteBuffer.position(position * SizeOf.CHAR);byteBuffer.compact();byteBuffer.clear();position = limit - position;limit = capacity;mark = UNSET_MARK;return this;}

public override java.nio.CharBuffer compact(){if (byteBuffer.isReadOnly()){throw new java.nio.ReadOnlyBufferException();}byteBuffer.limit(_limit * libcore.io.SizeOf.CHAR);byteBuffer.position(_position * libcore.io.SizeOf.CHAR);byteBuffer.compact();byteBuffer.clear();_position = _limit - _position;_limit = _capacity;_mark = UNSET_MARK;return this;}

[User] public CharBuffer compact() {if (byteBuffer.isReadOnly()) {throw new ReadOnlyBufferException();}byteBuffer.limit(limit * SizeOf.CHAR);byteBuffer.position(position * SizeOf.CHAR);byteBuffer.compact();byteBuffer.clear();position = limit - position;limit = capacity;mark = UNSET_MARK;return this;}

[Assistant] public override java.nio.CharBuffer compact(){if (byteBuffer.isReadOnly()){throw new java.nio.ReadOnlyBufferException();}byteBuffer.limit(_limit * libcore.io.SizeOf.CHAR);byteBuffer.position(_position * libcore.io.SizeOf.CHAR);byteBuffer.compact();byteBuffer.clear();_position = _limit - _position;_limit = _capacity;_mark = UNSET_MARK;return this;}


public DirCache getDirCache() {return cache;}

public virtual DirCache GetDirCache(){return cache;}

[User] public DirCache getDirCache() {return cache;}

[Assistant] public virtual DirCache GetDirCache(){return cache;}


public PatternReplaceCharFilterFactory(Map<String, String> args) {super(args);pattern = getPattern(args, "pattern");replacement = get(args, "replacement", "");if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

public PatternReplaceCharFilterFactory(IDictionary<string, string> args) : base(args){pattern = GetPattern(args, "pattern");replacement = Get(args, "replacement", "");maxBlockChars = GetInt32(args, "maxBlockChars",#pragma warning disable 612, 618PatternReplaceCharFilter.DEFAULT_MAX_BLOCK_CHARS);#pragma warning restore 612, 618if (args.TryGetValue("blockDelimiters", out blockDelimiters)){args.Remove("blockDelimiters");}if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}

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

[Assistant] public PatternReplaceCharFilterFactory(IDictionary<string, string> args) : base(args){pattern = GetPattern(args, "pattern");replacement = Get(args, "replacement", "");maxBlockChars = GetInt32(args, "maxBlockChars",#pragma warning disable 612, 618PatternReplaceCharFilter.DEFAULT_MAX_BLOCK_CHARS);#pragma warning restore 612, 618if (args.TryGetValue("blockDelimiters", out blockDelimiters)){args.Remove("blockDelimiters");}if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}


public boolean getCreateEmptyCells() {return shouldCreateEmptyCells;}

public bool GetCreateEmptyCells(){return shouldCreateEmptyCells;}

[User] public boolean getCreateEmptyCells() {return shouldCreateEmptyCells;}

[Assistant] public bool GetCreateEmptyCells(){return shouldCreateEmptyCells;}


public long getIndexSize() {long sz = 8 ;sz += 4 * 4 ;sz += sizeOf(src);sz += sizeOf(table);sz += sizeOf(entries);return sz;}

public virtual long GetIndexSize(){long sz = 8;sz += 4 * 4;sz += SizeOf(src);sz += SizeOf(table);sz += SizeOf(entries);return sz;}

[User] public long getIndexSize() {long sz = 8 ;sz += 4 * 4 ;sz += sizeOf(src);sz += sizeOf(table);sz += sizeOf(entries);return sz;}

[Assistant] public virtual long GetIndexSize(){long sz = 8;sz += 4 * 4;sz += SizeOf(src);sz += SizeOf(table);sz += SizeOf(entries);return sz;}


public ShortBuffer put(short[] src, int srcOffset, int shortCount) {Arrays.checkOffsetAndCount(src.length, srcOffset, shortCount);if (shortCount > remaining()) {throw new BufferOverflowException();}for (int i = srcOffset; i < srcOffset + shortCount; ++i) {put(src[i]);}return this;}

public virtual java.nio.ShortBuffer put(short[] src, int srcOffset, int shortCount){java.util.Arrays.checkOffsetAndCount(src.Length, srcOffset, shortCount);if (shortCount > remaining()){throw new java.nio.BufferOverflowException();}{for (int i = srcOffset; i < srcOffset + shortCount; ++i){put(src[i]);}}return this;}

[User] public ShortBuffer put(short[] src, int srcOffset, int shortCount) {Arrays.checkOffsetAndCount(src.length, srcOffset, shortCount);if (shortCount > remaining()) {throw new BufferOverflowException();}for (int i = srcOffset; i < srcOffset + shortCount; ++i) {put(src[i]);}return this;}

[Assistant] public virtual java.nio.ShortBuffer put(short[] src, int srcOffset, int shortCount){java.util.Arrays.checkOffsetAndCount(src.Length, srcOffset, shortCount);if (shortCount > remaining()){throw new java.nio.BufferOverflowException();}{for (int i = srcOffset; i < srcOffset + shortCount; ++i){put(src[i]);}}return this;}


public String toString() {if (getChildren() == null || getChildren().size() == 0)return "<multiPhrase/>";StringBuilder sb = new StringBuilder();sb.append("<multiPhrase>");for (QueryNode child : getChildren()) {sb.append("\n");sb.append(child.toString());}sb.append("\n</multiPhrase>");return sb.toString();}

public override string ToString(){var children = GetChildren();if (children == null || children.Count == 0)return "<multiPhrase/>";StringBuilder sb = new StringBuilder();sb.Append("<multiPhrase>");foreach (IQueryNode child in children){sb.Append("\n");sb.Append(child.ToString());}sb.Append("\n</multiPhrase>");return sb.ToString();}

[User] public String toString() {if (getChildren() == null || getChildren().size() == 0)return "<multiPhrase/>";StringBuilder sb = new StringBuilder();sb.append("<multiPhrase>");for (QueryNode child : getChildren()) {sb.append("\n");sb.append(child.toString());}sb.append("\n</multiPhrase>");return sb.toString();}

[Assistant] public override string ToString(){var children = GetChildren();if (children == null || children.Count == 0)return "<multiPhrase/>";StringBuilder sb = new StringBuilder();sb.Append("<multiPhrase>");foreach (IQueryNode child in children){sb.Append("\n");sb.Append(child.ToString());}sb.Append("\n</multiPhrase>");return sb.ToString();}


public GetGatewayResponseResult getGatewayResponse(GetGatewayResponseRequest request) {request = beforeClientExecution(request);return executeGetGatewayResponse(request);}

public virtual GetGatewayResponseResponse GetGatewayResponse(GetGatewayResponseRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetGatewayResponseRequestMarshaller.Instance;options.ResponseUnmarshaller = GetGatewayResponseResponseUnmarshaller.Instance;return Invoke<GetGatewayResponseResponse>(request, options);}

[User] public GetGatewayResponseResult getGatewayResponse(GetGatewayResponseRequest request) {request = beforeClientExecution(request);return executeGetGatewayResponse(request);}

[Assistant] public virtual GetGatewayResponseResponse GetGatewayResponse(GetGatewayResponseRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetGatewayResponseRequestMarshaller.Instance;options.ResponseUnmarshaller = GetGatewayResponseResponseUnmarshaller.Instance;return Invoke<GetGatewayResponseResponse>(request, options);}


public SubscribeRequest(String topicArn, String protocol, String endpoint) {setTopicArn(topicArn);setProtocol(protocol);setEndpoint(endpoint);}

public SubscribeRequest(string topicArn, string protocol, string endpoint){_topicArn = topicArn;_protocol = protocol;_endpoint = endpoint;}

[User] public SubscribeRequest(String topicArn, String protocol, String endpoint) {setTopicArn(topicArn);setProtocol(protocol);setEndpoint(endpoint);}

[Assistant] public SubscribeRequest(string topicArn, string protocol, string endpoint){_topicArn = topicArn;_protocol = protocol;_endpoint = endpoint;}


public void setLengthNormFactors(int min, int max, float steepness, boolean discountOverlaps) {this.ln_min = min;this.ln_max = max;this.ln_steep = steepness;this.discountOverlaps = discountOverlaps;}

public virtual void SetLengthNormFactors(int min, int max, float steepness, bool discountOverlaps){this.ln_min = min;this.ln_max = max;this.ln_steep = steepness;this.DiscountOverlaps = discountOverlaps;}

[User] public void setLengthNormFactors(int min, int max, float steepness, boolean discountOverlaps) {this.ln_min = min;this.ln_max = max;this.ln_steep = steepness;this.discountOverlaps = discountOverlaps;}

[Assistant] public virtual void SetLengthNormFactors(int min, int max, float steepness, bool discountOverlaps){this.ln_min = min;this.ln_max = max;this.ln_steep = steepness;this.DiscountOverlaps = discountOverlaps;}


public void start() {mStartTime = ANIMATION_START;}

public virtual void start(){setStartTime(-1);}

[User] public void start() {mStartTime = ANIMATION_START;}

[Assistant] public virtual void start(){setStartTime(-1);}


public DeleteLaunchConfigurationResult deleteLaunchConfiguration(DeleteLaunchConfigurationRequest request) {request = beforeClientExecution(request);return executeDeleteLaunchConfiguration(request);}

public virtual DeleteLaunchConfigurationResponse DeleteLaunchConfiguration(DeleteLaunchConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteLaunchConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteLaunchConfigurationResponseUnmarshaller.Instance;return Invoke<DeleteLaunchConfigurationResponse>(request, options);}

[User] public DeleteLaunchConfigurationResult deleteLaunchConfiguration(DeleteLaunchConfigurationRequest request) {request = beforeClientExecution(request);return executeDeleteLaunchConfiguration(request);}

[Assistant] public virtual DeleteLaunchConfigurationResponse DeleteLaunchConfiguration(DeleteLaunchConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteLaunchConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteLaunchConfigurationResponseUnmarshaller.Instance;return Invoke<DeleteLaunchConfigurationResponse>(request, options);}


public void remove( Object record ) {int i = 0;for (org.apache.poi.hssf.record.Record r : records) {if (r == record) {remove(i);break;}i++;}}

public void Remove(Record record){int i = records.IndexOf(record);this.Remove(i);}

[User] public void remove( Object record ) {int i = 0;for (org.apache.poi.hssf.record.Record r : records) {if (r == record) {remove(i);break;}i++;}}

[Assistant] public void Remove(Record record){int i = records.IndexOf(record);this.Remove(i);}


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

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

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

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


public Term(String fld, BytesRef bytes) {field = fld;this.bytes = bytes == null ? null : BytesRef.deepCopyOf(bytes);}

public Term(string fld, BytesRef bytes){Field = fld;Bytes = bytes;}

[User] public Term(String fld, BytesRef bytes) {field = fld;this.bytes = bytes == null ? null : BytesRef.deepCopyOf(bytes);}

[Assistant] public Term(string fld, BytesRef bytes){Field = fld;Bytes = bytes;}


public long ramBytesUsed() {return RamUsageEstimator.alignObjectSize(RamUsageEstimator.NUM_BYTES_OBJECT_HEADER+ RamUsageEstimator.NUM_BYTES_OBJECT_REF+ Long.BYTES+ Float.BYTES)+ current.ramBytesUsed();}

public override long RamBytesUsed(){return RamUsageEstimator.AlignObjectSize(RamUsageEstimator.NUM_BYTES_OBJECT_HEADER+ RamUsageEstimator.NUM_BYTES_OBJECT_REF+ RamUsageEstimator.NUM_BYTES_INT64+ RamUsageEstimator.NUM_BYTES_SINGLE)+ current.RamBytesUsed();}

[User] public long ramBytesUsed() {return RamUsageEstimator.alignObjectSize(RamUsageEstimator.NUM_BYTES_OBJECT_HEADER+ RamUsageEstimator.NUM_BYTES_OBJECT_REF+ Long.BYTES+ Float.BYTES)+ current.ramBytesUsed();}

[Assistant] public override long RamBytesUsed(){return RamUsageEstimator.AlignObjectSize(RamUsageEstimator.NUM_BYTES_OBJECT_HEADER+ RamUsageEstimator.NUM_BYTES_OBJECT_REF+ RamUsageEstimator.NUM_BYTES_INT64+ RamUsageEstimator.NUM_BYTES_SINGLE)+ current.RamBytesUsed();}


public int serialize( int offset, byte[] data){return serialize( offset, data, new NullEscherSerializationListener() );}

public int Serialize(int offset, byte[] data){return Serialize(offset, data, new NullEscherSerializationListener());}

[User] public int serialize( int offset, byte[] data){return serialize( offset, data, new NullEscherSerializationListener() );}

[Assistant] public int Serialize(int offset, byte[] data){return Serialize(offset, data, new NullEscherSerializationListener());}


public String toString() {if (count == 0) {return "";}int wasted = value.length - count;if (wasted >= 256|| (wasted >= INITIAL_CAPACITY && wasted >= (count >> 1))) {return new String(value, 0, count);}shared = true;return new String(0, count, value);}

public override string ToString(){if (count == 0){return string.Empty;}int wasted = value.Length - count;if (wasted >= 256 || (wasted >= INITIAL_CAPACITY && wasted >= (count >> 1))){return new string(value, 0, count);}shared = true;return Sharpen.StringHelper.GetString(0, count, value);}

[User] public String toString() {if (count == 0) {return "";}int wasted = value.length - count;if (wasted >= 256|| (wasted >= INITIAL_CAPACITY && wasted >= (count >> 1))) {return new String(value, 0, count);}shared = true;return new String(0, count, value);}

[Assistant] public override string ToString(){if (count == 0){return string.Empty;}int wasted = value.Length - count;if (wasted >= 256 || (wasted >= INITIAL_CAPACITY && wasted >= (count >> 1))){return new string(value, 0, count);}shared = true;return Sharpen.StringHelper.GetString(0, count, value);}


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

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

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

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


public AssociateResolverEndpointIpAddressResult associateResolverEndpointIpAddress(AssociateResolverEndpointIpAddressRequest request) {request = beforeClientExecution(request);return executeAssociateResolverEndpointIpAddress(request);}

public virtual AssociateResolverEndpointIpAddressResponse AssociateResolverEndpointIpAddress(AssociateResolverEndpointIpAddressRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociateResolverEndpointIpAddressRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociateResolverEndpointIpAddressResponseUnmarshaller.Instance;return Invoke<AssociateResolverEndpointIpAddressResponse>(request, options);}

[User] public AssociateResolverEndpointIpAddressResult associateResolverEndpointIpAddress(AssociateResolverEndpointIpAddressRequest request) {request = beforeClientExecution(request);return executeAssociateResolverEndpointIpAddress(request);}

[Assistant] public virtual AssociateResolverEndpointIpAddressResponse AssociateResolverEndpointIpAddress(AssociateResolverEndpointIpAddressRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociateResolverEndpointIpAddressRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociateResolverEndpointIpAddressResponseUnmarshaller.Instance;return Invoke<AssociateResolverEndpointIpAddressResponse>(request, options);}


public RevertCommand include(AnyObjectId commit) {return include(commit.getName(), commit);}

public virtual NGit.Api.RevertCommand Include(AnyObjectId commit){return Include(commit.GetName(), commit);}

[User] public RevertCommand include(AnyObjectId commit) {return include(commit.getName(), commit);}

[Assistant] public virtual NGit.Api.RevertCommand Include(AnyObjectId commit){return Include(commit.GetName(), commit);}


public static ByteBuffer wrap(byte[] array) {return new ReadWriteHeapByteBuffer(array);}

public static java.nio.ByteBuffer wrap(byte[] array_1){return new java.nio.ReadWriteHeapByteBuffer(array_1);}

[User] public static ByteBuffer wrap(byte[] array) {return new ReadWriteHeapByteBuffer(array);}

[Assistant] public static java.nio.ByteBuffer wrap(byte[] array_1){return new java.nio.ReadWriteHeapByteBuffer(array_1);}


public void removeSecurity() {remove1stProperty(PropertyIDMap.PID_SECURITY);}

public void RemoveSecurity(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_SECURITY);}

[User] public void removeSecurity() {remove1stProperty(PropertyIDMap.PID_SECURITY);}

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


public ImportVolumeResult importVolume(ImportVolumeRequest request) {request = beforeClientExecution(request);return executeImportVolume(request);}

public virtual ImportVolumeResponse ImportVolume(ImportVolumeRequest request){var options = new InvokeOptions();options.RequestMarshaller = ImportVolumeRequestMarshaller.Instance;options.ResponseUnmarshaller = ImportVolumeResponseUnmarshaller.Instance;return Invoke<ImportVolumeResponse>(request, options);}

[User] public ImportVolumeResult importVolume(ImportVolumeRequest request) {request = beforeClientExecution(request);return executeImportVolume(request);}

[Assistant] public virtual ImportVolumeResponse ImportVolume(ImportVolumeRequest request){var options = new InvokeOptions();options.RequestMarshaller = ImportVolumeRequestMarshaller.Instance;options.ResponseUnmarshaller = ImportVolumeResponseUnmarshaller.Instance;return Invoke<ImportVolumeResponse>(request, options);}


public boolean isDetectRenames() {return renameDetector != null;}

public virtual bool IsDetectRenames(){return renameDetector != null;}

[User] public boolean isDetectRenames() {return renameDetector != null;}

[Assistant] public virtual bool IsDetectRenames(){return renameDetector != null;}


public CacheCluster rebootCacheCluster(RebootCacheClusterRequest request) {request = beforeClientExecution(request);return executeRebootCacheCluster(request);}

public virtual RebootCacheClusterResponse RebootCacheCluster(RebootCacheClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = RebootCacheClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = RebootCacheClusterResponseUnmarshaller.Instance;return Invoke<RebootCacheClusterResponse>(request, options);}

[User] public CacheCluster rebootCacheCluster(RebootCacheClusterRequest request) {request = beforeClientExecution(request);return executeRebootCacheCluster(request);}

[Assistant] public virtual RebootCacheClusterResponse RebootCacheCluster(RebootCacheClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = RebootCacheClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = RebootCacheClusterResponseUnmarshaller.Instance;return Invoke<RebootCacheClusterResponse>(request, options);}


public DescribeTemplateAliasResult describeTemplateAlias(DescribeTemplateAliasRequest request) {request = beforeClientExecution(request);return executeDescribeTemplateAlias(request);}

public virtual DescribeTemplateAliasResponse DescribeTemplateAlias(DescribeTemplateAliasRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTemplateAliasRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTemplateAliasResponseUnmarshaller.Instance;return Invoke<DescribeTemplateAliasResponse>(request, options);}

[User] public DescribeTemplateAliasResult describeTemplateAlias(DescribeTemplateAliasRequest request) {request = beforeClientExecution(request);return executeDescribeTemplateAlias(request);}

[Assistant] public virtual DescribeTemplateAliasResponse DescribeTemplateAlias(DescribeTemplateAliasRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTemplateAliasRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTemplateAliasResponseUnmarshaller.Instance;return Invoke<DescribeTemplateAliasResponse>(request, options);}


public void reset() {if (overflow != null) {destroy();}if (blocks != null)blocks.clear();elseblocks = new ArrayList<>(initialBlocks);blocks.add(new Block(Math.min(inCoreLimit, Block.SZ)));}

public virtual void Reset(){if (overflow != null){Destroy();}if (inCoreLimit < TemporaryBuffer.Block.SZ){blocks = new AList<TemporaryBuffer.Block>(1);blocks.AddItem(new TemporaryBuffer.Block(inCoreLimit));}else{blocks = new AList<TemporaryBuffer.Block>(inCoreLimit / TemporaryBuffer.Block.SZ);blocks.AddItem(new TemporaryBuffer.Block());}}

[User] public void reset() {if (overflow != null) {destroy();}if (blocks != null)blocks.clear();elseblocks = new ArrayList<>(initialBlocks);blocks.add(new Block(Math.min(inCoreLimit, Block.SZ)));}

[Assistant] public virtual void Reset(){if (overflow != null){Destroy();}if (inCoreLimit < TemporaryBuffer.Block.SZ){blocks = new AList<TemporaryBuffer.Block>(1);blocks.AddItem(new TemporaryBuffer.Block(inCoreLimit));}else{blocks = new AList<TemporaryBuffer.Block>(inCoreLimit / TemporaryBuffer.Block.SZ);blocks.AddItem(new TemporaryBuffer.Block());}}


public DescribeWorkspaceSnapshotsResult describeWorkspaceSnapshots(DescribeWorkspaceSnapshotsRequest request) {request = beforeClientExecution(request);return executeDescribeWorkspaceSnapshots(request);}

public virtual DescribeWorkspaceSnapshotsResponse DescribeWorkspaceSnapshots(DescribeWorkspaceSnapshotsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeWorkspaceSnapshotsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeWorkspaceSnapshotsResponseUnmarshaller.Instance;return Invoke<DescribeWorkspaceSnapshotsResponse>(request, options);}

[User] public DescribeWorkspaceSnapshotsResult describeWorkspaceSnapshots(DescribeWorkspaceSnapshotsRequest request) {request = beforeClientExecution(request);return executeDescribeWorkspaceSnapshots(request);}

[Assistant] public virtual DescribeWorkspaceSnapshotsResponse DescribeWorkspaceSnapshots(DescribeWorkspaceSnapshotsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeWorkspaceSnapshotsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeWorkspaceSnapshotsResponseUnmarshaller.Instance;return Invoke<DescribeWorkspaceSnapshotsResponse>(request, options);}


public void clear() {name = null;body = null;title = null;date = null;props = null;id = -1;}

public void Clear(){Name = null;Body = null;Title = null;date = null;Props = null;ID = -1;}

[User] public void clear() {name = null;body = null;title = null;date = null;props = null;id = -1;}

[Assistant] public void Clear(){Name = null;Body = null;Title = null;date = null;Props = null;ID = -1;}


public DeleteDistributionResult deleteDistribution(DeleteDistributionRequest request) {request = beforeClientExecution(request);return executeDeleteDistribution(request);}

public virtual DeleteDistributionResponse DeleteDistribution(DeleteDistributionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDistributionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDistributionResponseUnmarshaller.Instance;return Invoke<DeleteDistributionResponse>(request, options);}

[User] public DeleteDistributionResult deleteDistribution(DeleteDistributionRequest request) {request = beforeClientExecution(request);return executeDeleteDistribution(request);}

[Assistant] public virtual DeleteDistributionResponse DeleteDistribution(DeleteDistributionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDistributionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDistributionResponseUnmarshaller.Instance;return Invoke<DeleteDistributionResponse>(request, options);}


public final long next() {assert hasNext();long result = currentValues[pOff++];if (pOff == currentCount) {vOff += 1;pOff = 0;fillBlock();}return result;}

public long Next(){Debug.Assert(HasNext);long result = currentValues[pOff++];if (pOff == currentCount){vOff += 1;pOff = 0;if (vOff <= outerInstance.valuesOff){FillValues();}else{currentCount = 0;}}return result;}

[User] public final long next() {assert hasNext();long result = currentValues[pOff++];if (pOff == currentCount) {vOff += 1;pOff = 0;fillBlock();}return result;}

[Assistant] public long Next(){Debug.Assert(HasNext);long result = currentValues[pOff++];if (pOff == currentCount){vOff += 1;pOff = 0;if (vOff <= outerInstance.valuesOff){FillValues();}else{currentCount = 0;}}return result;}


public AttachInstancesToLoadBalancerResult attachInstancesToLoadBalancer(AttachInstancesToLoadBalancerRequest request) {request = beforeClientExecution(request);return executeAttachInstancesToLoadBalancer(request);}

public virtual AttachInstancesToLoadBalancerResponse AttachInstancesToLoadBalancer(AttachInstancesToLoadBalancerRequest request){var options = new InvokeOptions();options.RequestMarshaller = AttachInstancesToLoadBalancerRequestMarshaller.Instance;options.ResponseUnmarshaller = AttachInstancesToLoadBalancerResponseUnmarshaller.Instance;return Invoke<AttachInstancesToLoadBalancerResponse>(request, options);}

[User] public AttachInstancesToLoadBalancerResult attachInstancesToLoadBalancer(AttachInstancesToLoadBalancerRequest request) {request = beforeClientExecution(request);return executeAttachInstancesToLoadBalancer(request);}

[Assistant] public virtual AttachInstancesToLoadBalancerResponse AttachInstancesToLoadBalancer(AttachInstancesToLoadBalancerRequest request){var options = new InvokeOptions();options.RequestMarshaller = AttachInstancesToLoadBalancerRequestMarshaller.Instance;options.ResponseUnmarshaller = AttachInstancesToLoadBalancerResponseUnmarshaller.Instance;return Invoke<AttachInstancesToLoadBalancerResponse>(request, options);}


public PrintSetupRecord(RecordInputStream in) {field_1_paper_size    = in.readShort();field_2_scale         = in.readShort();field_3_page_start    = in.readShort();field_4_fit_width     = in.readShort();field_5_fit_height    = in.readShort();field_6_options       = in.readShort();field_7_hresolution   = in.readShort();field_8_vresolution   = in.readShort();field_9_headermargin  = in.readDouble();field_10_footermargin = in.readDouble();field_11_copies       = in.readShort();}

public PrintSetupRecord(RecordInputStream in1){field_1_paper_size = in1.ReadShort();field_2_scale = in1.ReadShort();field_3_page_start = in1.ReadShort();field_4_fit_width = in1.ReadShort();field_5_fit_height = in1.ReadShort();field_6_options = in1.ReadShort();field_7_hresolution = in1.ReadShort();field_8_vresolution = in1.ReadShort();field_9_headermargin = in1.ReadDouble();field_10_footermargin = in1.ReadDouble();field_11_copies = in1.ReadShort();}

[User] public PrintSetupRecord(RecordInputStream in) {field_1_paper_size    = in.readShort();field_2_scale         = in.readShort();field_3_page_start    = in.readShort();field_4_fit_width     = in.readShort();field_5_fit_height    = in.readShort();field_6_options       = in.readShort();field_7_hresolution   = in.readShort();field_8_vresolution   = in.readShort();field_9_headermargin  = in.readDouble();field_10_footermargin = in.readDouble();field_11_copies       = in.readShort();}

[Assistant] public PrintSetupRecord(RecordInputStream in1){field_1_paper_size = in1.ReadShort();field_2_scale = in1.ReadShort();field_3_page_start = in1.ReadShort();field_4_fit_width = in1.ReadShort();field_5_fit_height = in1.ReadShort();field_6_options = in1.ReadShort();field_7_hresolution = in1.ReadShort();field_8_vresolution = in1.ReadShort();field_9_headermargin = in1.ReadDouble();field_10_footermargin = in1.ReadDouble();field_11_copies = in1.ReadShort();}


public UpdateNotificationSettingsResult updateNotificationSettings(UpdateNotificationSettingsRequest request) {request = beforeClientExecution(request);return executeUpdateNotificationSettings(request);}

public virtual UpdateNotificationSettingsResponse UpdateNotificationSettings(UpdateNotificationSettingsRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateNotificationSettingsRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateNotificationSettingsResponseUnmarshaller.Instance;return Invoke<UpdateNotificationSettingsResponse>(request, options);}

[User] public UpdateNotificationSettingsResult updateNotificationSettings(UpdateNotificationSettingsRequest request) {request = beforeClientExecution(request);return executeUpdateNotificationSettings(request);}

[Assistant] public virtual UpdateNotificationSettingsResponse UpdateNotificationSettings(UpdateNotificationSettingsRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateNotificationSettingsRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateNotificationSettingsResponseUnmarshaller.Instance;return Invoke<UpdateNotificationSettingsResponse>(request, options);}


public DescribeSnapshotAttributeResult describeSnapshotAttribute(DescribeSnapshotAttributeRequest request) {request = beforeClientExecution(request);return executeDescribeSnapshotAttribute(request);}

public virtual DescribeSnapshotAttributeResponse DescribeSnapshotAttribute(DescribeSnapshotAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeSnapshotAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeSnapshotAttributeResponseUnmarshaller.Instance;return Invoke<DescribeSnapshotAttributeResponse>(request, options);}

[User] public DescribeSnapshotAttributeResult describeSnapshotAttribute(DescribeSnapshotAttributeRequest request) {request = beforeClientExecution(request);return executeDescribeSnapshotAttribute(request);}

[Assistant] public virtual DescribeSnapshotAttributeResponse DescribeSnapshotAttribute(DescribeSnapshotAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeSnapshotAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeSnapshotAttributeResponseUnmarshaller.Instance;return Invoke<DescribeSnapshotAttributeResponse>(request, options);}


public ListDocumentClassificationJobsResult listDocumentClassificationJobs(ListDocumentClassificationJobsRequest request) {request = beforeClientExecution(request);return executeListDocumentClassificationJobs(request);}

public virtual ListDocumentClassificationJobsResponse ListDocumentClassificationJobs(ListDocumentClassificationJobsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDocumentClassificationJobsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDocumentClassificationJobsResponseUnmarshaller.Instance;return Invoke<ListDocumentClassificationJobsResponse>(request, options);}

[User] public ListDocumentClassificationJobsResult listDocumentClassificationJobs(ListDocumentClassificationJobsRequest request) {request = beforeClientExecution(request);return executeListDocumentClassificationJobs(request);}

[Assistant] public virtual ListDocumentClassificationJobsResponse ListDocumentClassificationJobs(ListDocumentClassificationJobsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDocumentClassificationJobsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDocumentClassificationJobsResponseUnmarshaller.Instance;return Invoke<ListDocumentClassificationJobsResponse>(request, options);}


public Item(){parent = (char)0;child = (char)0;}

[User] public Item() {parent = 0;child = 0;}

[Assistant] public Item(){parent = (char)0;child = (char)0;}


public static final AbbreviatedObjectId fromObjectId(AnyObjectId id) {return new AbbreviatedObjectId(Constants.OBJECT_ID_STRING_LENGTH,id.w1, id.w2, id.w3, id.w4, id.w5);}

public static NGit.AbbreviatedObjectId FromObjectId(AnyObjectId id){return new NGit.AbbreviatedObjectId(Constants.OBJECT_ID_STRING_LENGTH, id.w1, id.w2, id.w3, id.w4, id.w5);}

[User] public static final AbbreviatedObjectId fromObjectId(AnyObjectId id) {return new AbbreviatedObjectId(Constants.OBJECT_ID_STRING_LENGTH,id.w1, id.w2, id.w3, id.w4, id.w5);}

[Assistant] public static NGit.AbbreviatedObjectId FromObjectId(AnyObjectId id){return new NGit.AbbreviatedObjectId(Constants.OBJECT_ID_STRING_LENGTH, id.w1, id.w2, id.w3, id.w4, id.w5);}


public String format(Object value) {StringBuffer sb = new StringBuffer();formatValue(sb, value);return sb.toString();}

public String Format(Object value){StringBuilder sb = new StringBuilder();FormatValue(sb, value);return sb.ToString();}

[User] public String format(Object value) {StringBuffer sb = new StringBuffer();formatValue(sb, value);return sb.toString();}

[Assistant] public String Format(Object value){StringBuilder sb = new StringBuilder();FormatValue(sb, value);return sb.ToString();}


public void processContinueRecord( byte[] record ){rawDataContainer.concatenate(record);}

public void ProcessContinueRecord(byte[] record){rawDataContainer.Concatenate(record);}

[User] public void processContinueRecord( byte[] record ){rawDataContainer.concatenate(record);}

[Assistant] public void ProcessContinueRecord(byte[] record){rawDataContainer.Concatenate(record);}


public ListenerHandle addChangeListener(ConfigChangedListener listener) {return listeners.addConfigChangedListener(listener);}

public virtual ListenerHandle AddChangeListener(ConfigChangedListener listener){return listeners.AddConfigChangedListener(listener);}

[User] public ListenerHandle addChangeListener(ConfigChangedListener listener) {return listeners.addConfigChangedListener(listener);}

[Assistant] public virtual ListenerHandle AddChangeListener(ConfigChangedListener listener){return listeners.AddConfigChangedListener(listener);}


public BlendedTermQuery build() {return new BlendedTermQuery(ArrayUtil.copyOfSubArray(terms, 0, numTerms),ArrayUtil.copyOfSubArray(boosts, 0, numTerms),ArrayUtil.copyOfSubArray(contexts, 0, numTerms),rewriteMethod);}

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

[User] public BlendedTermQuery build() {return new BlendedTermQuery(ArrayUtil.copyOfSubArray(terms, 0, numTerms),ArrayUtil.copyOfSubArray(boosts, 0, numTerms),ArrayUtil.copyOfSubArray(contexts, 0, numTerms),rewriteMethod);}

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


public void setFlagByBit(int bitmask, boolean enabled) {if (enabled) {flags |= bitmask;} else {flags &= (0xFFFF ^ bitmask);}}

public void SetFlagByBit(int bitmask, bool enabled){if (enabled){flags |= (short)bitmask;}else{flags &= (short)(0xFFFF ^ bitmask);}}

[User] public void setFlagByBit(int bitmask, boolean enabled) {if (enabled) {flags |= bitmask;} else {flags &= (0xFFFF ^ bitmask);}}

[Assistant] public void SetFlagByBit(int bitmask, bool enabled){if (enabled){flags |= (short)bitmask;}else{flags &= (short)(0xFFFF ^ bitmask);}}


public static double calculate(double pStartDateVal, double pEndDateVal, int basis) throws EvaluationException {if (basis < 0 || basis >= 5) {throw new EvaluationException(ErrorEval.NUM_ERROR);}int startDateVal = (int) Math.floor(pStartDateVal);int endDateVal = (int) Math.floor(pEndDateVal);if (startDateVal == endDateVal) {return 0;}if (startDateVal > endDateVal) {int temp = startDateVal;startDateVal = endDateVal;endDateVal = temp;}switch (basis) {case 0: return basis0(startDateVal, endDateVal);case 1: return basis1(startDateVal, endDateVal);case 2: return basis2(startDateVal, endDateVal);case 3: return basis3(startDateVal, endDateVal);case 4: return basis4(startDateVal, endDateVal);}throw new IllegalStateException("cannot happen");}

public static double Calculate(double pStartDateVal, double pEndDateVal, int basis){if (basis < 0 || basis >= 5){throw new EvaluationException(ErrorEval.NUM_ERROR);}int startDateVal = (int)Math.Floor(pStartDateVal);int endDateVal = (int)Math.Floor(pEndDateVal);if (startDateVal == endDateVal){return 0;}if (startDateVal > endDateVal){int temp = startDateVal;startDateVal = endDateVal;endDateVal = temp;}switch (basis){case 0: return Basis0(startDateVal, endDateVal);case 1: return Basis1(startDateVal, endDateVal);case 2: return Basis2(startDateVal, endDateVal);case 3: return Basis3(startDateVal, endDateVal);case 4: return Basis4(startDateVal, endDateVal);}throw new InvalidOperationException("cannot happen");}

[User] public static double calculate(double pStartDateVal, double pEndDateVal, int basis) throws EvaluationException {if (basis < 0 || basis >= 5) {throw new EvaluationException(ErrorEval.NUM_ERROR);}int startDateVal = (int) Math.floor(pStartDateVal);int endDateVal = (int) Math.floor(pEndDateVal);if (startDateVal == endDateVal) {return 0;}if (startDateVal > endDateVal) {int temp = startDateVal;startDateVal = endDateVal;endDateVal = temp;}switch (basis) {case 0: return basis0(startDateVal, endDateVal);case 1: return basis1(startDateVal, endDateVal);case 2: return basis2(startDateVal, endDateVal);case 3: return basis3(startDateVal, endDateVal);case 4: return basis4(startDateVal, endDateVal);}throw new IllegalStateException("cannot happen");}

[Assistant] public static double Calculate(double pStartDateVal, double pEndDateVal, int basis){if (basis < 0 || basis >= 5){throw new EvaluationException(ErrorEval.NUM_ERROR);}int startDateVal = (int)Math.Floor(pStartDateVal);int endDateVal = (int)Math.Floor(pEndDateVal);if (startDateVal == endDateVal){return 0;}if (startDateVal > endDateVal){int temp = startDateVal;startDateVal = endDateVal;endDateVal = temp;}switch (basis){case 0: return Basis0(startDateVal, endDateVal);case 1: return Basis1(startDateVal, endDateVal);case 2: return Basis2(startDateVal, endDateVal);case 3: return Basis3(startDateVal, endDateVal);case 4: return Basis4(startDateVal, endDateVal);}throw new InvalidOperationException("cannot happen");}


public CharSequence toQueryString(EscapeQuerySyntax escapeSyntaxParser) {if (getChildren() == null || getChildren().size() == 0)return "";StringBuilder sb = new StringBuilder();String filler = "";for (QueryNode child : getChildren()) {sb.append(filler).append(child.toQueryString(escapeSyntaxParser));filler = " ";}if ((getParent() != null && getParent() instanceof GroupQueryNode)|| isRoot())return sb.toString();elsereturn "( " + sb.toString() + " )";}

public override string ToQueryString(IEscapeQuerySyntax escapeSyntaxParser){var children = GetChildren();if (children == null || children.Count == 0)return "";StringBuilder sb = new StringBuilder();string filler = "";foreach (IQueryNode child in children){sb.Append(filler).Append(child.ToQueryString(escapeSyntaxParser));filler = " ";}if ((Parent != null && Parent is GroupQueryNode)|| IsRoot)return sb.ToString();elsereturn "( " + sb.ToString() + " )";}

[User] public CharSequence toQueryString(EscapeQuerySyntax escapeSyntaxParser) {if (getChildren() == null || getChildren().size() == 0)return "";StringBuilder sb = new StringBuilder();String filler = "";for (QueryNode child : getChildren()) {sb.append(filler).append(child.toQueryString(escapeSyntaxParser));filler = " ";}if ((getParent() != null && getParent() instanceof GroupQueryNode)|| isRoot())return sb.toString();elsereturn "( " + sb.toString() + " )";}

[Assistant] public override string ToQueryString(IEscapeQuerySyntax escapeSyntaxParser){var children = GetChildren();if (children == null || children.Count == 0)return "";StringBuilder sb = new StringBuilder();string filler = "";foreach (IQueryNode child in children){sb.Append(filler).Append(child.ToQueryString(escapeSyntaxParser));filler = " ";}if ((Parent != null && Parent is GroupQueryNode)|| IsRoot)return sb.ToString();elsereturn "( " + sb.ToString() + " )";}


public ByteBuffer putDouble(int index, double value) {throw new ReadOnlyBufferException();}

public override java.nio.ByteBuffer putDouble(int index, double value){throw new java.nio.ReadOnlyBufferException();}

[User] public ByteBuffer putDouble(int index, double value) {throw new ReadOnlyBufferException();}

[Assistant] public override java.nio.ByteBuffer putDouble(int index, double value){throw new java.nio.ReadOnlyBufferException();}


public GetVoiceConnectorGroupResult getVoiceConnectorGroup(GetVoiceConnectorGroupRequest request) {request = beforeClientExecution(request);return executeGetVoiceConnectorGroup(request);}

public virtual GetVoiceConnectorGroupResponse GetVoiceConnectorGroup(GetVoiceConnectorGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetVoiceConnectorGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = GetVoiceConnectorGroupResponseUnmarshaller.Instance;return Invoke<GetVoiceConnectorGroupResponse>(request, options);}

[User] public GetVoiceConnectorGroupResult getVoiceConnectorGroup(GetVoiceConnectorGroupRequest request) {request = beforeClientExecution(request);return executeGetVoiceConnectorGroup(request);}

[Assistant] public virtual GetVoiceConnectorGroupResponse GetVoiceConnectorGroup(GetVoiceConnectorGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetVoiceConnectorGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = GetVoiceConnectorGroupResponseUnmarshaller.Instance;return Invoke<GetVoiceConnectorGroupResponse>(request, options);}


public BatchUpdateUserResult batchUpdateUser(BatchUpdateUserRequest request) {request = beforeClientExecution(request);return executeBatchUpdateUser(request);}

public virtual BatchUpdateUserResponse BatchUpdateUser(BatchUpdateUserRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchUpdateUserRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchUpdateUserResponseUnmarshaller.Instance;return Invoke<BatchUpdateUserResponse>(request, options);}

[User] public BatchUpdateUserResult batchUpdateUser(BatchUpdateUserRequest request) {request = beforeClientExecution(request);return executeBatchUpdateUser(request);}

[Assistant] public virtual BatchUpdateUserResponse BatchUpdateUser(BatchUpdateUserRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchUpdateUserRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchUpdateUserResponseUnmarshaller.Instance;return Invoke<BatchUpdateUserResponse>(request, options);}


public String toString() {return new String(chars, offset, length);}

public override string ToString(){return new string(chars, Offset, Length);}

[User] public String toString() {return new String(chars, offset, length);}

[Assistant] public override string ToString(){return new string(chars, Offset, Length);}


public DescribeStorageResult describeStorage(DescribeStorageRequest request) {request = beforeClientExecution(request);return executeDescribeStorage(request);}

public virtual DescribeStorageResponse DescribeStorage(DescribeStorageRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeStorageRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeStorageResponseUnmarshaller.Instance;return Invoke<DescribeStorageResponse>(request, options);}

[User] public DescribeStorageResult describeStorage(DescribeStorageRequest request) {request = beforeClientExecution(request);return executeDescribeStorage(request);}

[Assistant] public virtual DescribeStorageResponse DescribeStorage(DescribeStorageRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeStorageRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeStorageResponseUnmarshaller.Instance;return Invoke<DescribeStorageResponse>(request, options);}


[User] public void close() {flush();}

[Assistant] public override void close(){flush();}


public void close() throws IOException {super.close();}

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

[User] public void close() throws IOException {super.close();}

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


public final void backup(int amount) {bufferPosition -= amount;}

public void BackUp(int amount){bufferPosition -= amount;}

[User] public final void backup(int amount) {bufferPosition -= amount;}

[Assistant] public void BackUp(int amount){bufferPosition -= amount;}


public UpdateDashboardPublishedVersionResult updateDashboardPublishedVersion(UpdateDashboardPublishedVersionRequest request) {request = beforeClientExecution(request);return executeUpdateDashboardPublishedVersion(request);}

public virtual UpdateDashboardPublishedVersionResponse UpdateDashboardPublishedVersion(UpdateDashboardPublishedVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDashboardPublishedVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDashboardPublishedVersionResponseUnmarshaller.Instance;return Invoke<UpdateDashboardPublishedVersionResponse>(request, options);}

[User] public UpdateDashboardPublishedVersionResult updateDashboardPublishedVersion(UpdateDashboardPublishedVersionRequest request) {request = beforeClientExecution(request);return executeUpdateDashboardPublishedVersion(request);}

[Assistant] public virtual UpdateDashboardPublishedVersionResponse UpdateDashboardPublishedVersion(UpdateDashboardPublishedVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDashboardPublishedVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDashboardPublishedVersionResponseUnmarshaller.Instance;return Invoke<UpdateDashboardPublishedVersionResponse>(request, options);}


public DocumentStoredFieldVisitor(String... fields) {fieldsToAdd = new HashSet<>(fields.length);for(String field : fields) {fieldsToAdd.add(field);}}

public DocumentStoredFieldVisitor(params string[] fields){fieldsToAdd = new JCG.HashSet<string>();foreach (string field in fields){fieldsToAdd.Add(field);}}

[User] public DocumentStoredFieldVisitor(String... fields) {fieldsToAdd = new HashSet<>(fields.length);for(String field : fields) {fieldsToAdd.add(field);}}

[Assistant] public DocumentStoredFieldVisitor(params string[] fields){fieldsToAdd = new JCG.HashSet<string>();foreach (string field in fields){fieldsToAdd.Add(field);}}


public ResumeGameServerGroupResult resumeGameServerGroup(ResumeGameServerGroupRequest request) {request = beforeClientExecution(request);return executeResumeGameServerGroup(request);}

public virtual ResumeGameServerGroupResponse ResumeGameServerGroup(ResumeGameServerGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ResumeGameServerGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ResumeGameServerGroupResponseUnmarshaller.Instance;return Invoke<ResumeGameServerGroupResponse>(request, options);}

[User] public ResumeGameServerGroupResult resumeGameServerGroup(ResumeGameServerGroupRequest request) {request = beforeClientExecution(request);return executeResumeGameServerGroup(request);}

[Assistant] public virtual ResumeGameServerGroupResponse ResumeGameServerGroup(ResumeGameServerGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ResumeGameServerGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ResumeGameServerGroupResponseUnmarshaller.Instance;return Invoke<ResumeGameServerGroupResponse>(request, options);}


public PushCommand setPushAll() {refSpecs.add(Transport.REFSPEC_PUSH_ALL);return this;}

public virtual NGit.Api.PushCommand SetPushAll(){refSpecs.AddItem(NGit.Transport.Transport.REFSPEC_PUSH_ALL);return this;}

[User] public PushCommand setPushAll() {refSpecs.add(Transport.REFSPEC_PUSH_ALL);return this;}

[Assistant] public virtual NGit.Api.PushCommand SetPushAll(){refSpecs.AddItem(NGit.Transport.Transport.REFSPEC_PUSH_ALL);return this;}


public DBSnapshot createDBSnapshot(CreateDBSnapshotRequest request) {request = beforeClientExecution(request);return executeCreateDBSnapshot(request);}

public virtual CreateDBSnapshotResponse CreateDBSnapshot(CreateDBSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDBSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDBSnapshotResponseUnmarshaller.Instance;return Invoke<CreateDBSnapshotResponse>(request, options);}

[User] public DBSnapshot createDBSnapshot(CreateDBSnapshotRequest request) {request = beforeClientExecution(request);return executeCreateDBSnapshot(request);}

[Assistant] public virtual CreateDBSnapshotResponse CreateDBSnapshot(CreateDBSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDBSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDBSnapshotResponseUnmarshaller.Instance;return Invoke<CreateDBSnapshotResponse>(request, options);}


public boolean willSoonExpire() {if (roleSessionDurationSeconds == 0) {return false;}long now = System.currentTimeMillis();double expireFact = 0.95;return roleSessionDurationSeconds * expireFact < (now - sessionStartedTimeInMilliSeconds) / 1000.0;}

public virtual bool WillSoonExpire(){if (roleSessionDurationSeconds == 0){return false;}var now = DateTime.UtcNow.currentTimeMillis();return roleSessionDurationSeconds * expireFact <(now - sessionStartedTimeInMilliSeconds) / 1000.0;}

[User] public boolean willSoonExpire() {if (roleSessionDurationSeconds == 0) {return false;}long now = System.currentTimeMillis();double expireFact = 0.95;return roleSessionDurationSeconds * expireFact < (now - sessionStartedTimeInMilliSeconds) / 1000.0;}

[Assistant] public virtual bool WillSoonExpire(){if (roleSessionDurationSeconds == 0){return false;}var now = DateTime.UtcNow.currentTimeMillis();return roleSessionDurationSeconds * expireFact <(now - sessionStartedTimeInMilliSeconds) / 1000.0;}


public List<Interval> getIntervals() {return intervals;}

public virtual IList<Interval> GetIntervals(){return intervals;}

[User] public List<Interval> getIntervals() {return intervals;}

[Assistant] public virtual IList<Interval> GetIntervals(){return intervals;}


public GetNamespaceRequest() {super("cr", "2016-06-07", "GetNamespace", "cr");setUriPattern("/namespace/[Namespace]");setMethod(MethodType.GET);}

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

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

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


public DeleteVpcRequest(String vpcId) {setVpcId(vpcId);}

public DeleteVpcRequest(string vpcId){_vpcId = vpcId;}

[User] public DeleteVpcRequest(String vpcId) {setVpcId(vpcId);}

[Assistant] public DeleteVpcRequest(string vpcId){_vpcId = vpcId;}


public long ramBytesUsed() {long bytesUsed = BASE_RAM_BYTES_USED;if (dict != null) {bytesUsed += dict.ramBytesUsed();}return bytesUsed;}

public long RamBytesUsed(){return ((fst != null) ? fst.GetSizeInBytes() : 0);}

[User] public long ramBytesUsed() {long bytesUsed = BASE_RAM_BYTES_USED;if (dict != null) {bytesUsed += dict.ramBytesUsed();}return bytesUsed;}

[Assistant] public long RamBytesUsed(){return ((fst != null) ? fst.GetSizeInBytes() : 0);}


public final ValueEval evaluate(ValueEval[] args, int srcRow, int srcCol) {if (args.length < 1) {return ErrorEval.VALUE_INVALID;}boolean boolResult;try {boolResult = calculate(args);} catch (EvaluationException e) {return e.getErrorEval();}return BoolEval.valueOf(boolResult);}

public ValueEval Evaluate(ValueEval[] args, int srcRow, int srcCol){if (args.Length < 1){return ErrorEval.VALUE_INVALID;}bool boolResult;try{boolResult = Calculate(args);}catch (EvaluationException e){return e.GetErrorEval();}return BoolEval.ValueOf(boolResult);}

[User] public final ValueEval evaluate(ValueEval[] args, int srcRow, int srcCol) {if (args.length < 1) {return ErrorEval.VALUE_INVALID;}boolean boolResult;try {boolResult = calculate(args);} catch (EvaluationException e) {return e.getErrorEval();}return BoolEval.valueOf(boolResult);}

[Assistant] public ValueEval Evaluate(ValueEval[] args, int srcRow, int srcCol){if (args.Length < 1){return ErrorEval.VALUE_INVALID;}bool boolResult;try{boolResult = Calculate(args);}catch (EvaluationException e){return e.GetErrorEval();}return BoolEval.ValueOf(boolResult);}


public void println(String str) {synchronized (lock) {print(str);println();}}

public virtual void println(string str){lock (@lock){print(str);println();}}

[User] public void println(String str) {synchronized (lock) {print(str);println();}}

[Assistant] public virtual void println(string str){lock (@lock){print(str);println();}}


public TypedPropertyValue( int type, Object value ) {_type = type;_value = value;}

public TypedPropertyValue(int type, Object value){_type = type;_value = value;}

[User] public TypedPropertyValue( int type, Object value ) {_type = type;_value = value;}

[Assistant] public TypedPropertyValue(int type, Object value){_type = type;_value = value;}


public FloatBuffer duplicate() {ByteBuffer bb = byteBuffer.duplicate().order(byteBuffer.order());FloatToByteBufferAdapter buf = new FloatToByteBufferAdapter(bb);buf.limit = limit;buf.position = position;buf.mark = mark;return buf;}

public override java.nio.FloatBuffer duplicate(){java.nio.ByteBuffer bb = byteBuffer.duplicate().order(byteBuffer.order());java.nio.FloatToByteBufferAdapter buf = new java.nio.FloatToByteBufferAdapter(bb);buf._limit = _limit;buf._position = _position;buf._mark = _mark;return buf;}

[User] public FloatBuffer duplicate() {ByteBuffer bb = byteBuffer.duplicate().order(byteBuffer.order());FloatToByteBufferAdapter buf = new FloatToByteBufferAdapter(bb);buf.limit = limit;buf.position = position;buf.mark = mark;return buf;}

[Assistant] public override java.nio.FloatBuffer duplicate(){java.nio.ByteBuffer bb = byteBuffer.duplicate().order(byteBuffer.order());java.nio.FloatToByteBufferAdapter buf = new java.nio.FloatToByteBufferAdapter(bb);buf._limit = _limit;buf._position = _position;buf._mark = _mark;return buf;}


public MigrateWorkspaceResult migrateWorkspace(MigrateWorkspaceRequest request) {request = beforeClientExecution(request);return executeMigrateWorkspace(request);}

public virtual MigrateWorkspaceResponse MigrateWorkspace(MigrateWorkspaceRequest request){var options = new InvokeOptions();options.RequestMarshaller = MigrateWorkspaceRequestMarshaller.Instance;options.ResponseUnmarshaller = MigrateWorkspaceResponseUnmarshaller.Instance;return Invoke<MigrateWorkspaceResponse>(request, options);}

[User] public MigrateWorkspaceResult migrateWorkspace(MigrateWorkspaceRequest request) {request = beforeClientExecution(request);return executeMigrateWorkspace(request);}

[Assistant] public virtual MigrateWorkspaceResponse MigrateWorkspace(MigrateWorkspaceRequest request){var options = new InvokeOptions();options.RequestMarshaller = MigrateWorkspaceRequestMarshaller.Instance;options.ResponseUnmarshaller = MigrateWorkspaceResponseUnmarshaller.Instance;return Invoke<MigrateWorkspaceResponse>(request, options);}


public GetRequestValidatorResult getRequestValidator(GetRequestValidatorRequest request) {request = beforeClientExecution(request);return executeGetRequestValidator(request);}

public virtual GetRequestValidatorResponse GetRequestValidator(GetRequestValidatorRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRequestValidatorRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRequestValidatorResponseUnmarshaller.Instance;return Invoke<GetRequestValidatorResponse>(request, options);}

[User] public GetRequestValidatorResult getRequestValidator(GetRequestValidatorRequest request) {request = beforeClientExecution(request);return executeGetRequestValidator(request);}

[Assistant] public virtual GetRequestValidatorResponse GetRequestValidator(GetRequestValidatorRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRequestValidatorRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRequestValidatorResponseUnmarshaller.Instance;return Invoke<GetRequestValidatorResponse>(request, options);}


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

public override string ToString(){return ToString(false);}

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

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


public ForgetSmartHomeAppliancesResult forgetSmartHomeAppliances(ForgetSmartHomeAppliancesRequest request) {request = beforeClientExecution(request);return executeForgetSmartHomeAppliances(request);}

public virtual ForgetSmartHomeAppliancesResponse ForgetSmartHomeAppliances(ForgetSmartHomeAppliancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ForgetSmartHomeAppliancesRequestMarshaller.Instance;options.ResponseUnmarshaller = ForgetSmartHomeAppliancesResponseUnmarshaller.Instance;return Invoke<ForgetSmartHomeAppliancesResponse>(request, options);}

[User] public ForgetSmartHomeAppliancesResult forgetSmartHomeAppliances(ForgetSmartHomeAppliancesRequest request) {request = beforeClientExecution(request);return executeForgetSmartHomeAppliances(request);}

[Assistant] public virtual ForgetSmartHomeAppliancesResponse ForgetSmartHomeAppliances(ForgetSmartHomeAppliancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ForgetSmartHomeAppliancesRequestMarshaller.Instance;options.ResponseUnmarshaller = ForgetSmartHomeAppliancesResponseUnmarshaller.Instance;return Invoke<ForgetSmartHomeAppliancesResponse>(request, options);}


public DeleteApiResult deleteApi(DeleteApiRequest request) {request = beforeClientExecution(request);return executeDeleteApi(request);}

public virtual DeleteApiResponse DeleteApi(DeleteApiRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteApiRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteApiResponseUnmarshaller.Instance;return Invoke<DeleteApiResponse>(request, options);}

[User] public DeleteApiResult deleteApi(DeleteApiRequest request) {request = beforeClientExecution(request);return executeDeleteApi(request);}

[Assistant] public virtual DeleteApiResponse DeleteApi(DeleteApiRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteApiRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteApiResponseUnmarshaller.Instance;return Invoke<DeleteApiResponse>(request, options);}


public void setKeyProgressIncrement(int increment) {mKeyProgressIncrement = increment < 0 ? -increment : increment;}

public virtual void setKeyProgressIncrement(int increment){mKeyProgressIncrement = increment < 0 ? -increment : increment;}

[User] public void setKeyProgressIncrement(int increment) {mKeyProgressIncrement = increment < 0 ? -increment : increment;}

[Assistant] public virtual void setKeyProgressIncrement(int increment){mKeyProgressIncrement = increment < 0 ? -increment : increment;}


public boolean addAll(final IntList c){if (c._limit != 0){if ((_limit + c._limit) > _array.length){growArray(_limit + c._limit);}System.arraycopy(c._array, 0, _array, _limit, c._limit);_limit += c._limit;}return true;}

public bool AddAll(IntList c){if (c._limit != 0){if ((_limit + c._limit) > _array.Length){growArray(_limit + c._limit);}Array.Copy(c._array, 0, _array, _limit, c._limit);_limit += c._limit;}return true;}

[User] public boolean addAll(final IntList c){if (c._limit != 0){if ((_limit + c._limit) > _array.length){growArray(_limit + c._limit);}System.arraycopy(c._array, 0, _array, _limit, c._limit);_limit += c._limit;}return true;}

[Assistant] public bool AddAll(IntList c){if (c._limit != 0){if ((_limit + c._limit) > _array.Length){growArray(_limit + c._limit);}Array.Copy(c._array, 0, _array, _limit, c._limit);_limit += c._limit;}return true;}


public DVRecord createDVRecord(HSSFSheet sheet) {FormulaPair fp = _constraint.createFormulas(sheet);return new DVRecord(_constraint.getValidationType(),_constraint.getOperator(),_errorStyle, _emptyCellAllowed, getSuppressDropDownArrow(),_constraint.getValidationType()==ValidationType.LIST && _constraint.getExplicitListValues()!=null,_showPromptBox, _prompt_title, _prompt_text,_showErrorBox, _error_title, _error_text,fp.getFormula1(), fp.getFormula2(),_regions);}

public DVRecord CreateDVRecord(HSSFSheet sheet){NPOI.HSSF.UserModel.DVConstraint.FormulaPair fp = _constraint.CreateFormulas(sheet);return new DVRecord(_constraint.GetValidationType(),_constraint.Operator,_errorStyle, _emptyCellAllowed, SuppressDropDownArrow,_constraint.GetValidationType() == ValidationType.LIST && _constraint.ExplicitListValues != null,_ShowPromptBox, _prompt_title, _prompt_text,_ShowErrorBox, _error_title, _error_text,fp.Formula1, fp.Formula2,_regions);}

[User] public DVRecord createDVRecord(HSSFSheet sheet) {FormulaPair fp = _constraint.createFormulas(sheet);return new DVRecord(_constraint.getValidationType(),_constraint.getOperator(),_errorStyle, _emptyCellAllowed, getSuppressDropDownArrow(),_constraint.getValidationType()==ValidationType.LIST && _constraint.getExplicitListValues()!=null,_showPromptBox, _prompt_title, _prompt_text,_showErrorBox, _error_title, _error_text,fp.getFormula1(), fp.getFormula2(),_regions);}

[Assistant] public DVRecord CreateDVRecord(HSSFSheet sheet){NPOI.HSSF.UserModel.DVConstraint.FormulaPair fp = _constraint.CreateFormulas(sheet);return new DVRecord(_constraint.GetValidationType(),_constraint.Operator,_errorStyle, _emptyCellAllowed, SuppressDropDownArrow,_constraint.GetValidationType() == ValidationType.LIST && _constraint.ExplicitListValues != null,_ShowPromptBox, _prompt_title, _prompt_text,_ShowErrorBox, _error_title, _error_text,fp.Formula1, fp.Formula2,_regions);}


public boolean evaluate(int cmpResult) {switch (_code) {case NONE:case EQ:return cmpResult == 0;case NE: return cmpResult != 0;case LT: return cmpResult <  0;case LE: return cmpResult <= 0;case GT: return cmpResult >  0;case GE: return cmpResult >= 0;}throw new RuntimeException("Cannot call boolean evaluate on non-equality operator '"+ _representation + "'");}

public bool Evaluate(bool cmpResult){switch (_code){case NONE:case EQ:return cmpResult;case NE:return !cmpResult;}throw new Exception("Cannot call bool Evaluate on non-equality operator '"+ _representation + "'");}

[User] public boolean evaluate(int cmpResult) {switch (_code) {case NONE:case EQ:return cmpResult == 0;case NE: return cmpResult != 0;case LT: return cmpResult <  0;case LE: return cmpResult <= 0;case GT: return cmpResult >  0;case GE: return cmpResult >= 0;}throw new RuntimeException("Cannot call boolean evaluate on non-equality operator '"+ _representation + "'");}

[Assistant] public bool Evaluate(bool cmpResult){switch (_code){case NONE:case EQ:return cmpResult;case NE:return !cmpResult;}throw new Exception("Cannot call bool Evaluate on non-equality operator '"+ _representation + "'");}


public boolean isCancelled() {return false;}

public override bool IsCancelled(){return false;}

[User] public boolean isCancelled() {return false;}

[Assistant] public override bool IsCancelled(){return false;}


public ListHoursOfOperationsResult listHoursOfOperations(ListHoursOfOperationsRequest request) {request = beforeClientExecution(request);return executeListHoursOfOperations(request);}

public virtual ListHoursOfOperationsResponse ListHoursOfOperations(ListHoursOfOperationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListHoursOfOperationsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListHoursOfOperationsResponseUnmarshaller.Instance;return Invoke<ListHoursOfOperationsResponse>(request, options);}

[User] public ListHoursOfOperationsResult listHoursOfOperations(ListHoursOfOperationsRequest request) {request = beforeClientExecution(request);return executeListHoursOfOperations(request);}

[Assistant] public virtual ListHoursOfOperationsResponse ListHoursOfOperations(ListHoursOfOperationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListHoursOfOperationsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListHoursOfOperationsResponseUnmarshaller.Instance;return Invoke<ListHoursOfOperationsResponse>(request, options);}


public int serialize(int offset, byte [] data) {throw new RecordFormatException("Label Records are supported READ ONLY...convert to LabelSST");}

public override int Serialize(int offset, byte [] data){throw new RecordFormatException("Label Records are supported Read ONLY...Convert to LabelSST");}

[User] public int serialize(int offset, byte [] data) {throw new RecordFormatException("Label Records are supported READ ONLY...convert to LabelSST");}

[Assistant] public override int Serialize(int offset, byte [] data){throw new RecordFormatException("Label Records are supported Read ONLY...Convert to LabelSST");}


public URI normalize() {if (opaque) {return this;}String normalizedPath = normalize(path, false);if (path.equals(normalizedPath)) {return this;}URI result = duplicate();result.path = normalizedPath;result.setSchemeSpecificPart();return result;}

public java.net.URI normalize(){if (opaque){return this;}string normalizedPath = normalize(path, false);if (path.Equals(normalizedPath)){return this;}java.net.URI result = duplicate();result.path = normalizedPath;result.setSchemeSpecificPart();return result;}

[User] public URI normalize() {if (opaque) {return this;}String normalizedPath = normalize(path, false);if (path.equals(normalizedPath)) {return this;}URI result = duplicate();result.path = normalizedPath;result.setSchemeSpecificPart();return result;}

[Assistant] public java.net.URI normalize(){if (opaque){return this;}string normalizedPath = normalize(path, false);if (path.Equals(normalizedPath)){return this;}java.net.URI result = duplicate();result.path = normalizedPath;result.setSchemeSpecificPart();return result;}


public FreeRefFunction findUserDefinedFunction(String functionName) {return _udfFinder.findFunction(functionName);}

public FreeRefFunction FindUserDefinedFunction(String functionName){return _udfFinder.FindFunction(functionName);}

[User] public FreeRefFunction findUserDefinedFunction(String functionName) {return _udfFinder.findFunction(functionName);}

[Assistant] public FreeRefFunction FindUserDefinedFunction(String functionName){return _udfFinder.FindFunction(functionName);}


public UpdateGatewayResponseResult updateGatewayResponse(UpdateGatewayResponseRequest request) {request = beforeClientExecution(request);return executeUpdateGatewayResponse(request);}

public virtual UpdateGatewayResponseResponse UpdateGatewayResponse(UpdateGatewayResponseRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateGatewayResponseRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateGatewayResponseResponseUnmarshaller.Instance;return Invoke<UpdateGatewayResponseResponse>(request, options);}

[User] public UpdateGatewayResponseResult updateGatewayResponse(UpdateGatewayResponseRequest request) {request = beforeClientExecution(request);return executeUpdateGatewayResponse(request);}

[Assistant] public virtual UpdateGatewayResponseResponse UpdateGatewayResponse(UpdateGatewayResponseRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateGatewayResponseRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateGatewayResponseResponseUnmarshaller.Instance;return Invoke<UpdateGatewayResponseResponse>(request, options);}


public GetOperationDetailResult getOperationDetail(GetOperationDetailRequest request) {request = beforeClientExecution(request);return executeGetOperationDetail(request);}

public virtual GetOperationDetailResponse GetOperationDetail(GetOperationDetailRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetOperationDetailRequestMarshaller.Instance;options.ResponseUnmarshaller = GetOperationDetailResponseUnmarshaller.Instance;return Invoke<GetOperationDetailResponse>(request, options);}

[User] public GetOperationDetailResult getOperationDetail(GetOperationDetailRequest request) {request = beforeClientExecution(request);return executeGetOperationDetail(request);}

[Assistant] public virtual GetOperationDetailResponse GetOperationDetail(GetOperationDetailRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetOperationDetailRequestMarshaller.Instance;options.ResponseUnmarshaller = GetOperationDetailResponseUnmarshaller.Instance;return Invoke<GetOperationDetailResponse>(request, options);}


public String toString(String field) {StringBuilder buffer = new StringBuilder();if (!getField().equals(field)) {buffer.append(getField());buffer.append(":");}buffer.append(term.text());return buffer.toString();}

public override string ToString(string field){StringBuilder buffer = new StringBuilder();if (!Field.Equals(field, StringComparison.Ordinal)){buffer.Append(Field);buffer.Append(":");}buffer.Append(Term.Text());buffer.Append(ToStringUtils.Boost(Boost));return buffer.ToString();}

[User] public String toString(String field) {StringBuilder buffer = new StringBuilder();if (!getField().equals(field)) {buffer.append(getField());buffer.append(":");}buffer.append(term.text());return buffer.toString();}

[Assistant] public override string ToString(string field){StringBuilder buffer = new StringBuilder();if (!Field.Equals(field, StringComparison.Ordinal)){buffer.Append(Field);buffer.Append(":");}buffer.Append(Term.Text());buffer.Append(ToStringUtils.Boost(Boost));return buffer.ToString();}


public NameXPtg getNameXPtg(String name, UDFFinder udf) {return getNameXPtg(name, -1, udf);}

public NameXPtg GetNameXPtg(String name, UDFFinder udf){return GetNameXPtg(name, -1, udf);}

[User] public NameXPtg getNameXPtg(String name, UDFFinder udf) {return getNameXPtg(name, -1, udf);}

[Assistant] public NameXPtg GetNameXPtg(String name, UDFFinder udf){return GetNameXPtg(name, -1, udf);}


public String getCharsetName() {return charsetName;}

public virtual string getCharsetName(){return charsetName;}

[User] public String getCharsetName() {return charsetName;}

[Assistant] public virtual string getCharsetName(){return charsetName;}


public DescribeWebsiteCertificateAuthorityResult describeWebsiteCertificateAuthority(DescribeWebsiteCertificateAuthorityRequest request) {request = beforeClientExecution(request);return executeDescribeWebsiteCertificateAuthority(request);}

public virtual DescribeWebsiteCertificateAuthorityResponse DescribeWebsiteCertificateAuthority(DescribeWebsiteCertificateAuthorityRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeWebsiteCertificateAuthorityRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeWebsiteCertificateAuthorityResponseUnmarshaller.Instance;return Invoke<DescribeWebsiteCertificateAuthorityResponse>(request, options);}

[User] public DescribeWebsiteCertificateAuthorityResult describeWebsiteCertificateAuthority(DescribeWebsiteCertificateAuthorityRequest request) {request = beforeClientExecution(request);return executeDescribeWebsiteCertificateAuthority(request);}

[Assistant] public virtual DescribeWebsiteCertificateAuthorityResponse DescribeWebsiteCertificateAuthority(DescribeWebsiteCertificateAuthorityRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeWebsiteCertificateAuthorityRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeWebsiteCertificateAuthorityResponseUnmarshaller.Instance;return Invoke<DescribeWebsiteCertificateAuthorityResponse>(request, options);}


static public double ppmt(double r, int per, int nper, double pv, double fv) {return pmt(r, nper, pv, fv) - ipmt(r, per, nper, pv, fv);}

static public double PPMT(double r, int per, int nper, double pv, double fv){return PMT(r, nper, pv, fv) - IPMT(r, per, nper, pv, fv);}

[User] static public double ppmt(double r, int per, int nper, double pv, double fv) {return pmt(r, nper, pv, fv) - ipmt(r, per, nper, pv, fv);}

[Assistant] static public double PPMT(double r, int per, int nper, double pv, double fv){return PMT(r, nper, pv, fv) - IPMT(r, per, nper, pv, fv);}


public ShortBuffer put(int index, short c) {throw new ReadOnlyBufferException();}

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

[User] public ShortBuffer put(int index, short c) {throw new ReadOnlyBufferException();}

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


public void writeBytes(String value) throws IOException {checkWritePrimitiveTypes();primitiveTypes.writeBytes(value);}

public virtual void writeBytes(string value){throw new System.NotImplementedException();}

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

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


public LinkTable(int numberOfSheets, WorkbookRecordList workbookRecordList) {_workbookRecordList = workbookRecordList;_definedNames = new ArrayList<>();_externalBookBlocks = new ExternalBookBlock[]{new ExternalBookBlock(numberOfSheets),};_externSheetRecord = new ExternSheetRecord();_recordCount = 2;SupBookRecord supbook = _externalBookBlocks[0].getExternalBookRecord();int idx = findFirstRecordLocBySid(CountryRecord.sid);if (idx < 0) {throw new RuntimeException("CountryRecord not found");}_workbookRecordList.add(idx + 1, _externSheetRecord);_workbookRecordList.add(idx + 1, supbook);}

public LinkTable(int numberOfSheets, WorkbookRecordList workbookRecordList){_workbookRecordList = workbookRecordList;_definedNames = new List<NameRecord>();_externalBookBlocks = new ExternalBookBlock[] {new ExternalBookBlock(numberOfSheets),};_externSheetRecord = new ExternSheetRecord();_recordCount = 2;SupBookRecord supbook = _externalBookBlocks[0].GetExternalBookRecord();int idx = FindFirstRecordLocBySid(CountryRecord.sid);if (idx < 0){throw new Exception("CountryRecord not found");}_workbookRecordList.Add(idx + 1, _externSheetRecord);_workbookRecordList.Add(idx + 1, supbook);}

[User] public LinkTable(int numberOfSheets, WorkbookRecordList workbookRecordList) {_workbookRecordList = workbookRecordList;_definedNames = new ArrayList<>();_externalBookBlocks = new ExternalBookBlock[]{new ExternalBookBlock(numberOfSheets),};_externSheetRecord = new ExternSheetRecord();_recordCount = 2;SupBookRecord supbook = _externalBookBlocks[0].getExternalBookRecord();int idx = findFirstRecordLocBySid(CountryRecord.sid);if (idx < 0) {throw new RuntimeException("CountryRecord not found");}_workbookRecordList.add(idx + 1, _externSheetRecord);_workbookRecordList.add(idx + 1, supbook);}

[Assistant] public LinkTable(int numberOfSheets, WorkbookRecordList workbookRecordList){_workbookRecordList = workbookRecordList;_definedNames = new List<NameRecord>();_externalBookBlocks = new ExternalBookBlock[] {new ExternalBookBlock(numberOfSheets),};_externSheetRecord = new ExternSheetRecord();_recordCount = 2;SupBookRecord supbook = _externalBookBlocks[0].GetExternalBookRecord();int idx = FindFirstRecordLocBySid(CountryRecord.sid);if (idx < 0){throw new Exception("CountryRecord not found");}_workbookRecordList.Add(idx + 1, _externSheetRecord);_workbookRecordList.Add(idx + 1, supbook);}


public void remove() {throw new UnsupportedOperationException();}

public void Remove(){throw new NotImplementedException("Unsupported Operations!");}

[User] public void remove() {throw new UnsupportedOperationException();}

[Assistant] public void Remove(){throw new NotImplementedException("Unsupported Operations!");}


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

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

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

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


public void addAll(T[] src, int srcIdx, int srcCnt) {while (0 < srcCnt) {int i = tailBlkIdx;int n = Math.min(srcCnt, BLOCK_SIZE - i);if (n == 0) {add(src[srcIdx++]);srcCnt--;continue;}System.arraycopy(src, srcIdx, tailBlock, i, n);tailBlkIdx += n;size += n;srcIdx += n;srcCnt -= n;}}

public virtual void AddAll(T[] src, int srcIdx, int srcCnt){while (0 < srcCnt){int i = tailBlkIdx;int n = Math.Min(srcCnt, BLOCK_SIZE - i);if (n == 0){AddItem(src[srcIdx++]);srcCnt--;continue;}System.Array.Copy(src, srcIdx, tailBlock, i, n);tailBlkIdx += n;size += n;srcIdx += n;srcCnt -= n;}}

[User] public void addAll(T[] src, int srcIdx, int srcCnt) {while (0 < srcCnt) {int i = tailBlkIdx;int n = Math.min(srcCnt, BLOCK_SIZE - i);if (n == 0) {add(src[srcIdx++]);srcCnt--;continue;}System.arraycopy(src, srcIdx, tailBlock, i, n);tailBlkIdx += n;size += n;srcIdx += n;srcCnt -= n;}}

[Assistant] public virtual void AddAll(T[] src, int srcIdx, int srcCnt){while (0 < srcCnt){int i = tailBlkIdx;int n = Math.Min(srcCnt, BLOCK_SIZE - i);if (n == 0){AddItem(src[srcIdx++]);srcCnt--;continue;}System.Array.Copy(src, srcIdx, tailBlock, i, n);tailBlkIdx += n;size += n;srcIdx += n;srcCnt -= n;}}


public RenewDomainResult renewDomain(RenewDomainRequest request) {request = beforeClientExecution(request);return executeRenewDomain(request);}

public virtual RenewDomainResponse RenewDomain(RenewDomainRequest request){var options = new InvokeOptions();options.RequestMarshaller = RenewDomainRequestMarshaller.Instance;options.ResponseUnmarshaller = RenewDomainResponseUnmarshaller.Instance;return Invoke<RenewDomainResponse>(request, options);}

[User] public RenewDomainResult renewDomain(RenewDomainRequest request) {request = beforeClientExecution(request);return executeRenewDomain(request);}

[Assistant] public virtual RenewDomainResponse RenewDomain(RenewDomainRequest request){var options = new InvokeOptions();options.RequestMarshaller = RenewDomainRequestMarshaller.Instance;options.ResponseUnmarshaller = RenewDomainResponseUnmarshaller.Instance;return Invoke<RenewDomainResponse>(request, options);}


public static boolean isInRange(int i) {return i >= MIN_VALUE && i <= MAX_VALUE;}

public static bool IsInRange(int i){return i >= MIN_VALUE && i <= MAX_VALUE;}

[User] public static boolean isInRange(int i) {return i >= MIN_VALUE && i <= MAX_VALUE;}

[Assistant] public static bool IsInRange(int i){return i >= MIN_VALUE && i <= MAX_VALUE;}


public AddApplicationInputResult addApplicationInput(AddApplicationInputRequest request) {request = beforeClientExecution(request);return executeAddApplicationInput(request);}

public virtual AddApplicationInputResponse AddApplicationInput(AddApplicationInputRequest request){var options = new InvokeOptions();options.RequestMarshaller = AddApplicationInputRequestMarshaller.Instance;options.ResponseUnmarshaller = AddApplicationInputResponseUnmarshaller.Instance;return Invoke<AddApplicationInputResponse>(request, options);}

[User] public AddApplicationInputResult addApplicationInput(AddApplicationInputRequest request) {request = beforeClientExecution(request);return executeAddApplicationInput(request);}

[Assistant] public virtual AddApplicationInputResponse AddApplicationInput(AddApplicationInputRequest request){var options = new InvokeOptions();options.RequestMarshaller = AddApplicationInputRequestMarshaller.Instance;options.ResponseUnmarshaller = AddApplicationInputResponseUnmarshaller.Instance;return Invoke<AddApplicationInputResponse>(request, options);}


public Request<DeletePublicKeyRequest> marshall(DeletePublicKeyRequest deletePublicKeyRequest) {if (deletePublicKeyRequest == null) {throw new SdkClientException("Invalid argument passed to marshall(...)");}Request<DeletePublicKeyRequest> request = new DefaultRequest<DeletePublicKeyRequest>(deletePublicKeyRequest, "AmazonCloudFront");request.setHttpMethod(HttpMethodName.DELETE);if (deletePublicKeyRequest.getIfMatch() != null) {request.addHeader("If-Match", StringUtils.fromString(deletePublicKeyRequest.getIfMatch()));}String uriResourcePath = "/2019-03-26/public-key/{Id}";uriResourcePath = com.amazonaws.transform.PathMarshallers.NON_GREEDY.marshall(uriResourcePath, "Id", deletePublicKeyRequest.getId());request.setResourcePath(uriResourcePath);return request;}

public IRequest Marshall(DeletePublicKeyRequest publicRequest){var request = new DefaultRequest(publicRequest, "Amazon.CloudFront");request.HttpMethod = "DELETE";if(publicRequest.IsSetIfMatch())request.Headers["If-Match"] = publicRequest.IfMatch;if (!publicRequest.IsSetId())throw new AmazonCloudFrontException("Request object does not have required field Id set");request.AddPathResource("{Id}", StringUtils.FromString(publicRequest.Id));request.ResourcePath = "/2019-03-26/public-key/{Id}";request.MarshallerVersion = 2;return request;}

[User] public Request<DeletePublicKeyRequest> marshall(DeletePublicKeyRequest deletePublicKeyRequest) {if (deletePublicKeyRequest == null) {throw new SdkClientException("Invalid argument passed to marshall(...)");}Request<DeletePublicKeyRequest> request = new DefaultRequest<DeletePublicKeyRequest>(deletePublicKeyRequest, "AmazonCloudFront");request.setHttpMethod(HttpMethodName.DELETE);if (deletePublicKeyRequest.getIfMatch() != null) {request.addHeader("If-Match", StringUtils.fromString(deletePublicKeyRequest.getIfMatch()));}String uriResourcePath = "/2019-03-26/public-key/{Id}";uriResourcePath = com.amazonaws.transform.PathMarshallers.NON_GREEDY.marshall(uriResourcePath, "Id", deletePublicKeyRequest.getId());request.setResourcePath(uriResourcePath);return request;}

[Assistant] public IRequest Marshall(DeletePublicKeyRequest publicRequest){var request = new DefaultRequest(publicRequest, "Amazon.CloudFront");request.HttpMethod = "DELETE";if(publicRequest.IsSetIfMatch())request.Headers["If-Match"] = publicRequest.IfMatch;if (!publicRequest.IsSetId())throw new AmazonCloudFrontException("Request object does not have required field Id set");request.AddPathResource("{Id}", StringUtils.FromString(publicRequest.Id));request.ResourcePath = "/2019-03-26/public-key/{Id}";request.MarshallerVersion = 2;return request;}


public boolean matches(ParseTree tree) {return matcher.match(tree, this).succeeded();}

public virtual bool Matches(IParseTree tree){return matcher.Match(tree, this).Succeeded;}

[User] public boolean matches(ParseTree tree) {return matcher.match(tree, this).succeeded();}

[Assistant] public virtual bool Matches(IParseTree tree){return matcher.Match(tree, this).Succeeded;}


public CreateDetectorResult createDetector(CreateDetectorRequest request) {request = beforeClientExecution(request);return executeCreateDetector(request);}

public virtual CreateDetectorResponse CreateDetector(CreateDetectorRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDetectorRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDetectorResponseUnmarshaller.Instance;return Invoke<CreateDetectorResponse>(request, options);}

[User] public CreateDetectorResult createDetector(CreateDetectorRequest request) {request = beforeClientExecution(request);return executeCreateDetector(request);}

[Assistant] public virtual CreateDetectorResponse CreateDetector(CreateDetectorRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDetectorRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDetectorResponseUnmarshaller.Instance;return Invoke<CreateDetectorResponse>(request, options);}


public boolean equals(Object other) {if (other instanceof IndexCommit) {IndexCommit otherCommit = (IndexCommit) other;return otherCommit.getDirectory() == getDirectory() && otherCommit.getGeneration() == getGeneration();} else {return false;}}

public override bool Equals(object other){if (other is IndexCommit){IndexCommit otherCommit = (IndexCommit)other;return otherCommit.Directory == Directory && otherCommit.Generation == Generation;}else{return false;}}

[User] public boolean equals(Object other) {if (other instanceof IndexCommit) {IndexCommit otherCommit = (IndexCommit) other;return otherCommit.getDirectory() == getDirectory() && otherCommit.getGeneration() == getGeneration();} else {return false;}}

[Assistant] public override bool Equals(object other){if (other is IndexCommit){IndexCommit otherCommit = (IndexCommit)other;return otherCommit.Directory == Directory && otherCommit.Generation == Generation;}else{return false;}}


public void yypushback(int number)  {if ( number > yylength() )zzScanError(ZZ_PUSHBACK_2BIG);zzMarkedPos -= number;}

public void YyPushBack(int number){if (number > YyLength)ZzScanError(ZZ_PUSHBACK_2BIG);zzMarkedPos -= number;}

[User] public void yypushback(int number)  {if ( number > yylength() )zzScanError(ZZ_PUSHBACK_2BIG);zzMarkedPos -= number;}

[Assistant] public void YyPushBack(int number){if (number > YyLength)ZzScanError(ZZ_PUSHBACK_2BIG);zzMarkedPos -= number;}


public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1) {return fixed(arg0, arg1, BoolEval.FALSE, srcRowIndex, srcColumnIndex);}

public ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1){return doFixed(arg0, arg1, BoolEval.FALSE, srcRowIndex, srcColumnIndex);}

[User] public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1) {return fixed(arg0, arg1, BoolEval.FALSE, srcRowIndex, srcColumnIndex);}

[Assistant] public ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1){return doFixed(arg0, arg1, BoolEval.FALSE, srcRowIndex, srcColumnIndex);}


public RevisionSyntaxException(String message, String revstr) {super(message);this.revstr = revstr;}

public RevisionSyntaxException(string message, string revstr) : base(message){this.revstr = revstr;}

[User] public RevisionSyntaxException(String message, String revstr) {super(message);this.revstr = revstr;}

[Assistant] public RevisionSyntaxException(string message, string revstr) : base(message){this.revstr = revstr;}


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

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

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

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


public QueryParser(CharStream stream) {token_source = new QueryParserTokenManager(stream);token = new Token();jj_ntk = -1;jj_gen = 0;for (int i = 0; i < 10; i++) jj_la1[i] = -1;for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();}

public QueryParser(ICharStream stream){TokenSource = new QueryParserTokenManager(stream);Token = new Token();jj_ntk = -1;jj_gen = 0;for (int i = 0; i < 10; i++) jj_la1[i] = -1;for (int i = 0; i < jj_2_rtns.Length; i++) jj_2_rtns[i] = new JJCalls();}

[User] public QueryParser(CharStream stream) {token_source = new QueryParserTokenManager(stream);token = new Token();jj_ntk = -1;jj_gen = 0;for (int i = 0; i < 10; i++) jj_la1[i] = -1;for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();}

[Assistant] public QueryParser(ICharStream stream){TokenSource = new QueryParserTokenManager(stream);Token = new Token();jj_ntk = -1;jj_gen = 0;for (int i = 0; i < 10; i++) jj_la1[i] = -1;for (int i = 0; i < jj_2_rtns.Length; i++) jj_2_rtns[i] = new JJCalls();}


public Float floatValue(String key) {String value = responseMap.get(key);if (null == value || 0 == value.length()) {return null;}return Float.valueOf(responseMap.get(key));}

public float? FloatValue(string key){if (null != DictionaryUtil.Get(ResponseDictionary, key)){return float.Parse(DictionaryUtil.Get(ResponseDictionary, key));}return null;}

[User] public Float floatValue(String key) {String value = responseMap.get(key);if (null == value || 0 == value.length()) {return null;}return Float.valueOf(responseMap.get(key));}

[Assistant] public float? FloatValue(string key){if (null != DictionaryUtil.Get(ResponseDictionary, key)){return float.Parse(DictionaryUtil.Get(ResponseDictionary, key));}return null;}